Salome HOME
NRI : First integration.
[modules/smesh.git] / src / SMDS / SMDS_HSequenceOfMesh_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_HSequenceOfMesh.hxx"
17
18 #ifndef _Standard_TypeMismatch_HeaderFile
19 #include <Standard_TypeMismatch.hxx>
20 #endif
21
22 #ifndef _Standard_NoSuchObject_HeaderFile
23 #include <Standard_NoSuchObject.hxx>
24 #endif
25 #ifndef _Standard_OutOfRange_HeaderFile
26 #include <Standard_OutOfRange.hxx>
27 #endif
28 #ifndef _SMDS_Mesh_HeaderFile
29 #include "SMDS_Mesh.hxx"
30 #endif
31 #ifndef _SMDS_SequenceOfMesh_HeaderFile
32 #include "SMDS_SequenceOfMesh.hxx"
33 #endif
34 SMDS_HSequenceOfMesh::~SMDS_HSequenceOfMesh() {}
35  
36
37
38 Standard_EXPORT Handle_Standard_Type& SMDS_HSequenceOfMesh_Type_()
39 {
40
41     static Handle_Standard_Type aType1 = STANDARD_TYPE(MMgt_TShared);
42   if ( aType1.IsNull()) aType1 = STANDARD_TYPE(MMgt_TShared);
43   static Handle_Standard_Type aType2 = STANDARD_TYPE(Standard_Transient);
44   if ( aType2.IsNull()) aType2 = STANDARD_TYPE(Standard_Transient);
45  
46
47   static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,NULL};
48   static Handle_Standard_Type _aType = new Standard_Type("SMDS_HSequenceOfMesh",
49                                                          sizeof(SMDS_HSequenceOfMesh),
50                                                          1,
51                                                          (Standard_Address)_Ancestors,
52                                                          (Standard_Address)NULL);
53
54   return _aType;
55 }
56
57
58 // DownCast method
59 //   allow safe downcasting
60 //
61 const Handle(SMDS_HSequenceOfMesh) Handle(SMDS_HSequenceOfMesh)::DownCast(const Handle(Standard_Transient)& AnObject) 
62 {
63   Handle(SMDS_HSequenceOfMesh) _anOtherObject;
64
65   if (!AnObject.IsNull()) {
66      if (AnObject->IsKind(STANDARD_TYPE(SMDS_HSequenceOfMesh))) {
67        _anOtherObject = Handle(SMDS_HSequenceOfMesh)((Handle(SMDS_HSequenceOfMesh)&)AnObject);
68      }
69   }
70
71   return _anOtherObject ;
72 }
73 const Handle(Standard_Type)& SMDS_HSequenceOfMesh::DynamicType() const 
74
75   return STANDARD_TYPE(SMDS_HSequenceOfMesh) ; 
76 }
77 Standard_Boolean SMDS_HSequenceOfMesh::IsKind(const Handle(Standard_Type)& AType) const 
78
79   return (STANDARD_TYPE(SMDS_HSequenceOfMesh) == AType || MMgt_TShared::IsKind(AType)); 
80 }
81 Handle_SMDS_HSequenceOfMesh::~Handle_SMDS_HSequenceOfMesh() {}
82 #define Item Handle_SMDS_Mesh
83 #define Item_hxx "SMDS_Mesh.hxx"
84 #define TheSequence SMDS_SequenceOfMesh
85 #define TheSequence_hxx "SMDS_SequenceOfMesh.hxx"
86 #define TCollection_HSequence SMDS_HSequenceOfMesh
87 #define TCollection_HSequence_hxx "SMDS_HSequenceOfMesh.hxx"
88 #define Handle_TCollection_HSequence Handle_SMDS_HSequenceOfMesh
89 #define TCollection_HSequence_Type_() SMDS_HSequenceOfMesh_Type_()
90 #include <TCollection_HSequence.gxx>
91