X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSMESH_I%2FSMESH_NoteBook.hxx;h=e11f3bd5cc036f48c4c52f316fc01e76847c78bd;hb=6c1ba1451cc732e7cf85f235141707740a972310;hp=4bc395586027b3aa0dd79d5ae817c5665bc0306a;hpb=e184ed39fad19a338c5de3e59eabd80e40fbc36f;p=modules%2Fsmesh.git diff --git a/src/SMESH_I/SMESH_NoteBook.hxx b/src/SMESH_I/SMESH_NoteBook.hxx index 4bc395586..e11f3bd5c 100644 --- a/src/SMESH_I/SMESH_NoteBook.hxx +++ b/src/SMESH_I/SMESH_NoteBook.hxx @@ -30,6 +30,30 @@ #include #include +typedef std::vector TState; +typedef std::vector TAllStates; + +class ObjectStates{ + +public: + + ObjectStates(TCollection_AsciiString theType); + ~ObjectStates(); + + void AddState(const TState &theState); + + TState GetCurrectState() const; + TAllStates GetAllStates() const; + void IncrementState(); + TCollection_AsciiString GetObjectType() const; + + + +private: + TCollection_AsciiString _type; + TAllStates _states; + int _dumpstate; +}; class SMESH_NoteBook { @@ -38,11 +62,10 @@ public: ~SMESH_NoteBook(); TCollection_AsciiString ReplaceVariables(const TCollection_AsciiString& theString) const; - typedef std::map > TVariablesMap; + typedef std::map TVariablesMap; private: void InitObjectMap(); - std::vector ParseVariables(const std::string& theVariables, const char sep) const; private: TVariablesMap _objectMap;