]> SALOME platform Git repositories - modules/yacs.git/blobdiff - src/engine/Proc.hxx
Salome HOME
mergefrom branch BR_V511_PR tag mergeto_trunk_03feb09
[modules/yacs.git] / src / engine / Proc.hxx
index 8b2fb9ab27a3a0f19ffc54c86e9f9d310881fbd1..36d244bd2507dcec7530d6b4d918c792eb73a706 100644 (file)
@@ -1,3 +1,21 @@
+//  Copyright (C) 2006-2008  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 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 _PROC_HXX_
 #define _PROC_HXX_
 
@@ -32,6 +50,7 @@ namespace YACS
       virtual TypeCode *createStructTc (const std::string& id, const std::string& name);
       virtual TypeCode* getTypeCode(const std::string& name);
       virtual void setTypeCode(const std::string& name,TypeCode *t);
+      virtual Container* createContainer(const std::string& name,const std::string& kind="");
       virtual void accept(Visitor *visitor);
 
       YACS::StatesForNode getNodeState(int numId);
@@ -63,6 +82,8 @@ namespace YACS
       virtual bool getEdition(){return _edition;}
       virtual void setEdition(bool edition);
       virtual void modified();
+      virtual void saveSchema(std::string xmlSchemaFile);
+      virtual void saveState(std::string xmlStateFile);
     protected:
       bool _edition;