1 // File generated by CPPExt (Transient)
2 // Copyright (C) 1991,1995 by
4 // MATRA DATAVISION, FRANCE
6 // This software is furnished in accordance with the terms and conditions
7 // of the contract and with the inclusion of the above copyright notice.
8 // This software or any other copy thereof may not be provided or otherwise
9 // be made available to any other person. No title to an ownership of the
10 // software is hereby transferred.
12 // At the termination of the contract, the software and all copies of this
13 // software must be deleted.
15 #include <NMTTools_ListNodeOfListOfCoupleOfShape.hxx>
17 #ifndef _Standard_TypeMismatch_HeaderFile
18 #include <Standard_TypeMismatch.hxx>
21 #ifndef _NMTTools_CoupleOfShape_HeaderFile
22 #include <NMTTools_CoupleOfShape.hxx>
24 #ifndef _NMTTools_ListOfCoupleOfShape_HeaderFile
25 #include <NMTTools_ListOfCoupleOfShape.hxx>
27 #ifndef _NMTTools_ListIteratorOfListOfCoupleOfShape_HeaderFile
28 #include <NMTTools_ListIteratorOfListOfCoupleOfShape.hxx>
30 NMTTools_ListNodeOfListOfCoupleOfShape::~NMTTools_ListNodeOfListOfCoupleOfShape() {}
34 Standard_EXPORT Handle_Standard_Type& NMTTools_ListNodeOfListOfCoupleOfShape_Type_()
37 static Handle_Standard_Type aType1 = STANDARD_TYPE(TCollection_MapNode);
38 if ( aType1.IsNull()) aType1 = STANDARD_TYPE(TCollection_MapNode);
39 static Handle_Standard_Type aType2 = STANDARD_TYPE(MMgt_TShared);
40 if ( aType2.IsNull()) aType2 = STANDARD_TYPE(MMgt_TShared);
41 static Handle_Standard_Type aType3 = STANDARD_TYPE(Standard_Transient);
42 if ( aType3.IsNull()) aType3 = STANDARD_TYPE(Standard_Transient);
45 static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,aType3,NULL};
46 static Handle_Standard_Type _aType = new Standard_Type("NMTTools_ListNodeOfListOfCoupleOfShape",
47 sizeof(NMTTools_ListNodeOfListOfCoupleOfShape),
49 (Standard_Address)_Ancestors,
50 (Standard_Address)NULL);
57 // allow safe downcasting
59 const Handle(NMTTools_ListNodeOfListOfCoupleOfShape) Handle(NMTTools_ListNodeOfListOfCoupleOfShape)::DownCast(const Handle(Standard_Transient)& AnObject)
61 Handle(NMTTools_ListNodeOfListOfCoupleOfShape) _anOtherObject;
63 if (!AnObject.IsNull()) {
64 if (AnObject->IsKind(STANDARD_TYPE(NMTTools_ListNodeOfListOfCoupleOfShape))) {
65 _anOtherObject = Handle(NMTTools_ListNodeOfListOfCoupleOfShape)((Handle(NMTTools_ListNodeOfListOfCoupleOfShape)&)AnObject);
69 return _anOtherObject ;
71 const Handle(Standard_Type)& NMTTools_ListNodeOfListOfCoupleOfShape::DynamicType() const
73 return STANDARD_TYPE(NMTTools_ListNodeOfListOfCoupleOfShape) ;
75 Standard_Boolean NMTTools_ListNodeOfListOfCoupleOfShape::IsKind(const Handle(Standard_Type)& AType) const
77 return (STANDARD_TYPE(NMTTools_ListNodeOfListOfCoupleOfShape) == AType || TCollection_MapNode::IsKind(AType));
79 Handle_NMTTools_ListNodeOfListOfCoupleOfShape::~Handle_NMTTools_ListNodeOfListOfCoupleOfShape() {}
80 #define Item NMTTools_CoupleOfShape
81 #define Item_hxx <NMTTools_CoupleOfShape.hxx>
82 #define TCollection_ListNode NMTTools_ListNodeOfListOfCoupleOfShape
83 #define TCollection_ListNode_hxx <NMTTools_ListNodeOfListOfCoupleOfShape.hxx>
84 #define TCollection_ListIterator NMTTools_ListIteratorOfListOfCoupleOfShape
85 #define TCollection_ListIterator_hxx <NMTTools_ListIteratorOfListOfCoupleOfShape.hxx>
86 #define Handle_TCollection_ListNode Handle_NMTTools_ListNodeOfListOfCoupleOfShape
87 #define TCollection_ListNode_Type_() NMTTools_ListNodeOfListOfCoupleOfShape_Type_()
88 #define TCollection_List NMTTools_ListOfCoupleOfShape
89 #define TCollection_List_hxx <NMTTools_ListOfCoupleOfShape.hxx>
90 #include <TCollection_ListNode.gxx>