#include <SMESH_NoteBook.hxx>
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 |
typedef std::map<TCollection_AsciiString,TCollection_AsciiString> LayerDistributionStates::TDistributionMap |
LayerDistributionStates::LayerDistributionStates | ( | ) |
Constructor.
|
virtual |
Destructor.
void LayerDistributionStates::AddDistribution | ( | const TCollection_AsciiString & | theDistribution | ) |
|
inherited |
Add new object state.
theState | - Object state (vector of notebook variable) |
Referenced by SMESH_NoteBook::InitObjectMap().
|
inherited |
Referenced by SMESH_NoteBook::InitObjectMap().
|
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.
|
inherited |
Referenced by SMESH_NoteBook::ReplaceVariables().
bool LayerDistributionStates::HasDistribution | ( | const TCollection_AsciiString & | theDistribution | ) | const |
HasDistribution.
References _distributions.
|
inherited |
Referenced by SMESH_NoteBook::ReplaceVariables().
bool LayerDistributionStates::SetDistributionType | ( | const TCollection_AsciiString & | theDistribution, |
const TCollection_AsciiString & | theType | ||
) |
SetDistributionType.
References _distributions.
|
private |
Referenced by AddDistribution(), GetDistributionType(), HasDistribution(), and SetDistributionType().