2 // File generated by CPPExt (Transient)
3 // Copyright (C) 1991,1995 by
5 // MATRA DATAVISION, FRANCE
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.
13 // At the termination of the contract, the software and all copies of this
14 // software must be deleted.
16 #include "SMDS_HSequenceOfMesh.hxx"
18 #ifndef _Standard_TypeMismatch_HeaderFile
19 #include <Standard_TypeMismatch.hxx>
22 #ifndef _Standard_NoSuchObject_HeaderFile
23 #include <Standard_NoSuchObject.hxx>
25 #ifndef _Standard_OutOfRange_HeaderFile
26 #include <Standard_OutOfRange.hxx>
28 #ifndef _SMDS_Mesh_HeaderFile
29 #include "SMDS_Mesh.hxx"
31 #ifndef _SMDS_SequenceOfMesh_HeaderFile
32 #include "SMDS_SequenceOfMesh.hxx"
34 SMDS_HSequenceOfMesh::~SMDS_HSequenceOfMesh() {}
38 Standard_EXPORT Handle_Standard_Type& SMDS_HSequenceOfMesh_Type_()
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);
47 static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,NULL};
48 static Handle_Standard_Type _aType = new Standard_Type("SMDS_HSequenceOfMesh",
49 sizeof(SMDS_HSequenceOfMesh),
51 (Standard_Address)_Ancestors,
52 (Standard_Address)NULL);
59 // allow safe downcasting
61 const Handle(SMDS_HSequenceOfMesh) Handle(SMDS_HSequenceOfMesh)::DownCast(const Handle(Standard_Transient)& AnObject)
63 Handle(SMDS_HSequenceOfMesh) _anOtherObject;
65 if (!AnObject.IsNull()) {
66 if (AnObject->IsKind(STANDARD_TYPE(SMDS_HSequenceOfMesh))) {
67 _anOtherObject = Handle(SMDS_HSequenceOfMesh)((Handle(SMDS_HSequenceOfMesh)&)AnObject);
71 return _anOtherObject ;
73 const Handle(Standard_Type)& SMDS_HSequenceOfMesh::DynamicType() const
75 return STANDARD_TYPE(SMDS_HSequenceOfMesh) ;
77 Standard_Boolean SMDS_HSequenceOfMesh::IsKind(const Handle(Standard_Type)& AType) const
79 return (STANDARD_TYPE(SMDS_HSequenceOfMesh) == AType || MMgt_TShared::IsKind(AType));
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>