8 #ifndef __SIM_CacheOptions_h__
9 #define __SIM_CacheOptions_h__
25 void setInitialState(
const char *
filename);
27 bool getIsCacheEnabled()
const;
29 void setIsCacheEnabled(
bool enabled);
31 bool getAllowSaveToDisk()
const;
33 void setAllowSaveToDisk(
bool allow);
35 bool getAllowSaveSubsteps()
const;
37 void setAllowSaveSubsteps(
bool allow);
39 int64 getMaxCacheMemSize()
const;
41 void setMaxCacheMemSize(
int64 maxsize);
54 void setExplicitCache(
bool useexplicit,
55 const char *explicitfname,
57 int checkpointspacing);
60 return myUseExplicit && myExplicitName.isstring();
68 int64 myMaxCacheMemSize;
69 bool myIsCacheEnabled;
70 bool myAllowSaveToDisk;
71 bool myAllowSaveSubsteps;
74 int myExplicitHistory;
75 int myExplicitCheckpointSpacing;
GT_API const UT_StringHolder filename
int getCheckpointSpacing() const
int getExplicitHistory() const
GLenum GLenum GLsizei const GLuint GLboolean enabled
void setCompressSims(UT_CompressionType type)
const UT_StringHolder & getExplicitFname() const
UT_CompressionType getCompressSims() const
This class stores all the caching options used by the SIM_Cache.
bool getUseExplicit() const