![]() |
ICF 3.0.5.47
Technical documentation of ICF Libraries
|
Help class which provides the group of changes for update mechanism of the model. More...
#include <CChangeGroup.h>
Public Member Functions | |
CChangeGroup (IChangeable *changeablePtr, const IChangeable::ChangeSet *changeSetPtr=&IChangeable::GetNoChanges()) | |
Constructs the group. | |
~CChangeGroup () | |
bool | IsValid () const |
Check if this pointer is valid. | |
void | Reset () |
Call update on attached object and detach it. | |
Help class which provides the group of changes for update mechanism of the model.
Definition at line 24 of file CChangeGroup.h.
|
inlineexplicit |
Constructs the group.
changeablePtr | Your object prepared to change. If it is nullptr, nothing will be done. |
changeSetPtr | Pointer to set of change flags (its IDs). It cannot be nullptr . |
Definition at line 56 of file CChangeGroup.h.
References istd::IChangeable::BeginChangeGroup().
|
inline |
Definition at line 68 of file CChangeGroup.h.
References istd::IChangeable::EndChangeGroup().
bool istd::CChangeGroup::IsValid | ( | ) | const |
Check if this pointer is valid.
It will be invalid after Reset()
and Abort()
only.
void istd::CChangeGroup::Reset | ( | ) |
Call update on attached object and detach it.
© Witold Gantzke and Kirill Lepskiy