Version: 8.3.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 ( TCollection_AsciiString  theType)

Constructor.

SMESH_ObjectStates::~SMESH_ObjectStates ( )
virtual

Destructor.

Member Function Documentation

void SMESH_ObjectStates::AddState ( const TState theState)

Add new object state.

Parameters
theState- Object state (vector of notebook variable)

Referenced by SMESH_NoteBook::InitObjectMap().

TAllStates SMESH_ObjectStates::GetAllStates ( ) const
TState SMESH_ObjectStates::GetCurrectState ( ) const

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

Referenced by SMESH_NoteBook::ReplaceVariables().

TCollection_AsciiString SMESH_ObjectStates::GetObjectType ( ) const
void SMESH_ObjectStates::IncrementState ( )

Field Documentation

int SMESH_ObjectStates::_dumpstate
private
TAllStates SMESH_ObjectStates::_states
private
TCollection_AsciiString SMESH_ObjectStates::_type
private