VTK-m  2.2
Namespaces | Functions
FileUtils.h File Reference
#include <vtkm/io/vtkm_io_export.h>
#include <string>

Go to the source code of this file.

Namespaces

 vtkm
 Groups connected points that have the same field value.
 
 vtkm::io
 VTK-m File input and output classes.
 

Functions

bool vtkm::io::EndsWith (const std::string &value, const std::string &ending)
 Checks if a provided string ends with a specific substring. More...
 
std::string vtkm::io::Filename (const std::string &filePath)
 Returns the filename component of a filePath string. More...
 
std::string vtkm::io::ParentPath (const std::string &filePath)
 Returns the directory component of a filePath string. More...
 
bool vtkm::io::CreateDirectoriesFromFilePath (const std::string &filePath)
 Creates all the directories found in a given filePath component if they don't exist. More...
 
std::string vtkm::io::MergePaths (const std::string &filePathPrefix, const std::string &filePathSuffix)
 Merges two filepath strings together using the correct system filepath seperator EX: MergePaths("path/to/merge", "some/filename.txt") = "path/to/merge/some/filename.txt" EX: MergePaths("path/to/merge/", "/some/filename.txt") = "path/to/merge/some/filename.txt". More...
 
std::string vtkm::io::PrefixStringToFilename (const std::string &filePath, const std::string &prefix)
 Takes the supplied prefix and prepends it to the filename for the provided filePath EX: PrefixStringToFilename("/some/path/to/filename.txt", "prefix-") = "/some/path/to/prefix-filename.txt". More...
 
char vtkm::io::GetWindowsPathSeperator (const std::string &filePath)
 determine which path separator to use for windows given a provided path Should return one of either '\' or '/' depending on what the provided path uses. More...