Salome HOME
NRI : Add KERNEL includes and libs.
[modules/smesh.git] / src / SMESHDS / SMESHDS_ListNodeOfListOfAsciiString_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_ListNodeOfListOfAsciiString.hxx"
17
18 #ifndef _Standard_TypeMismatch_HeaderFile
19 #include <Standard_TypeMismatch.hxx>
20 #endif
21
22 #ifndef _SMESHDS_ListOfAsciiString_HeaderFile
23 #include "SMESHDS_ListOfAsciiString.hxx"
24 #endif
25 #ifndef _SMESHDS_ListIteratorOfListOfAsciiString_HeaderFile
26 #include "SMESHDS_ListIteratorOfListOfAsciiString.hxx"
27 #endif
28 SMESHDS_ListNodeOfListOfAsciiString::~SMESHDS_ListNodeOfListOfAsciiString() {}
29  
30
31
32 Standard_EXPORT Handle_Standard_Type& SMESHDS_ListNodeOfListOfAsciiString_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_ListNodeOfListOfAsciiString",
45                                                          sizeof(SMESHDS_ListNodeOfListOfAsciiString),
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_ListNodeOfListOfAsciiString) Handle(SMESHDS_ListNodeOfListOfAsciiString)::DownCast(const Handle(Standard_Transient)& AnObject) 
58 {
59   Handle(SMESHDS_ListNodeOfListOfAsciiString) _anOtherObject;
60
61   if (!AnObject.IsNull()) {
62      if (AnObject->IsKind(STANDARD_TYPE(SMESHDS_ListNodeOfListOfAsciiString))) {
63        _anOtherObject = Handle(SMESHDS_ListNodeOfListOfAsciiString)((Handle(SMESHDS_ListNodeOfListOfAsciiString)&)AnObject);
64      }
65   }
66
67   return _anOtherObject ;
68 }
69 const Handle(Standard_Type)& SMESHDS_ListNodeOfListOfAsciiString::DynamicType() const 
70
71   return STANDARD_TYPE(SMESHDS_ListNodeOfListOfAsciiString) ; 
72 }
73 Standard_Boolean SMESHDS_ListNodeOfListOfAsciiString::IsKind(const Handle(Standard_Type)& AType) const 
74
75   return (STANDARD_TYPE(SMESHDS_ListNodeOfListOfAsciiString) == AType || TCollection_MapNode::IsKind(AType)); 
76 }
77 Handle_SMESHDS_ListNodeOfListOfAsciiString::~Handle_SMESHDS_ListNodeOfListOfAsciiString() {}
78 #define Item TCollection_AsciiString
79 #define Item_hxx <TCollection_AsciiString.hxx>
80 #define TCollection_ListNode SMESHDS_ListNodeOfListOfAsciiString
81 #define TCollection_ListNode_hxx <SMESHDS_ListNodeOfListOfAsciiString.hxx>
82 #define TCollection_ListIterator SMESHDS_ListIteratorOfListOfAsciiString
83 #define TCollection_ListIterator_hxx <SMESHDS_ListIteratorOfListOfAsciiString.hxx>
84 #define Handle_TCollection_ListNode Handle_SMESHDS_ListNodeOfListOfAsciiString
85 #define TCollection_ListNode_Type_() SMESHDS_ListNodeOfListOfAsciiString_Type_()
86 #define TCollection_List SMESHDS_ListOfAsciiString
87 #define TCollection_List_hxx <SMESHDS_ListOfAsciiString.hxx>
88 #include <TCollection_ListNode.gxx>
89