X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2Fengine%2FVisitorSaveState.hxx;h=003d49e49c44a154956e04afc054efa0f751196d;hb=7e1ffb17a38095b6699ccd324ea03e88e6f88ed3;hp=d4ded74399444bac5416ee351d9938aec0a7eaff;hpb=313a04631c63078d01c2f643a53500ec549d034e;p=modules%2Fyacs.git diff --git a/src/engine/VisitorSaveState.hxx b/src/engine/VisitorSaveState.hxx index d4ded7439..003d49e49 100644 --- a/src/engine/VisitorSaveState.hxx +++ b/src/engine/VisitorSaveState.hxx @@ -1,6 +1,26 @@ +// Copyright (C) 2006-2015 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, 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 +// 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 +// +// 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" @@ -12,22 +32,25 @@ namespace YACS { namespace ENGINE { - class VisitorSaveState: public Visitor + class YACSLIBENGINE_EXPORT VisitorSaveState: public Visitor { 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); + 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);