1 // File : SALOMEDS_AttributePersistentRef_i.cxx
2 // Author : Sergey RUIN
6 #include "SALOMEDS_AttributePersistentRef_i.hxx"
7 #include "SALOMEDS.hxx"
8 #include <TCollection_ExtendedString.hxx>
12 char* SALOMEDS_AttributePersistentRef_i::Value()
14 SALOMEDS::Locker lock;
15 CORBA::String_var c_s =
16 CORBA::string_dup(TCollection_AsciiString(Handle(SALOMEDSImpl_AttributePersistentRef)::DownCast(_impl)->Value()).ToCString());
20 void SALOMEDS_AttributePersistentRef_i::SetValue(const char* value)
22 SALOMEDS::Locker lock;
24 CORBA::String_var Str = CORBA::string_dup(value);
25 Handle(SALOMEDSImpl_AttributePersistentRef)::DownCast(_impl)->SetValue(TCollection_ExtendedString(Str));