Salome HOME
Merge from V6_main_20120808 08Aug12
[modules/yacs.git] / src / engine / VisitorSaveState.hxx
index 0e0b90018eda4779d76cf89e2672c36f0cd5b260..bdcc2277756cb0cf2b2ca85228066e5739941483 100644 (file)
@@ -1,24 +1,26 @@
-//  Copyright (C) 2006-2008  CEA/DEN, EDF R&D
+// Copyright (C) 2006-2012  CEA/DEN, EDF R&D
 //
-//  This library is free software; you can redistribute it and/or
-//  modify it under the terms of the GNU Lesser General Public
-//  License as published by the Free Software Foundation; either
-//  version 2.1 of the License.
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either
+// version 2.1 of the License.
 //
-//  This library is distributed in the hope that it will be useful,
-//  but WITHOUT ANY WARRANTY; without even the implied warranty of
-//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-//  Lesser General Public License for more details.
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+// Lesser General Public License for more details.
 //
-//  You should have received a copy of the GNU Lesser General Public
-//  License along with this library; if not, write to the Free Software
-//  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-//  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
+
 #ifndef __VISITOR_SAVESTATE_HXX__
 #define __VISITOR_SAVESTATE_HXX__
 
+#include "YACSlibEngineExport.hxx"
 #include "Visitor.hxx"
 #include "Exception.hxx"
 
@@ -30,7 +32,7 @@ namespace YACS
 {
   namespace ENGINE
   {
-    class VisitorSaveState: public Visitor
+    class YACSLIBENGINE_EXPORT VisitorSaveState: public Visitor
     {
     public:
       VisitorSaveState(ComposedNode *root);
@@ -40,12 +42,15 @@ namespace YACS
       virtual void visitBloc(Bloc *node);
       virtual void visitElementaryNode(ElementaryNode *node);
       virtual void visitForEachLoop(ForEachLoop *node);
+      virtual void visitOptimizerLoop(OptimizerLoop *node);
+      virtual void visitDynParaLoop(DynParaLoop *node);
       virtual void visitForLoop(ForLoop *node);
       virtual void visitInlineNode(InlineNode *node);
       virtual void visitInlineFuncNode(InlineFuncNode *node);
       virtual void visitLoop(Loop *node);
       virtual void visitProc(Proc *node);
       virtual void visitServiceNode(ServiceNode *node);
+      virtual void visitServerNode(ServerNode *node);
       virtual void visitServiceInlineNode(ServiceInlineNode *node);
       virtual void visitSwitch(Switch *node);
       virtual void visitWhileLoop(WhileLoop *node);