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 \defgroup EXAMPLES SALOME EXAMPLES components
24 #include "SALOME_Exception.idl"
25 #include "SALOME_GenericObj.idl"
33 enum KindLaw { UNIFORM, ARITHMETIC, GEOMETRIC };
35 interface Law : SALOME::GenericObj
37 void setName( in string name ) raises (SALOME::SALOME_Exception);
38 string getName() raises (SALOME::SALOME_Exception);
40 void setNodes( in long n ) raises (SALOME::SALOME_Exception);
41 long getNodes() raises (SALOME::SALOME_Exception);
43 void setKind( in KindLaw k ) raises (SALOME::SALOME_Exception);
44 KindLaw getKind() raises (SALOME::SALOME_Exception);
46 void setCoefficient( in double c ) raises (SALOME::SALOME_Exception);
47 double getCoefficient() raises (SALOME::SALOME_Exception);