Salome HOME
PR: merge from branch BR_UnitTests tag mergeto_trunk_17oct05
[modules/kernel.git] / src / SALOMEDS / SALOMEDS_AttributeSequenceOfInteger_i.hxx
1 //  File   : SALOMEDS_AttributeSequenceOfInteger_i.hxx
2 //  Author : Sergey RUIN
3 //  Module : SALOME
4
5 #ifndef SALOMEDS_AttributeSequenceOfInteger_i_HeaderFile
6 #define SALOMEDS_AttributeSequenceOfInteger_i_HeaderFile
7
8 // IDL headers
9 #include <SALOMEconfig.h>
10 #include CORBA_SERVER_HEADER(SALOMEDS_Attributes)
11
12 #include "SALOMEDS_GenericAttribute_i.hxx"
13 #include "SALOMEDSImpl_AttributeSequenceOfInteger.hxx"
14
15 class SALOMEDS_AttributeSequenceOfInteger_i: public virtual POA_SALOMEDS::AttributeSequenceOfInteger,
16                                              public virtual SALOMEDS_GenericAttribute_i 
17 {    
18 public:
19   
20   SALOMEDS_AttributeSequenceOfInteger_i(const Handle(SALOMEDSImpl_AttributeSequenceOfInteger)& theAttr,CORBA::ORB_ptr orb)
21     :SALOMEDS_GenericAttribute_i(theAttr, orb) {}; 
22
23   ~SALOMEDS_AttributeSequenceOfInteger_i() {};
24
25   void Assign(const SALOMEDS::LongSeq& other);
26   SALOMEDS::LongSeq* CorbaSequence();
27   void Add(CORBA::Long value);
28   void Remove(CORBA::Long index);
29   void ChangeValue(CORBA::Long index, CORBA::Long value);
30   CORBA::Long Value(CORBA::Short index);
31   CORBA::Long Length();
32
33 };
34
35 #endif