Salome HOME
NRI : Add KERNEL includes and libs.
[modules/smesh.git] / src / SMESHDS / SMESHDS_ListNodeOfListOfPtrHypothesis_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 "SMESHDS_ListNodeOfListOfPtrHypothesis.hxx"
17
18 #ifndef _Standard_TypeMismatch_HeaderFile
19 #include <Standard_TypeMismatch.hxx>
20 #endif
21
22 #ifndef _SMESHDS_ListOfPtrHypothesis_HeaderFile
23 #include "SMESHDS_ListOfPtrHypothesis.hxx"
24 #endif
25 #ifndef _SMESHDS_ListIteratorOfListOfPtrHypothesis_HeaderFile
26 #include "SMESHDS_ListIteratorOfListOfPtrHypothesis.hxx"
27 #endif
28 SMESHDS_ListNodeOfListOfPtrHypothesis::~SMESHDS_ListNodeOfListOfPtrHypothesis() {}
29  
30
31
32 Standard_EXPORT Handle_Standard_Type& SMESHDS_ListNodeOfListOfPtrHypothesis_Type_()
33 {
34
35     static Handle_Standard_Type aType1 = STANDARD_TYPE(TCollection_MapNode);
36   if ( aType1.IsNull()) aType1 = STANDARD_TYPE(TCollection_MapNode);
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);
41  
42
43   static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,aType3,NULL};
44   static Handle_Standard_Type _aType = new Standard_Type("SMESHDS_ListNodeOfListOfPtrHypothesis",
45                                                          sizeof(SMESHDS_ListNodeOfListOfPtrHypothesis),
46                                                          1,
47                                                          (Standard_Address)_Ancestors,
48                                                          (Standard_Address)NULL);
49
50   return _aType;
51 }
52
53
54 // DownCast method
55 //   allow safe downcasting
56 //
57 const Handle(SMESHDS_ListNodeOfListOfPtrHypothesis) Handle(SMESHDS_ListNodeOfListOfPtrHypothesis)::DownCast(const Handle(Standard_Transient)& AnObject) 
58 {
59   Handle(SMESHDS_ListNodeOfListOfPtrHypothesis) _anOtherObject;
60
61   if (!AnObject.IsNull()) {
62      if (AnObject->IsKind(STANDARD_TYPE(SMESHDS_ListNodeOfListOfPtrHypothesis))) {
63        _anOtherObject = Handle(SMESHDS_ListNodeOfListOfPtrHypothesis)((Handle(SMESHDS_ListNodeOfListOfPtrHypothesis)&)AnObject);
64      }
65   }
66
67   return _anOtherObject ;
68 }
69 const Handle(Standard_Type)& SMESHDS_ListNodeOfListOfPtrHypothesis::DynamicType() const 
70
71   return STANDARD_TYPE(SMESHDS_ListNodeOfListOfPtrHypothesis) ; 
72 }
73 Standard_Boolean SMESHDS_ListNodeOfListOfPtrHypothesis::IsKind(const Handle(Standard_Type)& AType) const 
74
75   return (STANDARD_TYPE(SMESHDS_ListNodeOfListOfPtrHypothesis) == AType || TCollection_MapNode::IsKind(AType)); 
76 }
77 Handle_SMESHDS_ListNodeOfListOfPtrHypothesis::~Handle_SMESHDS_ListNodeOfListOfPtrHypothesis() {}
78 #define Item SMESHDS_PtrHypothesis
79 #define Item_hxx <SMESHDS_PtrHypothesis.hxx>
80 #define TCollection_ListNode SMESHDS_ListNodeOfListOfPtrHypothesis
81 #define TCollection_ListNode_hxx <SMESHDS_ListNodeOfListOfPtrHypothesis.hxx>
82 #define TCollection_ListIterator SMESHDS_ListIteratorOfListOfPtrHypothesis
83 #define TCollection_ListIterator_hxx <SMESHDS_ListIteratorOfListOfPtrHypothesis.hxx>
84 #define Handle_TCollection_ListNode Handle_SMESHDS_ListNodeOfListOfPtrHypothesis
85 #define TCollection_ListNode_Type_() SMESHDS_ListNodeOfListOfPtrHypothesis_Type_()
86 #define TCollection_List SMESHDS_ListOfPtrHypothesis
87 #define TCollection_List_hxx <SMESHDS_ListOfPtrHypothesis.hxx>
88 #include <TCollection_ListNode.gxx>
89