2 #include "HEXABLOCK.hxx"
7 #include "hexa_base.hxx"
8 #include "HexHexa_impl.hxx"
9 #include "HexQuad_impl.hxx"
10 #include "HexEdge_impl.hxx"
11 #include "HexVertex_impl.hxx"
13 Hexa_impl::Hexa_impl( HEXA_NS::Hexa *ptrCpp ):_hexa_cpp(ptrCpp)
17 HEXA_NS::Hexa* Hexa_impl::GetImpl()
18 throw (SALOME::SALOME_Exception)
23 Quad_ptr Hexa_impl::getQuad(::CORBA::Long n)
24 throw (SALOME::SALOME_Exception)
26 Quad_ptr result = Quad::_nil();
28 HEXA_NS::Quad* q = _hexa_cpp->getQuad(n);
30 Quad_impl* servantCorba = new Quad_impl(q);
31 result = servantCorba->_this();
36 Edge_ptr Hexa_impl::getEdge(::CORBA::Long n)
37 throw (SALOME::SALOME_Exception)
39 Edge_ptr result = Edge::_nil();
41 HEXA_NS::Edge* e = _hexa_cpp->getEdge(n);
43 Edge_impl* servantCorba = new Edge_impl(e);
44 result = servantCorba->_this();
49 Vertex_ptr Hexa_impl::getVertex(::CORBA::Long n)
50 throw (SALOME::SALOME_Exception)
52 Vertex_ptr result = Vertex::_nil();
54 HEXA_NS::Vertex* v = _hexa_cpp->getVertex(n);
56 Vertex_impl* servantCorba = new Vertex_impl(v);
57 result = servantCorba->_this();
62 void Hexa_impl::setScalar( ::CORBA::Double val )throw (SALOME::SALOME_Exception)
64 _hexa_cpp->setScalar(val);
67 void Hexa_impl::dump() throw (SALOME::SALOME_Exception)
73 void Hexa_impl::printName() throw (SALOME::SALOME_Exception)
75 _hexa_cpp->printName();