Salome HOME
Remove OCC_LIBS from LDFLAGS
[modules/smesh.git] / src / SMDS / SMDS_ListNodeOfListOfMeshGroup_0.cxx
1 //  SMESH SMDS : implementaion of Salome mesh data structure
2 //
3 //  Copyright (C) 2003  OPEN CASCADE
4 // 
5 //  This library is free software; you can redistribute it and/or 
6 //  modify it under the terms of the GNU Lesser General Public 
7 //  License as published by the Free Software Foundation; either 
8 //  version 2.1 of the License. 
9 // 
10 //  This library is distributed in the hope that it will be useful, 
11 //  but WITHOUT ANY WARRANTY; without even the implied warranty of 
12 //  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
13 //  Lesser General Public License for more details. 
14 // 
15 //  You should have received a copy of the GNU Lesser General Public 
16 //  License along with this library; if not, write to the Free Software 
17 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
18 // 
19 //  See http://www.opencascade.org or email : webmaster@opencascade.org 
20 //
21 //
22 //
23 //  File   : SMDS_ListNodeOfListOfMeshGroup_0.cxx
24 //  Module : SMESH
25
26 using namespace std;
27 #include "SMDS_ListNodeOfListOfMeshGroup.hxx"
28
29 #ifndef _Standard_TypeMismatch_HeaderFile
30 #include <Standard_TypeMismatch.hxx>
31 #endif
32
33 #ifndef _SMDS_MeshGroup_HeaderFile
34 #include "SMDS_MeshGroup.hxx"
35 #endif
36 #ifndef _SMDS_ListOfMeshGroup_HeaderFile
37 #include "SMDS_ListOfMeshGroup.hxx"
38 #endif
39 #ifndef _SMDS_ListIteratorOfListOfMeshGroup_HeaderFile
40 #include "SMDS_ListIteratorOfListOfMeshGroup.hxx"
41 #endif
42 SMDS_ListNodeOfListOfMeshGroup::~SMDS_ListNodeOfListOfMeshGroup() {}
43  
44
45
46 Standard_EXPORT Handle_Standard_Type& SMDS_ListNodeOfListOfMeshGroup_Type_()
47 {
48
49     static Handle_Standard_Type aType1 = STANDARD_TYPE(TCollection_MapNode);
50   if ( aType1.IsNull()) aType1 = STANDARD_TYPE(TCollection_MapNode);
51   static Handle_Standard_Type aType2 = STANDARD_TYPE(MMgt_TShared);
52   if ( aType2.IsNull()) aType2 = STANDARD_TYPE(MMgt_TShared);
53   static Handle_Standard_Type aType3 = STANDARD_TYPE(Standard_Transient);
54   if ( aType3.IsNull()) aType3 = STANDARD_TYPE(Standard_Transient);
55  
56
57   static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,aType3,NULL};
58   static Handle_Standard_Type _aType = new Standard_Type("SMDS_ListNodeOfListOfMeshGroup",
59                                                          sizeof(SMDS_ListNodeOfListOfMeshGroup),
60                                                          1,
61                                                          (Standard_Address)_Ancestors,
62                                                          (Standard_Address)NULL);
63
64   return _aType;
65 }
66
67
68 // DownCast method
69 //   allow safe downcasting
70 //
71 const Handle(SMDS_ListNodeOfListOfMeshGroup) Handle(SMDS_ListNodeOfListOfMeshGroup)::DownCast(const Handle(Standard_Transient)& AnObject) 
72 {
73   Handle(SMDS_ListNodeOfListOfMeshGroup) _anOtherObject;
74
75   if (!AnObject.IsNull()) {
76      if (AnObject->IsKind(STANDARD_TYPE(SMDS_ListNodeOfListOfMeshGroup))) {
77        _anOtherObject = Handle(SMDS_ListNodeOfListOfMeshGroup)((Handle(SMDS_ListNodeOfListOfMeshGroup)&)AnObject);
78      }
79   }
80
81   return _anOtherObject ;
82 }
83 const Handle(Standard_Type)& SMDS_ListNodeOfListOfMeshGroup::DynamicType() const 
84
85   return STANDARD_TYPE(SMDS_ListNodeOfListOfMeshGroup) ; 
86 }
87 Standard_Boolean SMDS_ListNodeOfListOfMeshGroup::IsKind(const Handle(Standard_Type)& AType) const 
88
89   return (STANDARD_TYPE(SMDS_ListNodeOfListOfMeshGroup) == AType || TCollection_MapNode::IsKind(AType)); 
90 }
91 Handle_SMDS_ListNodeOfListOfMeshGroup::~Handle_SMDS_ListNodeOfListOfMeshGroup() {}
92 #define Item Handle_SMDS_MeshGroup
93 #define Item_hxx "SMDS_MeshGroup.hxx"
94 #define TCollection_ListNode SMDS_ListNodeOfListOfMeshGroup
95 #define TCollection_ListNode_hxx "SMDS_ListNodeOfListOfMeshGroup.hxx"
96 #define TCollection_ListIterator SMDS_ListIteratorOfListOfMeshGroup
97 #define TCollection_ListIterator_hxx "SMDS_ListIteratorOfListOfMeshGroup.hxx"
98 #define Handle_TCollection_ListNode Handle_SMDS_ListNodeOfListOfMeshGroup
99 #define TCollection_ListNode_Type_() SMDS_ListNodeOfListOfMeshGroup_Type_()
100 #define TCollection_List SMDS_ListOfMeshGroup
101 #define TCollection_List_hxx "SMDS_ListOfMeshGroup.hxx"
102 #include <TCollection_ListNode.gxx>
103