Salome HOME
First publish of HEXABLOCKcomponant
[modules/hexablock.git] / src / HEXABLOCK_I / HexGroup_impl.hxx
1 #ifndef __HexGroup_impl__
2 #define __HexGroup_impl__
3
4 #include <SALOMEconfig.h>
5 #include CORBA_SERVER_HEADER(Group)
6 #include "SALOME_GenericObj_i.hh"
7
8 #include "hexa_base.hxx"
9 #include "HexGroups.hxx"
10
11
12 using namespace HEXABLOCK_ORB;
13 class Group_impl : public POA_HEXABLOCK_ORB::Group,
14                    public SALOME::GenericObj_i
15 {
16   public:
17     Group_impl(HEXA_NS::Group *ptrCpp);
18     HEXA_NS::Group* GetImpl() throw (SALOME::SALOME_Exception);
19
20     char* getName() throw (SALOME::SALOME_Exception);
21     void setName(const char* name) throw (SALOME::SALOME_Exception);
22     GroupKind getKind() throw (SALOME::SALOME_Exception);
23     ::CORBA::Long addElement(Element_ptr e) throw (SALOME::SALOME_Exception);
24     ::CORBA::Long countElement() throw (SALOME::SALOME_Exception);
25     Element_ptr getElement(::CORBA::Long index) throw (SALOME::SALOME_Exception);
26     ::CORBA::Long removeElement(::CORBA::Long index) throw (SALOME::SALOME_Exception);
27     void clearElement() throw (SALOME::SALOME_Exception);
28
29 private:
30   HEXA_NS::Group *_group_cpp;
31 };
32
33
34 // class HexaGroup_impl : public Group_impl {};
35 // class QuadGroup_impl : public Group_impl {};
36 // class EdgeGroup_impl : public Group_impl {};
37 // class HexaNodeGroup_impl : public Group_impl {};
38 // class QuadNodeGroup_impl : public Group_impl {};
39 // class EdgeNodeGroup_impl : public Group_impl {};
40 // class VertexNodeGroup_impl : public Group_impl {};
41
42
43 #endif