1 // File : SALOMEDS_AttributeSelectable_i.cxx
2 // Author : Sergey RUIN
6 #include "SALOMEDS_AttributeSelectable_i.hxx"
7 #include "SALOMEDS.hxx"
11 CORBA::Boolean SALOMEDS_AttributeSelectable_i::IsSelectable()
13 SALOMEDS::Locker lock;
14 return (Handle(SALOMEDSImpl_AttributeSelectable)::DownCast(_impl)->IsSelectable() == 1);
17 void SALOMEDS_AttributeSelectable_i::SetSelectable(CORBA::Boolean value)
19 SALOMEDS::Locker lock;
20 Standard_Integer val = 0;
21 if (value != 0) val = 1;
22 Handle(SALOMEDSImpl_AttributeSelectable)::DownCast(_impl)->SetSelectable(val);