1 // Copyright (C) 2009-2012 CEA/DEN, EDF R&D
3 // This library is free software; you can redistribute it and/or
4 // modify it under the terms of the GNU Lesser General Public
5 // License as published by the Free Software Foundation; either
6 // version 2.1 of the License.
8 // This library is distributed in the hope that it will be useful,
9 // but WITHOUT ANY WARRANTY; without even the implied warranty of
10 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 // Lesser General Public License for more details.
13 // You should have received a copy of the GNU Lesser General Public
14 // License along with this library; if not, write to the Free Software
15 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
22 #include <SALOMEconfig.h>
23 #include CORBA_SERVER_HEADER(Law)
24 #include "SALOME_GenericObj_i.hh"
26 #include "hexa_base.hxx"
30 using namespace HEXABLOCK_ORB;
32 class Law_impl : public POA_HEXABLOCK_ORB::Law,
33 public SALOME::GenericObj_i
36 Law_impl(HEXA_NS::Law *ptrCpp);
37 HEXA_NS::Law* GetImpl() throw (SALOME::SALOME_Exception);
39 void setName(const char* name) throw (SALOME::SALOME_Exception);
40 char* getName() throw (SALOME::SALOME_Exception);
41 void setNodes(::CORBA::Long n) throw (SALOME::SALOME_Exception);
42 ::CORBA::Long getNodes() throw (SALOME::SALOME_Exception);
43 void setKind(KindLaw k) throw (SALOME::SALOME_Exception);
44 KindLaw getKind() throw (SALOME::SALOME_Exception);
45 void setCoefficient(::CORBA::Double c) throw (SALOME::SALOME_Exception);
46 ::CORBA::Double getCoefficient() throw (SALOME::SALOME_Exception);
49 HEXA_NS::Law *_law_cpp;