Salome HOME
PAL7913. Add static ShellPoint()
[modules/smesh.git] / src / SMESHDS / SMESHDS_Script.hxx
index 70d4d5b30484daac6906d74b649f3c61847ce695..e51d3ec98d3da2e2901b4a596c3b789c23b7c9d6 100644 (file)
@@ -28,8 +28,9 @@
 #define _SMESHDS_Script_HeaderFile
 
 #include "SMESHDS_Command.hxx"
+
 #include <list>
-using namespace std;
+
 
 class SMESHDS_Script
 {
@@ -50,13 +51,16 @@ class SMESHDS_Script
        void MoveNode(int NewNodeID, double x, double y, double z);
        void RemoveNode(int NodeID);
        void RemoveElement(int ElementID);
+       void ChangeElementNodes(int ElementID, int nodes[], int nbnodes);
+       void Renumber (const bool isNodes, const int startID, const int deltaID);
        void Clear();
-       const list<SMESHDS_Command*> & GetCommands();
-       void UpdateAll();
+       const std::list<SMESHDS_Command*> & GetCommands();
        ~SMESHDS_Script();
   
   private:
-       list<SMESHDS_Command*> myCommands;
+       SMESHDS_Command* getCommand(const SMESHDS_CommandType aType);
+
+       std::list<SMESHDS_Command*> myCommands;
 };
 
 #endif