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