Salome HOME
Before virtualization of SalomeContainerTools
[modules/yacs.git] / src / engine / VisitorSaveState.hxx
index bdcc2277756cb0cf2b2ca85228066e5739941483..23decc118658eba49d3c5790b283c636b9a3c8cc 100644 (file)
@@ -1,9 +1,9 @@
-// Copyright (C) 2006-2012  CEA/DEN, EDF R&D
+// Copyright (C) 2006-2019  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.
+// version 2.1 of the License, or (at your option) any later version.
 //
 // This library is distributed in the hope that it will be useful,
 // but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -37,11 +37,12 @@ namespace YACS
     public:
       VisitorSaveState(ComposedNode *root);
       virtual ~VisitorSaveState();
-      void openFileDump(std::string xmlDump) throw(Exception);
+      void openFileDump(const std::string& xmlDump) throw(Exception);
       void closeFileDump();
       virtual void visitBloc(Bloc *node);
       virtual void visitElementaryNode(ElementaryNode *node);
-      virtual void visitForEachLoop(ForEachLoop *node);
+      void visitForEachLoop(ForEachLoop *node) override;
+      void visitForEachLoopDyn(ForEachLoopDyn *node) override;
       virtual void visitOptimizerLoop(OptimizerLoop *node);
       virtual void visitDynParaLoop(DynParaLoop *node);
       virtual void visitForLoop(ForLoop *node);