]> SALOME platform Git repositories - modules/yacs.git/blobdiff - src/engine/Container.cxx
Salome HOME
Save/Load manages HPContainers.
[modules/yacs.git] / src / engine / Container.cxx
index b77a262109ff6f0ada90a7a992247c4fd73d680e..d922a9deb97ac94d09d07d78a97144803988c9d0 100644 (file)
 //#define _DEVDEBUG_
 #include "YacsTrace.hxx"
 
+#include <sstream>
+
 using namespace std;
 using namespace YACS::ENGINE;
 
+const char Container::KIND_ENTRY[]="container_kind";
+
 Container::Container():_isAttachedOnCloning(false),_proc(0)
 {
 }
@@ -34,6 +38,13 @@ Container::~Container()
 {
 }
 
+std::string Container::getDiscreminantStrOfThis(const Task *askingNode) const
+{
+  const void *ptr(this);
+  std::ostringstream oss; oss << ptr;
+  return oss.str();
+}
+
 /*!
  * By calling this method the current container 'this' is not destined to be deeply copied on clone call.
  */