33 #ifndef __FS_FileResolver__
34 #define __FS_FileResolver__
69 {
return myFileExtension; }
71 { myFileExtension = ext; }
75 {
return myIsEnvMap; }
77 { myIsEnvMap = env_map; }
107 virtual bool getCanResolve(
const char *
name ) = 0;
128 const char * name ) = 0;
136 virtual void deleteReader(
FS_Reader * reader ) = 0;
148 virtual void acquireFilePath(
158 virtual void relinquishFilePath(
const char * file_path ) = 0;
183 virtual int getRevisionID(
const char *name) = 0;
200 {
return myOptions; }
230 FS_ResolverFileEntry * findFileInTable(
const char * name );
235 FS_ResolverFileEntry *entry);
245 void deleteEntry(FS_ResolverFileEntry *entry,
274 {
return myResolver; }
278 { myResolver = resolver; }
282 void destroyResolver();
const UT_StringHolder & getFileExtension() const
void setFileExtension(const UT_StringHolder &ext)
GT_API const UT_StringHolder time
void setTime(fpreal time)
Utility class for auto destruction and cleanup of the file resolver.
#define UT_NON_COPYABLE(CLASS)
Define deleted copy constructor and assignment operator inside a class.
const UT_StringHolder & getFileName() const
GLuint const GLchar * name
LeafData & operator=(const LeafData &)=delete
Provides various options for creating and obtaining the file data.
void setResolver(FS_FileResolver *resolver)
Sets the resolver it cleans up after.
bool getIsEnvMap() const
Checks if the file should be treated as an environment map.
Contains details about the data that the resolver can provide.
void setIsEnvMap(bool env_map)
const UT_StringHolder & getName() const
fpreal getTime() const
Gets the time at which a node should be evaluated to obtain the data.
const FS_FileResolverOptions & getOptions() const