|
VAPOR3 3.9.4
|
A class for describing settings at settings. More...
#include <SettingsParams.h>
Public Member Functions | |
| SettingsParams (VAPoR::ParamsBase::StateSave *ssave, bool loadFromFile=true) | |
| SettingsParams (VAPoR::ParamsBase::StateSave *ssave, VAPoR::XmlNode *node) | |
| SettingsParams (const SettingsParams &rhs) | |
| SettingsParams & | operator= (const SettingsParams &rhs) |
| void | Init () |
| ~SettingsParams () | |
| int | GetNumThreads () const |
| void | SetNumThreads (int num) |
| long | GetCacheMB () const |
| void | SetCacheMB (long val) |
| long | GetTextureSize () const |
| void | SetTextureSize (long val) |
| void | SetTexSizeEnable (bool val) |
| bool | GetTexSizeEnable () const |
| bool | GetAutoStretchEnabled () const |
| void | SetAutoStretchEnabled (bool val) |
| int | GetJpegQuality () const |
| void | SetJpegQuality (int quality) |
| bool | GetSessionAutoSaveEnabled () const |
| void | SetSessionAutoSaveEnabled (bool enabled) |
| int | GetChangesPerAutoSave () const |
| void | SetChangesPerAutoSave (int changes) |
| string | GetAutoSaveSessionFile () const |
| void | SetAutoSaveSessionFile (string file) |
| void | SetDefaultAutoSaveFile (string file) |
| string | GetSessionDir () const |
| void | SetSessionDir (string name) |
| string | GetDefaultSessionDir () const |
| void | SetDefaultSessionDir (string dir) |
| string | GetMetadataDir () const |
| void | SetMetadataDir (string dir) |
| string | GetDefaultMetadataDir () const |
| void | SetDefaultMetadataDir (string dir) |
| string | GetTFDir () const |
| void | SetTFDir (string dir) |
| string | GetDefaultTFDir () const |
| void | SetDefaultTFDir (string dir) |
| string | GetFlowDir () const |
| void | SetFlowDir (string dir) |
| string | GetDefaultFlowDir () const |
| void | SetDefaultFlowDir (string dir) |
| string | GetPythonDir () const |
| void | SetPythonDir (string dir) |
| string | GetDefaultPythonDir () const |
| void | SetDefaultPythonDir (string dir) |
| int | GetFontSize () const |
| void | SetFontSize (int size) |
| string | GetFontFile () const |
| void | SetFontFile (string file) |
| bool | GetDontShowIntelDriverWarning () const |
| void | SetDontShowIntelDriverWarning (bool b) |
| string | GetCurrentPrefsPath () const |
| void | SetCurrentPrefsPath (string pth) |
| void | Reinit () |
| const std::string | getShortName () |
| void | SetFidelityDefault3D (long lodDef, long refDef) |
| void | SetFidelityDefault2D (long lodDef, long refDef) |
| int | SaveSettings () const |
| std::string | GetSettingsPath () const |
| void | SetAutoCheckForUpdates (bool b) |
| bool | GetAutoCheckForUpdates () const |
| void | SetAutoCheckForNotices (bool b) |
| bool | GetAutoCheckForNotices () const |
| void | SetCasperCheckForVGL (bool b) |
| bool | GetCasperCheckForVGL () const |
| bool | LoadFromSettingsFile () |
Public Member Functions inherited from VAPoR::ParamsBase | |
| ParamsBase (StateSave *ssave, const string &classname) | |
| ParamsBase (StateSave *ssave, XmlNode *node) | |
| ParamsBase (const ParamsBase &rhs) | |
| Copy constructor. | |
| ParamsBase & | operator= (const ParamsBase &rhs) |
| ParamsBase (ParamsBase &&)=delete | |
| ParamsBase & | operator= (ParamsBase &)=delete |
| bool | operator== (const ParamsBase &rhs) const |
| Equivalence operator. | |
| bool | operator!= (const ParamsBase &rhs) const |
| virtual | ~ParamsBase () |
| void | SetParent (ParamsBase *parent) |
| XmlNode * | GetNode () const |
| void | BeginGroup (const string &description) |
| void | EndGroup () |
| void | IntermediateChange () |
| virtual vector< long > | GetValueLongVec (const string tag) const |
| virtual vector< long > | GetValueLongVec (const string tag, const vector< long > &defaultVal) const |
| virtual long | GetValueLong (const string tag, long defaultVal) const |
| virtual vector< double > | GetValueDoubleVec (const string tag) const |
| virtual vector< double > | GetValueDoubleVec (const string tag, const vector< double > &defaultVal) const |
| virtual double | GetValueDouble (const string tag, double defaultVal) const |
| virtual vector< string > | GetValueStringVec (const string tag) const |
| virtual vector< string > | GetValueStringVec (const string tag, const vector< string > &defaultVal) const |
| virtual string | GetValueString (const string tag, string defaultVal) const |
| virtual void | SetValueLongVec (const string &tag, string description, const vector< long > &values) |
| virtual void | SetValueLong (const string &tag, string description, long value) |
| virtual void | SetValueDoubleVec (const string &tag, string description, const vector< double > &values) |
| virtual void | SetValueDouble (const string &tag, string description, double value) |
| virtual void | SetValueStringVec (const string &tag, string description, const vector< string > &values) |
| virtual void | SetValueString (const string &tag, string description, const string &value) |
| string | GetName () const |
Public Member Functions inherited from Wasp::MyBase | |
| MyBase () | |
| const string & | getClassName () const |
Static Public Member Functions | |
| static string | GetClassType () |
Static Public Member Functions inherited from Wasp::MyBase | |
| static void | SetErrMsg (const char *format,...) |
| Record a formatted error message. | |
| static void | SetErrMsg (int errcode, const char *format,...) |
| Record a formatted error message and an error code. | |
| static const char * | GetErrMsg () |
| static void | SetErrCode (int err_code) |
| Record an error code. | |
| static int | GetErrCode () |
| Retrieve the current error code. | |
| static void | SetErrMsgCB (ErrMsgCB_T cb) |
| static ErrMsgCB_T | GetErrMsgCB () |
| static void | SetErrMsgFilePtr (FILE *fp) |
| static const FILE * | SetErrMsgFilePtr () |
| static void | SetDiagMsg (const char *format,...) |
| Record a formatted diagnostic message. | |
| static const char * | GetDiagMsg () |
| static void | SetDiagMsgCB (DiagMsgCB_T cb) |
| static DiagMsgCB_T | GetDiagMsgCB () |
| static void | SetDiagMsgFilePtr (FILE *fp) |
| static bool | EnableErrMsg (bool enable) |
| static bool | GetEnableErrMsg () |
Static Public Attributes | |
| static const string | _sessionAutoSaveEnabledTag |
| static const string | UseAllCoresTag |
| static const string | AutoCheckForUpdatesTag |
| static const string | AutoCheckForNoticesTag |
| static const string | CasperVGLCheck |
Static Public Attributes inherited from Wasp::MyBase | |
| static char * | ErrMsg |
| static int | ErrCode |
| static int | ErrMsgSize |
| static FILE * | ErrMsgFilePtr |
| static ErrMsgCB_T | ErrMsgCB |
| static char * | DiagMsg |
| static int | DiagMsgSize |
| static FILE * | DiagMsgFilePtr |
| static DiagMsgCB_T | DiagMsgCB |
| static bool | Enabled |
Additional Inherited Members | |
Public Types inherited from Wasp::MyBase | |
| typedef void(* | ErrMsgCB_T) (const char *msg, int err_code) |
| typedef void(* | DiagMsgCB_T) (const char *msg) |
Protected Member Functions inherited from VAPoR::ParamsBase | |
| ParamsBase (StateSave *ssave) | |
| void | Remove (const string &name) |
| const map< string, string > & | GetAttributes () |
| void | Clear () |
Protected Member Functions inherited from Wasp::MyBase | |
| void | SetClassName (const string &name) |
Protected Attributes inherited from VAPoR::ParamsBase | |
| StateSave * | _ssave |
| XmlNode * | _node |
A class for describing settings at settings.
The SettingsParams class controls various features set when the application starts. There is only a global SettingsParams, that is used throughout the application
Definition at line 40 of file SettingsParams.h.
| SettingsParams::SettingsParams | ( | VAPoR::ParamsBase::StateSave * | ssave, |
| bool | loadFromFile = true |
||
| ) |
| SettingsParams::SettingsParams | ( | VAPoR::ParamsBase::StateSave * | ssave, |
| VAPoR::XmlNode * | node | ||
| ) |
| SettingsParams::SettingsParams | ( | const SettingsParams & | rhs | ) |
| SettingsParams::~SettingsParams | ( | ) |
| bool SettingsParams::GetAutoCheckForNotices | ( | ) | const |
| bool SettingsParams::GetAutoCheckForUpdates | ( | ) | const |
| string SettingsParams::GetAutoSaveSessionFile | ( | ) | const |
| bool SettingsParams::GetAutoStretchEnabled | ( | ) | const |
| long SettingsParams::GetCacheMB | ( | ) | const |
| bool SettingsParams::GetCasperCheckForVGL | ( | ) | const |
| int SettingsParams::GetChangesPerAutoSave | ( | ) | const |
|
inlinestatic |
Definition at line 121 of file SettingsParams.h.
| string SettingsParams::GetCurrentPrefsPath | ( | ) | const |
| string SettingsParams::GetDefaultFlowDir | ( | ) | const |
| string SettingsParams::GetDefaultMetadataDir | ( | ) | const |
| string SettingsParams::GetDefaultPythonDir | ( | ) | const |
| string SettingsParams::GetDefaultSessionDir | ( | ) | const |
| string SettingsParams::GetDefaultTFDir | ( | ) | const |
| bool SettingsParams::GetDontShowIntelDriverWarning | ( | ) | const |
| string SettingsParams::GetFlowDir | ( | ) | const |
| string SettingsParams::GetFontFile | ( | ) | const |
| int SettingsParams::GetFontSize | ( | ) | const |
| int SettingsParams::GetJpegQuality | ( | ) | const |
| string SettingsParams::GetMetadataDir | ( | ) | const |
| int SettingsParams::GetNumThreads | ( | ) | const |
| string SettingsParams::GetPythonDir | ( | ) | const |
| bool SettingsParams::GetSessionAutoSaveEnabled | ( | ) | const |
| string SettingsParams::GetSessionDir | ( | ) | const |
| std::string SettingsParams::GetSettingsPath | ( | ) | const |
|
inline |
Definition at line 116 of file SettingsParams.h.
| bool SettingsParams::GetTexSizeEnable | ( | ) | const |
| long SettingsParams::GetTextureSize | ( | ) | const |
| string SettingsParams::GetTFDir | ( | ) | const |
| void SettingsParams::Init | ( | ) |
| bool SettingsParams::LoadFromSettingsFile | ( | ) |
| SettingsParams & SettingsParams::operator= | ( | const SettingsParams & | rhs | ) |
| void SettingsParams::Reinit | ( | ) |
| int SettingsParams::SaveSettings | ( | ) | const |
| void SettingsParams::SetAutoCheckForNotices | ( | bool | b | ) |
| void SettingsParams::SetAutoCheckForUpdates | ( | bool | b | ) |
| void SettingsParams::SetAutoSaveSessionFile | ( | string | file | ) |
| void SettingsParams::SetAutoStretchEnabled | ( | bool | val | ) |
| void SettingsParams::SetCacheMB | ( | long | val | ) |
| void SettingsParams::SetCasperCheckForVGL | ( | bool | b | ) |
| void SettingsParams::SetChangesPerAutoSave | ( | int | changes | ) |
| void SettingsParams::SetCurrentPrefsPath | ( | string | pth | ) |
| void SettingsParams::SetDefaultAutoSaveFile | ( | string | file | ) |
| void SettingsParams::SetDefaultFlowDir | ( | string | dir | ) |
| void SettingsParams::SetDefaultMetadataDir | ( | string | dir | ) |
| void SettingsParams::SetDefaultPythonDir | ( | string | dir | ) |
| void SettingsParams::SetDefaultSessionDir | ( | string | dir | ) |
| void SettingsParams::SetDefaultTFDir | ( | string | dir | ) |
| void SettingsParams::SetDontShowIntelDriverWarning | ( | bool | b | ) |
| void SettingsParams::SetFidelityDefault2D | ( | long | lodDef, |
| long | refDef | ||
| ) |
| void SettingsParams::SetFidelityDefault3D | ( | long | lodDef, |
| long | refDef | ||
| ) |
| void SettingsParams::SetFlowDir | ( | string | dir | ) |
| void SettingsParams::SetFontFile | ( | string | file | ) |
| void SettingsParams::SetFontSize | ( | int | size | ) |
| void SettingsParams::SetJpegQuality | ( | int | quality | ) |
| void SettingsParams::SetMetadataDir | ( | string | dir | ) |
| void SettingsParams::SetNumThreads | ( | int | num | ) |
| void SettingsParams::SetPythonDir | ( | string | dir | ) |
| void SettingsParams::SetSessionAutoSaveEnabled | ( | bool | enabled | ) |
| void SettingsParams::SetSessionDir | ( | string | name | ) |
| void SettingsParams::SetTexSizeEnable | ( | bool | val | ) |
| void SettingsParams::SetTextureSize | ( | long | val | ) |
| void SettingsParams::SetTFDir | ( | string | dir | ) |
|
static |
Definition at line 125 of file SettingsParams.h.
|
static |
Definition at line 138 of file SettingsParams.h.
|
static |
Definition at line 137 of file SettingsParams.h.
|
static |
Definition at line 139 of file SettingsParams.h.
|
static |
Definition at line 136 of file SettingsParams.h.