Salome HOME
Merge with version on tag OCC-V2_1_0d
[modules/geom.git] / src / NMTTools / NMTTools_ListNodeOfListOfCoupleOfShape_0.cxx
1 // File generated by CPPExt (Transient)
2 //                     Copyright (C) 1991,1995 by
3 //  
4 //                      MATRA DATAVISION, FRANCE
5 //  
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.
11 //  
12 // At the termination of the contract, the software and all copies of this
13 // software must be deleted.
14 //
15 #include <NMTTools_ListNodeOfListOfCoupleOfShape.hxx>
16
17 #ifndef _Standard_TypeMismatch_HeaderFile
18 #include <Standard_TypeMismatch.hxx>
19 #endif
20
21 #ifndef _NMTTools_CoupleOfShape_HeaderFile
22 #include <NMTTools_CoupleOfShape.hxx>
23 #endif
24 #ifndef _NMTTools_ListOfCoupleOfShape_HeaderFile
25 #include <NMTTools_ListOfCoupleOfShape.hxx>
26 #endif
27 #ifndef _NMTTools_ListIteratorOfListOfCoupleOfShape_HeaderFile
28 #include <NMTTools_ListIteratorOfListOfCoupleOfShape.hxx>
29 #endif
30 NMTTools_ListNodeOfListOfCoupleOfShape::~NMTTools_ListNodeOfListOfCoupleOfShape() {}
31  
32
33
34 Standard_EXPORT Handle_Standard_Type& NMTTools_ListNodeOfListOfCoupleOfShape_Type_()
35 {
36
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);
43  
44
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),
48                                                          1,
49                                                          (Standard_Address)_Ancestors,
50                                                          (Standard_Address)NULL);
51
52   return _aType;
53 }
54
55
56 // DownCast method
57 //   allow safe downcasting
58 //
59 const Handle(NMTTools_ListNodeOfListOfCoupleOfShape) Handle(NMTTools_ListNodeOfListOfCoupleOfShape)::DownCast(const Handle(Standard_Transient)& AnObject) 
60 {
61   Handle(NMTTools_ListNodeOfListOfCoupleOfShape) _anOtherObject;
62
63   if (!AnObject.IsNull()) {
64      if (AnObject->IsKind(STANDARD_TYPE(NMTTools_ListNodeOfListOfCoupleOfShape))) {
65        _anOtherObject = Handle(NMTTools_ListNodeOfListOfCoupleOfShape)((Handle(NMTTools_ListNodeOfListOfCoupleOfShape)&)AnObject);
66      }
67   }
68
69   return _anOtherObject ;
70 }
71 const Handle(Standard_Type)& NMTTools_ListNodeOfListOfCoupleOfShape::DynamicType() const 
72
73   return STANDARD_TYPE(NMTTools_ListNodeOfListOfCoupleOfShape) ; 
74 }
75 Standard_Boolean NMTTools_ListNodeOfListOfCoupleOfShape::IsKind(const Handle(Standard_Type)& AType) const 
76
77   return (STANDARD_TYPE(NMTTools_ListNodeOfListOfCoupleOfShape) == AType || TCollection_MapNode::IsKind(AType)); 
78 }
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>
91