23#ifndef SETTINGSPARAMS_H
24#define SETTINGSPARAMS_H
144 static const string _classType;
145 static const string _shortName;
146 static const string _numThreadsTag;
147 static const string _cacheMBTag;
148 static const string _texSizeTag;
149 static const string _texSizeEnableTag;
150 static const string _currentPrefsPathTag;
151 static const string _sessionDirTag;
152 static const string _defaultSessionDirTag;
153 static const string _metadataDirTag;
154 static const string _defaultMetadataDirTag;
155 static const string _tfDirTag;
156 static const string _defaultTfDirTag;
157 static const string _flowDirTag;
158 static const string _defaultFlowDirTag;
159 static const string _pythonDirTag;
160 static const string _defaultPythonDirTag;
161 static const string _fidelityDefault2DTag;
162 static const string _fidelityDefault3DTag;
163 static const string _autoStretchTag;
164 static const string _jpegQualityTag;
165 static const string _changesPerAutoSaveTag;
166 static const string _autoSaveFileLocationTag;
167 static const string _defaultAutoSaveFileTag;
168 static const string _fontFileTag;
169 static const string _fontSizeTag;
170 static const string _dontShowIntelDriverWarningTag;
171 static const string _settingsNeedsWriteTag;
173 void _swapTildeWithHome(std::string &file)
const;
175 string _settingsPath;
A class for describing settings at settings.
int GetNumThreads() const
string GetMetadataDir() const
void SetAutoCheckForNotices(bool b)
string GetFlowDir() const
string GetDefaultFlowDir() const
static const string AutoCheckForUpdatesTag
string GetDefaultSessionDir() const
bool GetAutoStretchEnabled() const
static const string CasperVGLCheck
bool GetDontShowIntelDriverWarning() const
void SetFidelityDefault2D(long lodDef, long refDef)
void SetFontFile(string file)
string GetSessionDir() const
void SetTFDir(string dir)
void SetTextureSize(long val)
bool GetAutoCheckForUpdates() const
void SetJpegQuality(int quality)
void SetCasperCheckForVGL(bool b)
void SetAutoStretchEnabled(bool val)
void SetDontShowIntelDriverWarning(bool b)
static const string AutoCheckForNoticesTag
static const string _sessionAutoSaveEnabledTag
string GetAutoSaveSessionFile() const
const std::string getShortName()
void SetFontSize(int size)
void SetNumThreads(int num)
int GetChangesPerAutoSave() const
SettingsParams(VAPoR::ParamsBase::StateSave *ssave, VAPoR::XmlNode *node)
void SetTexSizeEnable(bool val)
void SetFidelityDefault3D(long lodDef, long refDef)
SettingsParams(const SettingsParams &rhs)
bool GetTexSizeEnable() const
static const string UseAllCoresTag
SettingsParams & operator=(const SettingsParams &rhs)
void SetChangesPerAutoSave(int changes)
void SetDefaultTFDir(string dir)
bool GetCasperCheckForVGL() const
void SetAutoCheckForUpdates(bool b)
string GetDefaultTFDir() const
void SetDefaultAutoSaveFile(string file)
void SetDefaultMetadataDir(string dir)
SettingsParams(VAPoR::ParamsBase::StateSave *ssave, bool loadFromFile=true)
void SetDefaultFlowDir(string dir)
int GetJpegQuality() const
string GetDefaultPythonDir() const
string GetDefaultMetadataDir() const
bool GetSessionAutoSaveEnabled() const
string GetCurrentPrefsPath() const
std::string GetSettingsPath() const
void SetSessionAutoSaveEnabled(bool enabled)
void SetFlowDir(string dir)
bool LoadFromSettingsFile()
void SetAutoSaveSessionFile(string file)
string GetFontFile() const
long GetTextureSize() const
void SetDefaultPythonDir(string dir)
void SetPythonDir(string dir)
bool GetAutoCheckForNotices() const
void SetMetadataDir(string dir)
void SetDefaultSessionDir(string dir)
void SetCurrentPrefsPath(string pth)
static string GetClassType()
void SetSessionDir(string name)
void SetCacheMB(long val)
string GetPythonDir() const
Nodes with state in Xml tree representation.