]> SALOME platform Git repositories - modules/hexablock.git/blob - idl/NewShape.idl
Salome HOME
Merge from V6_main 01/04/2013
[modules/hexablock.git] / idl / NewShape.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 __NewShape_idl_
20 #define __NewShape_idl_
21 /*!
22  \defgroup EXAMPLES SALOME EXAMPLES components
23  */
24 #include "SALOME_Exception.idl"
25 #include "SALOME_GenericObj.idl"
26
27 // #include "GEOM_Gen.idl"
28 #include "Element.idl"
29
30 /*!  \ingroup EXAMPLES
31
32 This package contains the interface HEXABLOCK_ORB used 
33 for  %HEXABLOCK component as an example in %SALOME application.
34 */
35 module HEXABLOCK_ORB
36 {
37   interface NewShape : Element 
38   {
39       long countVertex ()       raises (SALOME::SALOME_Exception);
40       long countEdge   ()       raises (SALOME::SALOME_Exception);
41       long countFace   ()       raises (SALOME::SALOME_Exception);
42
43
44       long getVertex (in long nro)     raises (SALOME::SALOME_Exception);
45       long getEdge   (in long nro)     raises (SALOME::SALOME_Exception);
46       long getFace   (in long nro)     raises (SALOME::SALOME_Exception);
47
48
49       string getNameVertex (in long nro)    raises (SALOME::SALOME_Exception);
50       string getNameEdge   (in long nro)    raises (SALOME::SALOME_Exception);
51       string getNameFace   (in long nro)    raises (SALOME::SALOME_Exception);
52   };
53 };
54
55 #endif