4 #include <SALOMEconfig.h>
5 #include CORBA_SERVER_HEADER(Law)
6 #include "SALOME_GenericObj_i.hh"
8 #include "hexa_base.hxx"
12 using namespace HEXABLOCK_ORB;
14 class Law_impl : public POA_HEXABLOCK_ORB::Law,
15 public SALOME::GenericObj_i
18 Law_impl(HEXA_NS::Law *ptrCpp);
19 HEXA_NS::Law* GetImpl() throw (SALOME::SALOME_Exception);
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);
31 HEXA_NS::Law *_law_cpp;