33 #ifndef __FS_FileResolver__
34 #define __FS_FileResolver__
68 {
return myFileExtension; }
70 { myFileExtension = ext; }
74 {
return myIsEnvMap; }
76 { myIsEnvMap = env_map; }
106 virtual bool getCanResolve(
const char *
name ) = 0;
127 const char * name ) = 0;
135 virtual void deleteReader(
FS_Reader * reader ) = 0;
147 virtual void acquireFilePath(
157 virtual void relinquishFilePath(
const char * file_path ) = 0;
182 virtual int getRevisionID(
const char *name) = 0;
199 {
return myOptions; }
229 FS_ResolverFileEntry * findFileInTable(
const char * name );
234 FS_ResolverFileEntry *entry);
244 void deleteEntry(FS_ResolverFileEntry *entry,
271 {
return myResolver; }
275 { myResolver = resolver; }
279 void destroyResolver();
const UT_StringHolder & getFileExtension() const
void setFileExtension(const UT_StringHolder &ext)
GT_API const UT_StringHolder time
GLuint const GLchar * name
void setTime(fpreal time)
Utility class for auto destruction and cleanup of the file resolver.
FS_FileResolver * getResolver() const
Accessor for the resolver it holds.
const UT_StringHolder & getFileName() const
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