Salome HOME
NRI : Change lGeometryClient by lGEOMClient.
[modules/smesh.git] / src / SMDS / SMDS_SequenceNodeOfSequenceOfMesh_0.cxx
1 using namespace std;
2 // File generated by CPPExt (Transient)
3 //                     Copyright (C) 1991,1995 by
4 //  
5 //                      MATRA DATAVISION, FRANCE
6 //  
7 // This software is furnished in accordance with the terms and conditions
8 // of the contract and with the inclusion of the above copyright notice.
9 // This software or any other copy thereof may not be provided or otherwise
10 // be made available to any other person. No title to an ownership of the
11 // software is hereby transferred.
12 //  
13 // At the termination of the contract, the software and all copies of this
14 // software must be deleted.
15 //
16 #include "SMDS_SequenceNodeOfSequenceOfMesh.hxx"
17
18 #ifndef _Standard_TypeMismatch_HeaderFile
19 #include <Standard_TypeMismatch.hxx>
20 #endif
21
22 #ifndef _SMDS_Mesh_HeaderFile
23 #include "SMDS_Mesh.hxx"
24 #endif
25 #ifndef _SMDS_SequenceOfMesh_HeaderFile
26 #include "SMDS_SequenceOfMesh.hxx"
27 #endif
28 SMDS_SequenceNodeOfSequenceOfMesh::~SMDS_SequenceNodeOfSequenceOfMesh() {}
29  
30
31
32 Standard_EXPORT Handle_Standard_Type& SMDS_SequenceNodeOfSequenceOfMesh_Type_()
33 {
34
35     static Handle_Standard_Type aType1 = STANDARD_TYPE(TCollection_SeqNode);
36   if ( aType1.IsNull()) aType1 = STANDARD_TYPE(TCollection_SeqNode);
37   static Handle_Standard_Type aType2 = STANDARD_TYPE(MMgt_TShared);
38   if ( aType2.IsNull()) aType2 = STANDARD_TYPE(MMgt_TShared);
39   static Handle_Standard_Type aType3 = STANDARD_TYPE(Standard_Transient);
40   if ( aType3.IsNull()) aType3 = STANDARD_TYPE(Standard_Transient);
41  
42
43   static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,aType3,NULL};
44   static Handle_Standard_Type _aType = new Standard_Type("SMDS_SequenceNodeOfSequenceOfMesh",
45                                                          sizeof(SMDS_SequenceNodeOfSequenceOfMesh),
46                                                          1,
47                                                          (Standard_Address)_Ancestors,
48                                                          (Standard_Address)NULL);
49
50   return _aType;
51 }
52
53
54 // DownCast method
55 //   allow safe downcasting
56 //
57 const Handle(SMDS_SequenceNodeOfSequenceOfMesh) Handle(SMDS_SequenceNodeOfSequenceOfMesh)::DownCast(const Handle(Standard_Transient)& AnObject) 
58 {
59   Handle(SMDS_SequenceNodeOfSequenceOfMesh) _anOtherObject;
60
61   if (!AnObject.IsNull()) {
62      if (AnObject->IsKind(STANDARD_TYPE(SMDS_SequenceNodeOfSequenceOfMesh))) {
63        _anOtherObject = Handle(SMDS_SequenceNodeOfSequenceOfMesh)((Handle(SMDS_SequenceNodeOfSequenceOfMesh)&)AnObject);
64      }
65   }
66
67   return _anOtherObject ;
68 }
69 const Handle(Standard_Type)& SMDS_SequenceNodeOfSequenceOfMesh::DynamicType() const 
70
71   return STANDARD_TYPE(SMDS_SequenceNodeOfSequenceOfMesh) ; 
72 }
73 Standard_Boolean SMDS_SequenceNodeOfSequenceOfMesh::IsKind(const Handle(Standard_Type)& AType) const 
74
75   return (STANDARD_TYPE(SMDS_SequenceNodeOfSequenceOfMesh) == AType || TCollection_SeqNode::IsKind(AType)); 
76 }
77 Handle_SMDS_SequenceNodeOfSequenceOfMesh::~Handle_SMDS_SequenceNodeOfSequenceOfMesh() {}
78 #define SeqItem Handle_SMDS_Mesh
79 #define SeqItem_hxx "SMDS_Mesh.hxx"
80 #define TCollection_SequenceNode SMDS_SequenceNodeOfSequenceOfMesh
81 #define TCollection_SequenceNode_hxx "SMDS_SequenceNodeOfSequenceOfMesh.hxx"
82 #define Handle_TCollection_SequenceNode Handle_SMDS_SequenceNodeOfSequenceOfMesh
83 #define TCollection_SequenceNode_Type_() SMDS_SequenceNodeOfSequenceOfMesh_Type_()
84 #define TCollection_Sequence SMDS_SequenceOfMesh
85 #define TCollection_Sequence_hxx "SMDS_SequenceOfMesh.hxx"
86 #include <TCollection_SequenceNode.gxx>
87