State capture class.
More...
#include <ParamsBase.h>
State capture class.
A class for capturing state changes. A pointer to an instance of this class is passed to the ParamsBase constructor. Any changes to the ParamsBase are recorded to StateSave by calling StateSave::Save() with the effected node and a description of the change. It is expected that users of ParamsBase will re-implement StateSave to suit their own needs
Definition at line 62 of file ParamsBase.h.
◆ BeginGroup()
virtual void VAPoR::ParamsBase::StateSave::BeginGroup |
( |
string |
description | ) |
|
|
inlinevirtual |
◆ EndGroup()
virtual void VAPoR::ParamsBase::StateSave::EndGroup |
( |
| ) |
|
|
inlinevirtual |
◆ GetEnabled()
virtual bool VAPoR::ParamsBase::StateSave::GetEnabled |
( |
| ) |
const |
|
inlinevirtual |
◆ IntermediateChange()
virtual void VAPoR::ParamsBase::StateSave::IntermediateChange |
( |
| ) |
|
|
inlinevirtual |
◆ Reinit()
virtual void VAPoR::ParamsBase::StateSave::Reinit |
( |
const XmlNode * |
rootNode | ) |
|
|
inlinevirtual |
Capture current state
If the value of GetSaveState() is true this method is called prior to making any changes to the internal state
Definition at line 69 of file ParamsBase.h.
◆ Save()
virtual void VAPoR::ParamsBase::StateSave::Save |
( |
const XmlNode * |
node, |
|
|
string |
description |
|
) |
| |
|
inlinevirtual |
◆ SetEnabled()
virtual void VAPoR::ParamsBase::StateSave::SetEnabled |
( |
bool |
onOff | ) |
|
|
inlinevirtual |
The documentation for this class was generated from the following file: