Version: 8.3.0
LayerDistributionStates Class Reference

#include <SMESH_NoteBook.hxx>

Inheritance diagram for LayerDistributionStates:

Public Types

typedef std::map
< TCollection_AsciiString,
TCollection_AsciiString > 
TDistributionMap
 

Public Member Functions

 LayerDistributionStates ()
 Constructor. More...
 
virtual ~LayerDistributionStates ()
 Destructor. More...
 
void AddDistribution (const TCollection_AsciiString &theDistribution)
 AddDistribution. More...
 
bool HasDistribution (const TCollection_AsciiString &theDistribution) const
 HasDistribution. More...
 
bool SetDistributionType (const TCollection_AsciiString &theDistribution, const TCollection_AsciiString &theType)
 SetDistributionType. More...
 
TCollection_AsciiString GetDistributionType (const TCollection_AsciiString &theDistribution) const
 GetDistributionType. 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

TDistributionMap _distributions
 

Member Typedef Documentation

typedef std::map<TCollection_AsciiString,TCollection_AsciiString> LayerDistributionStates::TDistributionMap

Constructor & Destructor Documentation

LayerDistributionStates::LayerDistributionStates ( )

Constructor.

LayerDistributionStates::~LayerDistributionStates ( )
virtual

Destructor.

Member Function Documentation

void LayerDistributionStates::AddDistribution ( const TCollection_AsciiString &  theDistribution)

AddDistribution.

References _distributions.

Referenced by SMESH_NoteBook::ReplaceVariables().

void SMESH_ObjectStates::AddState ( const TState theState)
inherited

Add new object state.

Parameters
theState- Object state (vector of notebook variable)

Referenced by SMESH_NoteBook::InitObjectMap().

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

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

Referenced by SMESH_NoteBook::ReplaceVariables().

TCollection_AsciiString LayerDistributionStates::GetDistributionType ( const TCollection_AsciiString &  theDistribution) const

GetDistributionType.

References _distributions.

TCollection_AsciiString SMESH_ObjectStates::GetObjectType ( ) const
inherited
bool LayerDistributionStates::HasDistribution ( const TCollection_AsciiString &  theDistribution) const

HasDistribution.

References _distributions.

void SMESH_ObjectStates::IncrementState ( )
inherited
bool LayerDistributionStates::SetDistributionType ( const TCollection_AsciiString &  theDistribution,
const TCollection_AsciiString &  theType 
)

SetDistributionType.

References _distributions.

Field Documentation

TDistributionMap LayerDistributionStates::_distributions
private