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