Salome HOME
This commit was generated by cvs2git to track changes on a CVS vendor
[modules/smesh.git] / src / SMESHDS / SMESHDS_ListNodeOfListOfCommand_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_ListNodeOfListOfCommand.hxx"
17
18 #ifndef _Standard_TypeMismatch_HeaderFile
19 #include <Standard_TypeMismatch.hxx>
20 #endif
21
22 #ifndef _SMESHDS_Command_HeaderFile
23 #include "SMESHDS_Command.hxx"
24 #endif
25 #ifndef _SMESHDS_ListOfCommand_HeaderFile
26 #include "SMESHDS_ListOfCommand.hxx"
27 #endif
28 #ifndef _SMESHDS_ListIteratorOfListOfCommand_HeaderFile
29 #include "SMESHDS_ListIteratorOfListOfCommand.hxx"
30 #endif
31 SMESHDS_ListNodeOfListOfCommand::~SMESHDS_ListNodeOfListOfCommand() {}
32  
33
34
35 Standard_EXPORT Handle_Standard_Type& SMESHDS_ListNodeOfListOfCommand_Type_()
36 {
37
38     static Handle_Standard_Type aType1 = STANDARD_TYPE(TCollection_MapNode);
39   if ( aType1.IsNull()) aType1 = STANDARD_TYPE(TCollection_MapNode);
40   static Handle_Standard_Type aType2 = STANDARD_TYPE(MMgt_TShared);
41   if ( aType2.IsNull()) aType2 = STANDARD_TYPE(MMgt_TShared);
42   static Handle_Standard_Type aType3 = STANDARD_TYPE(Standard_Transient);
43   if ( aType3.IsNull()) aType3 = STANDARD_TYPE(Standard_Transient);
44  
45
46   static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,aType3,NULL};
47   static Handle_Standard_Type _aType = new Standard_Type("SMESHDS_ListNodeOfListOfCommand",
48                                                          sizeof(SMESHDS_ListNodeOfListOfCommand),
49                                                          1,
50                                                          (Standard_Address)_Ancestors,
51                                                          (Standard_Address)NULL);
52
53   return _aType;
54 }
55
56
57 // DownCast method
58 //   allow safe downcasting
59 //
60 const Handle(SMESHDS_ListNodeOfListOfCommand) Handle(SMESHDS_ListNodeOfListOfCommand)::DownCast(const Handle(Standard_Transient)& AnObject) 
61 {
62   Handle(SMESHDS_ListNodeOfListOfCommand) _anOtherObject;
63
64   if (!AnObject.IsNull()) {
65      if (AnObject->IsKind(STANDARD_TYPE(SMESHDS_ListNodeOfListOfCommand))) {
66        _anOtherObject = Handle(SMESHDS_ListNodeOfListOfCommand)((Handle(SMESHDS_ListNodeOfListOfCommand)&)AnObject);
67      }
68   }
69
70   return _anOtherObject ;
71 }
72 const Handle(Standard_Type)& SMESHDS_ListNodeOfListOfCommand::DynamicType() const 
73
74   return STANDARD_TYPE(SMESHDS_ListNodeOfListOfCommand) ; 
75 }
76 Standard_Boolean SMESHDS_ListNodeOfListOfCommand::IsKind(const Handle(Standard_Type)& AType) const 
77
78   return (STANDARD_TYPE(SMESHDS_ListNodeOfListOfCommand) == AType || TCollection_MapNode::IsKind(AType)); 
79 }
80 Handle_SMESHDS_ListNodeOfListOfCommand::~Handle_SMESHDS_ListNodeOfListOfCommand() {}
81 #define Item Handle_SMESHDS_Command
82 #define Item_hxx <SMESHDS_Command.hxx>
83 #define TCollection_ListNode SMESHDS_ListNodeOfListOfCommand
84 #define TCollection_ListNode_hxx <SMESHDS_ListNodeOfListOfCommand.hxx>
85 #define TCollection_ListIterator SMESHDS_ListIteratorOfListOfCommand
86 #define TCollection_ListIterator_hxx <SMESHDS_ListIteratorOfListOfCommand.hxx>
87 #define Handle_TCollection_ListNode Handle_SMESHDS_ListNodeOfListOfCommand
88 #define TCollection_ListNode_Type_() SMESHDS_ListNodeOfListOfCommand_Type_()
89 #define TCollection_List SMESHDS_ListOfCommand
90 #define TCollection_List_hxx <SMESHDS_ListOfCommand.hxx>
91 #include <TCollection_ListNode.gxx>
92