Salome HOME
NRI : Remove dependence with VISU.
[modules/kernel.git] / src / SALOMEDS / SALOMEDS_AttributeInteger_i.hxx
1 // File:        SALOMEDS_AttributeInteger_i.hxx
2 // Created:     Fri Jul  5 10:21:01 2002
3 // Author:      Yves FRICAUD
4
5 //  Project   : SALOME
6 //  Module    : SALOMEDS
7 //  Copyright : Open CASCADE 2002
8 //  $Header:
9
10
11 #ifndef SALOMEDS_AttributeInteger_i_HeaderFile
12 #define SALOMEDS_AttributeInteger_i_HeaderFile
13
14 // IDL headers
15
16 #include <TDataStd_Integer.hxx>
17 #include <SALOMEconfig.h>
18 #include CORBA_SERVER_HEADER(SALOMEDS_Attributes)
19 #include "SALOMEDS_GenericAttribute_i.hxx"
20
21 class SALOMEDS_AttributeInteger_i: public virtual POA_SALOMEDS::AttributeInteger,
22                                    public virtual SALOMEDS_GenericAttribute_i {
23 public:
24   
25   SALOMEDS_AttributeInteger_i(const Handle(TDataStd_Integer)& theIntAttr, CORBA::ORB_ptr orb) 
26   {
27     _myOrb = CORBA::ORB::_duplicate(orb);
28     _myAttr = theIntAttr;
29   };  
30   ~SALOMEDS_AttributeInteger_i() {};
31
32   CORBA::Long Value();
33   void SetValue(CORBA::Long value);
34 };
35
36
37
38 #endif