Salome HOME
3025f693b849f914932b6415a738c6021240e576
[modules/smesh.git] / src / SMESH_I / SMESH.hxx
1 //  SMESH SMESH_I :
2 //
3 //  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 //  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
5 // 
6 //  This library is free software; you can redistribute it and/or 
7 //  modify it under the terms of the GNU Lesser General Public 
8 //  License as published by the Free Software Foundation; either 
9 //  version 2.1 of the License. 
10 // 
11 //  This library is distributed in the hope that it will be useful, 
12 //  but WITHOUT ANY WARRANTY; without even the implied warranty of 
13 //  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
14 //  Lesser General Public License for more details. 
15 // 
16 //  You should have received a copy of the GNU Lesser General Public 
17 //  License along with this library; if not, write to the Free Software 
18 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
19 // 
20 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
21 //
22 //
23 //
24 //  File   : SMESH.hxx
25 //  Author : Michael ZORIN
26 //  Module : SMESH
27 //  $Header: 
28
29 #ifndef _SMESH_I_SMESH_HXX_
30 #define _SMESH_I_SMESH_HXX_
31
32 #ifdef WNT
33  #if defined SMESH_I_EXPORTS
34   #define SMESH_I_EXPORT __declspec( dllexport )
35  #else
36   #define SMESH_I_EXPORT __declspec( dllimport )
37  #endif
38 #else
39  #define SMESH_I_EXPORT
40 #endif
41
42 // Tags definition
43 enum {
44   // Top level
45   Tag_HypothesisRoot         = 1, // hypotheses root
46   Tag_AlgorithmsRoot         = 2, // algorithms root
47   // Mesh/Submesh
48   Tag_RefOnShape             = 1, // references to shape
49   Tag_RefOnAppliedHypothesis = 2, // applied hypotheses root
50   Tag_RefOnAppliedAlgorithms = 3, // applied algorithms root
51   // Mesh only
52   Tag_SubMeshOnVertex        = 4, // sub-meshes roots by type
53   Tag_SubMeshOnEdge          = 5, // ...
54   Tag_SubMeshOnWire          = 6, // ...
55   Tag_SubMeshOnFace          = 7, // ...
56   Tag_SubMeshOnShell         = 8, // ...
57   Tag_SubMeshOnSolid         = 9, // ...
58   Tag_SubMeshOnCompound      = 10, // ...
59   Tag_NodeGroups             = 11, // Group roots by type
60   Tag_EdgeGroups             = 12, // ...
61   Tag_FaceGroups             = 13, // ...
62   Tag_VolumeGroups           = 14 // ... 
63 };
64
65 #endif
66