]> SALOME platform Git repositories - modules/hexablock.git/blob - idl/Law.idl
Salome HOME
First publish of HEXABLOCKcomponant
[modules/hexablock.git] / idl / Law.idl
1 #ifndef __Law_idl__
2 #define __Law_idl__
3 /*!
4  \defgroup EXAMPLES SALOME EXAMPLES components
5  */
6 #include "SALOME_Exception.idl"
7 #include "SALOME_GenericObj.idl"
8
9 #include "Vertex.idl"
10
11 /*!  \ingroup EXAMPLES
12 */
13 module HEXABLOCK_ORB
14 {
15     enum KindLaw { UNIFORM, ARITHMETIC, GEOMETRIC };
16
17     interface Law : SALOME::GenericObj
18     {
19         void setName( in string name ) raises (SALOME::SALOME_Exception);
20         string getName() raises (SALOME::SALOME_Exception);
21
22         void setNodes( in long n ) raises (SALOME::SALOME_Exception);
23         long getNodes() raises (SALOME::SALOME_Exception);
24
25         void setKind( in KindLaw k ) raises (SALOME::SALOME_Exception);
26         KindLaw getKind() raises (SALOME::SALOME_Exception);
27
28         void setCoefficient( in double c ) raises (SALOME::SALOME_Exception);
29         double getCoefficient() raises (SALOME::SALOME_Exception);
30     };
31 };
32
33 #endif