Salome HOME
This commit was generated by cvs2git to track changes on a CVS vendor
[modules/kernel.git] / src / SALOMEDS / SALOMEDS_AttributeSequenceOfInteger_i.hxx
1 //  File      : SALOMEDS_AttributeSequenceOfInteger_i.hxx
2 //  Created   : Fri Jul 05 10:57:25 2002
3 //  Author    : Yves FRICAUD
4
5 //  Project   : SALOME
6 //  Module    : SALOMEDS
7 //  Copyright : Open CASCADE 2002
8 //  $Header$
9
10
11 #ifndef SALOMEDS_AttributeSequenceOfInteger_i_HeaderFile
12 #define SALOMEDS_AttributeSequenceOfInteger_i_HeaderFile
13
14 // IDL headers
15 #include "SALOMEDS_SequenceOfIntegerAttribute.hxx"
16 #include <SALOMEconfig.h>
17 #include CORBA_SERVER_HEADER(SALOMEDS_Attributes)
18 #include "SALOMEDS_GenericAttribute_i.hxx"
19
20 class SALOMEDS_AttributeSequenceOfInteger_i: public virtual POA_SALOMEDS::AttributeSequenceOfInteger,
21   public virtual SALOMEDS_GenericAttribute_i {
22     
23 public:
24   
25   SALOMEDS_AttributeSequenceOfInteger_i(const Handle(SALOMEDS_SequenceOfIntegerAttribute)& theSequenceOfIntegerAttr, 
26                                      CORBA::ORB_ptr orb) 
27   {
28     _myOrb = CORBA::ORB::_duplicate(orb);
29     _myAttr = theSequenceOfIntegerAttr;
30   };
31   ~SALOMEDS_AttributeSequenceOfInteger_i() {};
32
33   void Assign(const SALOMEDS::LongSeq& other);
34   SALOMEDS::LongSeq* CorbaSequence();
35   void Add(CORBA::Long value);
36   void Remove(CORBA::Long index);
37   void ChangeValue(CORBA::Long index, CORBA::Long value);
38   CORBA::Long Value(CORBA::Short index);
39   CORBA::Long Length();
40 };
41
42 #endif