1 // File : SALOMEDS_AttributeSequenceOfInteger_i.hxx
2 // Created : Fri Jul 05 10:57:25 2002
3 // Author : Yves FRICAUD
7 // Copyright : Open CASCADE 2002
11 #ifndef SALOMEDS_AttributeSequenceOfInteger_i_HeaderFile
12 #define SALOMEDS_AttributeSequenceOfInteger_i_HeaderFile
15 #include "SALOMEDS_SequenceOfIntegerAttribute.hxx"
16 #include <SALOMEconfig.h>
17 #include CORBA_SERVER_HEADER(SALOMEDS_Attributes)
18 #include "SALOMEDS_GenericAttribute_i.hxx"
20 class SALOMEDS_AttributeSequenceOfInteger_i: public virtual POA_SALOMEDS::AttributeSequenceOfInteger,
21 public virtual SALOMEDS_GenericAttribute_i {
25 SALOMEDS_AttributeSequenceOfInteger_i(const Handle(SALOMEDS_SequenceOfIntegerAttribute)& theSequenceOfIntegerAttr,
28 _myOrb = CORBA::ORB::_duplicate(orb);
29 _myAttr = theSequenceOfIntegerAttr;
31 ~SALOMEDS_AttributeSequenceOfInteger_i() {};
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);