Version: 9.12.0
SMESH_ObjectStates Class Reference

#include <SMESH_NoteBook.hxx>

Inheritance diagram for SMESH_ObjectStates:

Public Member Functions

 SMESH_ObjectStates (TCollection_AsciiString theType)
 Constructor. More...
 
virtual ~SMESH_ObjectStates ()
 Destructor. More...
 
void AddState (const TState &theState)
 Add new object state. More...
 
TState GetCurrectState () const
 Return current object state \retval state - Object state (vector of notebook variable) More...
 
TAllStates GetAllStates () const
 
void IncrementState ()
 
TCollection_AsciiString GetObjectType () const
 

Private Attributes

TCollection_AsciiString _type
 
TAllStates _states
 
int _dumpstate
 

Constructor & Destructor Documentation

◆ SMESH_ObjectStates()

SMESH_ObjectStates::SMESH_ObjectStates ( TCollection_AsciiString  theType)

Constructor.

◆ ~SMESH_ObjectStates()

SMESH_ObjectStates::~SMESH_ObjectStates ( )
virtual

Destructor.

Member Function Documentation

◆ AddState()

void SMESH_ObjectStates::AddState ( const TState theState)

Add new object state.

Parameters
theState- Object state (vector of notebook variable)

Referenced by SMESH_NoteBook::InitObjectMap().

◆ GetAllStates()

TAllStates SMESH_ObjectStates::GetAllStates ( ) const

◆ GetCurrectState()

TState SMESH_ObjectStates::GetCurrectState ( ) const

Return current object state \retval state - Object state (vector of notebook variable)

Referenced by SMESH_NoteBook::ReplaceVariables().

◆ GetObjectType()

TCollection_AsciiString SMESH_ObjectStates::GetObjectType ( ) const

◆ IncrementState()

void SMESH_ObjectStates::IncrementState ( )

Field Documentation

◆ _dumpstate

int SMESH_ObjectStates::_dumpstate
private

◆ _states

TAllStates SMESH_ObjectStates::_states
private

◆ _type

TCollection_AsciiString SMESH_ObjectStates::_type
private