Salome HOME
ENV: Windows porting.
[modules/kernel.git] / src / SALOMEDS / SALOMEDS_AttributeSequenceOfInteger.hxx
1 //  File   : SALOMEDS_AttributeSequenceOfInteger.hxx
2 //  Author : Sergey RUIN
3 //  Module : SALOME
4
5 #ifndef SALOMEDS_AttributeSequenceOfInteger_HeaderFile
6 #define SALOMEDS_AttributeSequenceOfInteger_HeaderFile
7
8 #include "SALOMEDSClient_AttributeSequenceOfInteger.hxx"
9 #include "SALOMEDS_GenericAttribute.hxx"
10 #include "SALOMEDSImpl_AttributeSequenceOfInteger.hxx"
11
12 // IDL headers
13 #include <SALOMEconfig.h>
14 #include CORBA_SERVER_HEADER(SALOMEDS)
15 #include CORBA_SERVER_HEADER(SALOMEDS_Attributes)
16
17 #include <vector>
18
19 class SALOMEDS_AttributeSequenceOfInteger: public SALOMEDS_GenericAttribute, public SALOMEDSClient_AttributeSequenceOfInteger
20 {
21 public:  
22   SALOMEDS_AttributeSequenceOfInteger(const Handle(SALOMEDSImpl_AttributeSequenceOfInteger)& theAttr);
23   SALOMEDS_AttributeSequenceOfInteger(SALOMEDS::AttributeSequenceOfInteger_ptr theAttr);
24   ~SALOMEDS_AttributeSequenceOfInteger();
25
26   virtual void Assign(const std::vector<int>& other);
27   virtual std::vector<int> CorbaSequence();
28   virtual void Add(int value);
29   virtual void Remove(int index);
30   virtual void ChangeValue(int index, int value);
31   virtual int Value(int index);
32   virtual int Length();
33
34 };
35
36 #endif