]> SALOME platform Git repositories - modules/hexablock.git/blob - src/HEXABLOCK_I/HexLaw_impl.hxx
Salome HOME
First publish of HEXABLOCKcomponant
[modules/hexablock.git] / src / HEXABLOCK_I / HexLaw_impl.hxx
1 #ifndef __Law_impl__
2 #define __Law_impl__
3
4 #include <SALOMEconfig.h>
5 #include CORBA_SERVER_HEADER(Law)
6 #include "SALOME_GenericObj_i.hh"
7
8 #include "hexa_base.hxx"
9 #include "HexLaw.hxx"
10
11
12 using namespace HEXABLOCK_ORB;
13
14 class Law_impl : public POA_HEXABLOCK_ORB::Law,
15                     public SALOME::GenericObj_i
16 {
17 public:
18   Law_impl(HEXA_NS::Law *ptrCpp);
19   HEXA_NS::Law* GetImpl() throw (SALOME::SALOME_Exception);
20
21   void setName(const char* name) throw (SALOME::SALOME_Exception);
22   char* getName() throw (SALOME::SALOME_Exception);
23   void setNodes(::CORBA::Long n) throw (SALOME::SALOME_Exception);
24   ::CORBA::Long getNodes() throw (SALOME::SALOME_Exception);
25   void setKind(KindLaw k) throw (SALOME::SALOME_Exception);
26   KindLaw getKind() throw (SALOME::SALOME_Exception);
27   void setCoefficient(::CORBA::Double c) throw (SALOME::SALOME_Exception);
28   ::CORBA::Double getCoefficient() throw (SALOME::SALOME_Exception);
29
30 private:
31   HEXA_NS::Law *_law_cpp;
32 };
33
34 #endif