Salome HOME
ENV: Windows porting.
[modules/kernel.git] / src / SALOMEDS / SALOMEDS_AttributeSequenceOfReal_i.hxx
1 //  File   : SALOMEDS_AttributeSequenceOfSequenceOfReal_i.hxx
2 //  Author : Sergey RUIN
3 //  Module : SALOME
4
5 #ifndef SALOMEDS_AttributeSequenceOfSequenceOfReal_i_HeaderFile
6 #define SALOMEDS_AttributeSequenceOfSequenceOfReal_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_AttributeSequenceOfReal.hxx"
14
15 class SALOMEDS_AttributeSequenceOfReal_i: public virtual POA_SALOMEDS::AttributeSequenceOfReal,
16                                           public virtual SALOMEDS_GenericAttribute_i {
17 public:
18   
19   SALOMEDS_AttributeSequenceOfReal_i(const Handle(SALOMEDSImpl_AttributeSequenceOfReal)& theAttr, CORBA::ORB_ptr orb) 
20     :SALOMEDS_GenericAttribute_i(theAttr, orb) {}; 
21
22   ~SALOMEDS_AttributeSequenceOfReal_i() {};
23
24   void Assign(const SALOMEDS::DoubleSeq& other);
25   SALOMEDS::DoubleSeq* CorbaSequence();
26   void Add(CORBA::Double value);
27   void Remove(CORBA::Long index);
28   void ChangeValue(CORBA::Long index, CORBA::Double value);
29   CORBA::Double Value(CORBA::Short index);
30   CORBA::Long Length();
31
32 };
33
34
35
36 #endif