Salome HOME
First publish of HEXABLOCKcomponant
[modules/hexablock.git] / src / HEXABLOCK_I / HexVector_impl.cxx
1 using namespace std;
2 #include "HEXABLOCK.hxx"
3 #include "utilities.h"
4
5 #include <string>
6
7 #include "hexa_base.hxx"
8 #include "HexVector_impl.hxx"
9
10 using namespace HEXABLOCK_ORB;
11
12 Vector_impl::Vector_impl( HEXA_NS::Vector *ptrCpp ):_vector_cpp(ptrCpp)
13 {
14 }
15
16 HEXA_NS::Vector* Vector_impl::GetImpl() throw (SALOME::SALOME_Exception)
17 {
18   return _vector_cpp;
19 }
20
21 ::CORBA::Double Vector_impl::getDX() throw (SALOME::SALOME_Exception)
22 {
23   ::CORBA::Double dx = _vector_cpp->getDx();
24   return dx;
25 }
26 ::CORBA::Double Vector_impl::getDY() throw (SALOME::SALOME_Exception)
27 {
28   ::CORBA::Double dy = _vector_cpp->getDy();
29   return dy;
30 }
31 ::CORBA::Double Vector_impl::getDZ() throw (SALOME::SALOME_Exception)
32 {
33   ::CORBA::Double dz = _vector_cpp->getDz();
34   return dz;
35 }
36
37
38 void Vector_impl::dump() throw (SALOME::SALOME_Exception)
39 {
40   _vector_cpp->dump();
41 }
42
43
44 void Vector_impl::printName() throw (SALOME::SALOME_Exception)
45 {
46   _vector_cpp->printName();
47 }