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_SequenceNodeOfSequenceOfMesh.hxx"
18 #ifndef _Standard_TypeMismatch_HeaderFile
19 #include <Standard_TypeMismatch.hxx>
22 #ifndef _SMDS_Mesh_HeaderFile
23 #include "SMDS_Mesh.hxx"
25 #ifndef _SMDS_SequenceOfMesh_HeaderFile
26 #include "SMDS_SequenceOfMesh.hxx"
28 SMDS_SequenceNodeOfSequenceOfMesh::~SMDS_SequenceNodeOfSequenceOfMesh() {}
32 Standard_EXPORT Handle_Standard_Type& SMDS_SequenceNodeOfSequenceOfMesh_Type_()
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);
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),
47 (Standard_Address)_Ancestors,
48 (Standard_Address)NULL);
55 // allow safe downcasting
57 const Handle(SMDS_SequenceNodeOfSequenceOfMesh) Handle(SMDS_SequenceNodeOfSequenceOfMesh)::DownCast(const Handle(Standard_Transient)& AnObject)
59 Handle(SMDS_SequenceNodeOfSequenceOfMesh) _anOtherObject;
61 if (!AnObject.IsNull()) {
62 if (AnObject->IsKind(STANDARD_TYPE(SMDS_SequenceNodeOfSequenceOfMesh))) {
63 _anOtherObject = Handle(SMDS_SequenceNodeOfSequenceOfMesh)((Handle(SMDS_SequenceNodeOfSequenceOfMesh)&)AnObject);
67 return _anOtherObject ;
69 const Handle(Standard_Type)& SMDS_SequenceNodeOfSequenceOfMesh::DynamicType() const
71 return STANDARD_TYPE(SMDS_SequenceNodeOfSequenceOfMesh) ;
73 Standard_Boolean SMDS_SequenceNodeOfSequenceOfMesh::IsKind(const Handle(Standard_Type)& AType) const
75 return (STANDARD_TYPE(SMDS_SequenceNodeOfSequenceOfMesh) == AType || TCollection_SeqNode::IsKind(AType));
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>