]> SALOME platform Git repositories - modules/yacs.git/blobdiff - src/runtime/XMLNode.hxx
Salome HOME
copy tag mergefrom_BR_V0_1_CC_Salome_04oct07
[modules/yacs.git] / src / runtime / XMLNode.hxx
index 4e35aa38df9fd1a61b060fb970f0ca85bfd055db..c88fe84ec00a8e35f2bdaccf3686d0369f6b816f 100644 (file)
@@ -1,25 +1,33 @@
-
 #ifndef _XMLNODE_HXX_
 #define _XMLNODE_HXX_
 
-#include "ElementaryNode.hxx"
+#include "ServiceNode.hxx"
 
 namespace YACS
 {
   namespace ENGINE
   {
-
-    class XmlNode:public ENGINE::ElementaryNode
+    class XmlNode:public ServiceNode
     {
+    protected:
+      Node *simpleClone(ComposedNode *father, bool editionOnly) const;
     public:
+      XmlNode(const XmlNode& other, ComposedNode *father);
       XmlNode(const std::string& name);
       virtual void execute();
-      virtual void set_script(const std::string& script);
+      //! \b DISTRIBUTION \b NOT \b YET implemented for XMLNode.
+      virtual void load() { }
+      virtual void setRef(const std::string& ref);
+      virtual void setScript(const std::string& script);
+      virtual ServiceNode* createNode(const std::string& name) 
+        { throw Exception("not implemented"); }
+      virtual std::string getKind() const;
+    public:
+      static const char IMPL_NAME[];
+      static const char KIND[];
     protected:
       std::string _script;
     };
-    
-
   }
 }