Salome HOME
First publish of HEXABLOCKcomponant
[modules/hexablock.git] / src / HEXABLOCK_I / HexQuad_impl.hxx
1 #ifndef __HexQuad_impl__
2 #define __HexQuad_impl__
3
4 #include <SALOMEconfig.h>
5 #include CORBA_SERVER_HEADER(GEOM_Gen)
6 #include CORBA_SERVER_HEADER(Quad)
7 #include "SALOME_GenericObj_i.hh"
8
9 #include "hexa_base.hxx"
10 #include "HexQuad.hxx"
11
12 using namespace HEXABLOCK_ORB;
13
14 class Quad_impl : public POA_HEXABLOCK_ORB::Quad,
15                   public SALOME::GenericObj_i
16 {
17 public:
18   Quad_impl(HEXA_NS::Quad *ptrCpp);
19   HEXA_NS::Quad* GetImpl() throw (SALOME::SALOME_Exception);
20
21   Edge_ptr getEdge(::CORBA::Long n) throw (SALOME::SALOME_Exception);
22   Vertex_ptr getVertex(::CORBA::Long n) throw (SALOME::SALOME_Exception);
23 //   void setAssociation(GEOM::GEOM_Object_ptr geom_object_2D) throw (SALOME::SALOME_Exception);
24 //   GEOM::GEOM_Object_ptr getAssociation() throw (SALOME::SALOME_Exception);
25   ::CORBA::Long addAssociation ( GEOM::GEOM_Object_ptr geom_object_2D) //CS_NOT_SPEC
26       throw (SALOME::SALOME_Exception);
27   GEOM::ListOfGO* getAssociations () //CS_NOT_SPEC
28       throw (SALOME::SALOME_Exception);
29
30
31 //   void removeAssociation() throw (SALOME::SALOME_Exception);
32
33   void setScalar( ::CORBA::Double val )throw (SALOME::SALOME_Exception);
34   void dump() throw (SALOME::SALOME_Exception);
35   void printName() throw (SALOME::SALOME_Exception);
36 private:
37   HEXA_NS::Quad *_quad_cpp;
38 //   std::vector<GEOM::GEOM_Object_ptr> _associations;
39 };
40
41 #endif