MaterialX 1.39.1
Loading...
Searching...
No Matches
File.h File Reference

Cross-platform support for file and search paths. More...

Go to the source code of this file.

Classes

class  FilePath
 A generic file path, supporting both syntactic and file system operations. More...
 
class  FileSearchPath
 A sequence of file paths, which may be queried to find the first instance of a given filename on the file system. More...
 

Typedefs

using FilePathVec = vector< FilePath >
 

Functions

MX_FORMAT_API FileSearchPath getEnvironmentPath (const string &sep=PATH_LIST_SEPARATOR)
 Return a FileSearchPath object from search path environment variable.
 

Variables

MX_FORMAT_API const string PATH_LIST_SEPARATOR
 
MX_FORMAT_API const string MATERIALX_SEARCH_PATH_ENV_VAR
 

Detailed Description

Cross-platform support for file and search paths.