// Module : SALOME
// $Header$
-using namespace std;
+#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()
{
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);
+}