1 // File : SALOMEDS_AttributePixMap_i.cxx
2 // Author : Sergey RUIN
6 #include "SALOMEDS_AttributePixMap_i.hxx"
7 #include "SALOMEDS.hxx"
8 #include <TCollection_AsciiString.hxx>
12 CORBA::Boolean SALOMEDS_AttributePixMap_i::HasPixMap()
14 return Handle(SALOMEDSImpl_AttributePixMap)::DownCast(_impl)->HasPixMap();
17 char* SALOMEDS_AttributePixMap_i::GetPixMap()
19 SALOMEDS::Locker lock;
21 CORBA::string_dup(TCollection_AsciiString(Handle(SALOMEDSImpl_AttributePixMap)::DownCast(_impl)->GetPixMap()).ToCString());
25 void SALOMEDS_AttributePixMap_i::SetPixMap(const char* value)
27 SALOMEDS::Locker lock;
29 CORBA::String_var Str = CORBA::string_dup(value);
30 Handle(SALOMEDSImpl_AttributePixMap)::DownCast(_impl)->SetPixMap(TCollection_ExtendedString(Str));