Salome HOME
PR: merge from branch BR_UnitTests tag mergeto_trunk_17oct05
[modules/kernel.git] / src / SALOMEDS / SALOMEDS_AttributeExpandable_i.cxx
1 //  File   : SALOMEDS_AttributeExpandable_i.cxx
2 //  Author : Sergey RUIN
3 //  Module : SALOME
4
5
6 #include "SALOMEDS_AttributeExpandable_i.hxx"
7 #include "SALOMEDS.hxx"
8
9 using namespace std;
10
11 CORBA::Boolean SALOMEDS_AttributeExpandable_i::IsExpandable() 
12 {
13   SALOMEDS::Locker lock;
14   return (Handle(SALOMEDSImpl_AttributeExpandable)::DownCast(_impl)->IsExpandable() == 1);
15 }
16                                                            
17 void SALOMEDS_AttributeExpandable_i::SetExpandable(CORBA::Boolean value) 
18 {
19   SALOMEDS::Locker lock;
20   CheckLocked();
21   Handle(SALOMEDSImpl_AttributeExpandable)::DownCast(_impl)->SetExpandable(value);
22 }
23