23 #ifndef SMESH_NoteBook_HeaderFile
24 #define SMESH_NoteBook_HeaderFile
30 #include <TCollection_AsciiString.hxx>
31 #include <Resource_DataMapOfAsciiStringAsciiString.hxx>
38 typedef std::vector<TCollection_AsciiString>
TState;
40 typedef TCollection_AsciiString
_pyID;
72 bool HasDistribution(
const TCollection_AsciiString& theDistribution)
const;
75 const TCollection_AsciiString& theType);
76 TCollection_AsciiString
GetDistributionType(
const TCollection_AsciiString& theDistribution)
const;
92 void AddCommand(
const TCollection_AsciiString& theString);
94 void GetResultLines(std::list< TCollection_AsciiString >& lines)
const;
101 bool GetReal(
const TCollection_AsciiString& theVarName,
double& theValue);
105 typedef std::map<TCollection_AsciiString,SMESH_ObjectStates*>
TVariablesMap;
106 typedef std::map<TCollection_AsciiString,TCollection_AsciiString>
TMeshEditorMap;
std::vector< TCollection_AsciiString > TState
Definition: SMESH_NoteBook.hxx:33
TCollection_AsciiString _pyID
Definition: SMESH_NoteBook.hxx:40
std::vector< TState > TAllStates
Definition: SMESH_NoteBook.hxx:39
Definition: SMESH_NoteBook.hxx:65
void AddDistribution(const TCollection_AsciiString &theDistribution)
AddDistribution.
Definition: SMESH_NoteBook.cxx:158
TDistributionMap _distributions
Definition: SMESH_NoteBook.hxx:80
virtual ~LayerDistributionStates()
Destructor.
Definition: SMESH_NoteBook.cxx:148
TCollection_AsciiString GetDistributionType(const TCollection_AsciiString &theDistribution) const
GetDistributionType.
Definition: SMESH_NoteBook.cxx:194
bool SetDistributionType(const TCollection_AsciiString &theDistribution, const TCollection_AsciiString &theType)
SetDistributionType.
Definition: SMESH_NoteBook.cxx:178
std::map< TCollection_AsciiString, TCollection_AsciiString > TDistributionMap
Definition: SMESH_NoteBook.hxx:67
LayerDistributionStates()
Constructor.
Definition: SMESH_NoteBook.cxx:139
bool HasDistribution(const TCollection_AsciiString &theDistribution) const
HasDistribution.
Definition: SMESH_NoteBook.cxx:168
Definition: SMESH_NoteBook.hxx:85
std::map< TCollection_AsciiString, TCollection_AsciiString > TMeshEditorMap
Definition: SMESH_NoteBook.hxx:106
void InitObjectMap()
Private method.
Definition: SMESH_NoteBook.cxx:735
TMeshEditorMap _meshEditors
Definition: SMESH_NoteBook.hxx:112
std::map< TCollection_AsciiString, SMESH_ObjectStates * > TVariablesMap
Definition: SMESH_NoteBook.hxx:105
TVariablesMap _objectMap
Definition: SMESH_NoteBook.hxx:109
void ProcessLayerDistribution()
Definition: SMESH_NoteBook.cxx:839
bool GetReal(const TCollection_AsciiString &theVarName, double &theValue)
Return value of the variable.
Definition: SMESH_NoteBook.cxx:946
TCollection_AsciiString GetResultScript() const
Return result script.
Definition: SMESH_NoteBook.cxx:922
~SMESH_NoteBook()
Destructor.
Definition: SMESH_NoteBook.cxx:215
void GetResultLines(std::list< TCollection_AsciiString > &lines) const
Return lines of the result script.
Definition: SMESH_NoteBook.cxx:935
TEntry2VarVecMap _entry2VarsMap
Definition: SMESH_NoteBook.hxx:110
void AddCommand(const TCollection_AsciiString &theString)
Definition: SMESH_NoteBook.cxx:821
SMESH_NoteBook()
Constructor.
Definition: SMESH_NoteBook.cxx:205
std::map< TCollection_AsciiString, std::vector< std::string > > TEntry2VarVecMap
Definition: SMESH_NoteBook.hxx:107
std::vector< Handle(_pyCommand)> _commands
Definition: SMESH_NoteBook.hxx:111
void ReplaceVariables()
Replace parameters of the functions on the Salome NoteBook Variables.
Definition: SMESH_NoteBook.cxx:231
Definition: SMESH_NoteBook.hxx:42
TCollection_AsciiString _type
Definition: SMESH_NoteBook.hxx:59
TCollection_AsciiString GetObjectType() const
Definition: SMESH_NoteBook.cxx:129
void IncrementState()
Definition: SMESH_NoteBook.cxx:119
int _dumpstate
Definition: SMESH_NoteBook.hxx:61
TAllStates GetAllStates() const
Definition: SMESH_NoteBook.cxx:109
virtual ~SMESH_ObjectStates()
Destructor.
Definition: SMESH_NoteBook.cxx:74
TState GetCurrectState() const
Return current object state \retval state - Object state (vector of notebook variable)
Definition: SMESH_NoteBook.cxx:95
TAllStates _states
Definition: SMESH_NoteBook.hxx:60
void AddState(const TState &theState)
Add new object state.
Definition: SMESH_NoteBook.cxx:84
SMESH_ObjectStates(TCollection_AsciiString theType)
Constructor.
Definition: SMESH_NoteBook.cxx:63
Class operating on a command string looking like ResultValue = Object.Method( Arg1,...
Definition: SMESH_2smeshpy.hxx:99