Salome HOME
Moved some functionality to VTKViewer_Utilities.h
[modules/kernel.git] / src / SALOMEDS / SALOMEDS_AttributeComment_i.cxx
index 72babf8e1f6e53493ab9a6b5e649b1fee10b932d..d84186658944e0d699ac14a1d514aeddd029982e 100644 (file)
 //  Module : SALOME
 //  $Header$
 
+#include <TCollection_ExtendedString.hxx>
+#include <TCollection_AsciiString.hxx>
+
 #include "SALOMEDS_AttributeComment_i.hxx"
 
-#include <TCollection_ExtendedString.hxx>
-#include "SALOMEDS_SObject_i.hxx"
 using namespace std;
 
 char* SALOMEDS_AttributeComment_i::Value()
@@ -45,3 +46,11 @@ void SALOMEDS_AttributeComment_i::SetValue(const char* value)
   CORBA::String_var Str = CORBA::string_dup(value);
   Handle(TDataStd_Comment)::DownCast(_myAttr)->Set(TCollection_ExtendedString(Str));
 }
+
+char* SALOMEDS_AttributeComment_i::Store() {
+  return Value();
+}
+
+void SALOMEDS_AttributeComment_i::Restore(const char* value) {
+  SetValue(value);
+}