1 // File : SALOMEDS_AttributeComment_i.cxx
2 // Author : Sergey RUIN
6 #include "SALOMEDS_AttributeComment_i.hxx"
8 #include <TCollection_ExtendedString.hxx>
9 #include "SALOMEDS_SObject_i.hxx"
10 #include "SALOMEDS.hxx"
14 char* SALOMEDS_AttributeComment_i::Value()
16 SALOMEDS::Locker lock;
18 CORBA::String_var c_s =
19 CORBA::string_dup(TCollection_AsciiString(Handle(SALOMEDSImpl_AttributeComment)::DownCast(_impl)->Value()).ToCString());
23 void SALOMEDS_AttributeComment_i::SetValue(const char* value)
25 SALOMEDS::Locker lock;
28 TCollection_AsciiString aStr((char*)value);
29 Handle(SALOMEDSImpl_AttributeComment)::DownCast(_impl)->SetValue(TCollection_ExtendedString(aStr));