ICF 3.0.5.47
Technical documentation of ICF Libraries
istd::CChangeGroup Class Reference

Help class which provides the group of changes for update mechanism of the model. More...

#include <CChangeGroup.h>

Collaboration diagram for istd::CChangeGroup:

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.
 

Detailed Description

Help class which provides the group of changes for update mechanism of the model.

Note
It should not be overriden.

Definition at line 24 of file CChangeGroup.h.

Constructor & Destructor Documentation

◆ CChangeGroup()

istd::CChangeGroup::CChangeGroup ( IChangeable * changeablePtr,
const IChangeable::ChangeSet * changeSetPtr = &IChangeable::GetNoChanges() )
inlineexplicit

Constructs the group.

Parameters
changeablePtrYour object prepared to change. If it is nullptr, nothing will be done.
changeSetPtrPointer to set of change flags (its IDs). It cannot be nullptr.

Definition at line 56 of file CChangeGroup.h.

References istd::IChangeable::BeginChangeGroup().

◆ ~CChangeGroup()

istd::CChangeGroup::~CChangeGroup ( )
inline

Definition at line 68 of file CChangeGroup.h.

References istd::IChangeable::EndChangeGroup().

Member Function Documentation

◆ IsValid()

bool istd::CChangeGroup::IsValid ( ) const

Check if this pointer is valid.

It will be invalid after Reset() and Abort() only.

◆ Reset()

void istd::CChangeGroup::Reset ( )

Call update on attached object and detach it.


The documentation for this class was generated from the following file:

© Witold Gantzke and Kirill Lepskiy