Salome HOME
ENV: Windows porting.
[modules/kernel.git] / src / SALOMEDS / SALOMEDS_AttributeReal_i.cxx
1 //  File   : SALOMEDS_AttributeReal_i.cxx
2 //  Author : Sergey RUIN
3 //  Module : SALOME
4
5 #include "SALOMEDS_AttributeReal_i.hxx"
6 #include "SALOMEDS_SObject_i.hxx"
7 #include "SALOMEDS.hxx"
8 #include <sstream>
9
10 using namespace std;
11
12 CORBA::Double SALOMEDS_AttributeReal_i::Value() 
13 {
14   SALOMEDS::Locker lock;
15   return Handle(SALOMEDSImpl_AttributeReal)::DownCast(_impl)->Value();
16 }
17
18 void SALOMEDS_AttributeReal_i::SetValue(CORBA::Double value) 
19 {
20   SALOMEDS::Locker lock;
21   CheckLocked();
22   Handle(SALOMEDSImpl_AttributeReal)::DownCast(_impl)->SetValue(value);
23 }
24