]> SALOME platform Git repositories - modules/hexablock.git/blob - idl/Group.idl
Salome HOME
Merge from V6_main 01/04/2013
[modules/hexablock.git] / idl / Group.idl
1 // Copyright (C) 2009-2013  CEA/DEN, EDF R&D
2 //
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.
7 //
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.
12 //
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
16 //
17 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
18 //
19 #ifndef __Group_idl__
20 #define __Group_idl__
21 /*!
22  \defgroup EXAMPLES SALOME EXAMPLES components
23  */
24 #include "SALOME_Exception.idl"
25 #include "SALOME_GenericObj.idl"
26
27 #include "Element.idl"
28
29
30 /*!  \ingroup EXAMPLES
31 */
32 module HEXABLOCK_ORB
33 {
34     enum GroupKind {  HEXA_GROUP,
35                       QUAD_GROUP,
36                       EDGE_GROUP,
37                       HEXANODE_GROUP,
38                       QUADNODE_GROUP,
39                       EDGENODE_GROUP,
40                       VERTEXNODE_GROUP };
41
42     interface Group : SALOME::GenericObj
43     {
44         /*!
45         comment
46         */
47         string getName()
48           raises (SALOME::SALOME_Exception);
49         void setName( in string name )
50           raises (SALOME::SALOME_Exception);
51         GroupKind getKind()
52           raises (SALOME::SALOME_Exception);
53         long addElement( in Element e)
54           raises (SALOME::SALOME_Exception);
55         long countElement()
56           raises (SALOME::SALOME_Exception);
57         Element getElement( in long index )
58           raises (SALOME::SALOME_Exception);
59         long removeElement( in Element elt )
60             raises (SALOME::SALOME_Exception);
61         void clearElement()
62             raises (SALOME::SALOME_Exception);
63     };
64
65 //     interface HexaGroup : Group {};
66 //     interface QuadGroup : Group {};
67 //     interface EdgeGroup : Group {};
68 // 
69 //     interface HexaNodeGroup : Group {};
70 //     interface QuadNodeGroup : Group {};
71 //     interface EdgeNodeGroup : Group {};
72 //     interface VertexNodeGroup : Group {};
73 };
74
75 #endif