Salome HOME
3a6932cd9bd2ceb7801f41fcd906f2aa297af668
[modules/yacs.git] / src / SALOMEDS / SALOMEDS_AttributeInteger_i.cxx
1 using namespace std;
2 //  File      : SALOMEDS_AttributeInteger_i.cxx
3 //  Created   : Fri Jul 05 14:25:13 2002
4 //  Author    : Yves FRICAUD
5
6 //  Project   : SALOME
7 //  Module    : SALOMEDS
8 //  Copyright : Open CASCADE 2002
9 //  $Header$
10
11
12 #include "SALOMEDS_AttributeInteger_i.hxx"
13 #include "SALOMEDS_SObject_i.hxx"
14
15
16 CORBA::Long SALOMEDS_AttributeInteger_i::Value() {
17   return Handle(TDataStd_Integer)::DownCast(_myAttr)->Get();
18 }
19
20 void SALOMEDS_AttributeInteger_i::SetValue(CORBA::Long value) {
21   CheckLocked();
22   Handle(TDataStd_Integer)::DownCast(_myAttr)->Set(value);
23 }