Back to index

salome-gui  6.5.0
SALOME_ListNodeOfListIO_0.cxx
Go to the documentation of this file.
00001 // Copyright (C) 2007-2012  CEA/DEN, EDF R&D, OPEN CASCADE
00002 //
00003 // Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
00004 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
00005 //
00006 // This library is free software; you can redistribute it and/or
00007 // modify it under the terms of the GNU Lesser General Public
00008 // License as published by the Free Software Foundation; either
00009 // version 2.1 of the License.
00010 //
00011 // This library is distributed in the hope that it will be useful,
00012 // but WITHOUT ANY WARRANTY; without even the implied warranty of
00013 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00014 // Lesser General Public License for more details.
00015 //
00016 // You should have received a copy of the GNU Lesser General Public
00017 // License along with this library; if not, write to the Free Software
00018 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
00019 //
00020 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
00021 //
00022 
00023 //  SALOME SALOMEGUI : implementation of desktop and GUI kernel
00024 //  File   : SALOME_ListNodeOfListIO_0.cxx
00025 
00026 #include "SALOME_ListNodeOfListIO.hxx"
00027 
00028 #ifndef _Standard_TypeMismatch_HeaderFile
00029 #include <Standard_TypeMismatch.hxx>
00030 #endif
00031 
00032 #ifndef _SALOME_InteractiveObject_HeaderFile
00033 #include "SALOME_InteractiveObject.hxx"
00034 #endif
00035 #ifndef _SALOME_ListIO_HeaderFile
00036 #include "SALOME_ListIO.hxx"
00037 #endif
00038 #ifndef _SALOME_ListIteratorOfListIO_HeaderFile
00039 #include "SALOME_ListIteratorOfListIO.hxx"
00040 #endif
00041 
00045 SALOME_ListNodeOfListIO::~SALOME_ListNodeOfListIO() {}
00046  
00047 
00051 Standard_EXPORT Handle_Standard_Type& SALOME_ListNodeOfListIO_Type_()
00052 {
00053 
00054     static Handle_Standard_Type aType1 = STANDARD_TYPE(TCollection_MapNode);
00055   if ( aType1.IsNull()) aType1 = STANDARD_TYPE(TCollection_MapNode);
00056   static Handle_Standard_Type aType2 = STANDARD_TYPE(MMgt_TShared);
00057   if ( aType2.IsNull()) aType2 = STANDARD_TYPE(MMgt_TShared);
00058   static Handle_Standard_Type aType3 = STANDARD_TYPE(Standard_Transient);
00059   if ( aType3.IsNull()) aType3 = STANDARD_TYPE(Standard_Transient);
00060  
00061 
00062   static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,aType3,NULL};
00063   static Handle_Standard_Type _aType = new Standard_Type("SALOME_ListNodeOfListIO",
00064                                                          sizeof(SALOME_ListNodeOfListIO),
00065                                                          1,
00066                                                          (Standard_Address)_Ancestors,
00067                                                          (Standard_Address)NULL);
00068 
00069   return _aType;
00070 }
00071 
00072 
00076 const Handle(SALOME_ListNodeOfListIO) Handle(SALOME_ListNodeOfListIO)::DownCast(const Handle(Standard_Transient)& AnObject) 
00077 {
00078   Handle(SALOME_ListNodeOfListIO) _anOtherObject;
00079 
00080   if (!AnObject.IsNull()) {
00081      if (AnObject->IsKind(STANDARD_TYPE(SALOME_ListNodeOfListIO))) {
00082        _anOtherObject = Handle(SALOME_ListNodeOfListIO)((Handle(SALOME_ListNodeOfListIO)&)AnObject);
00083      }
00084   }
00085 
00086   return _anOtherObject ;
00087 }
00088 
00092 const Handle(Standard_Type)& SALOME_ListNodeOfListIO::DynamicType() const 
00093 { 
00094   return STANDARD_TYPE(SALOME_ListNodeOfListIO) ; 
00095 }
00096 
00101 Standard_Boolean SALOME_ListNodeOfListIO::IsKind(const Handle(Standard_Type)& AType) const 
00102 { 
00103   return (STANDARD_TYPE(SALOME_ListNodeOfListIO) == AType || TCollection_MapNode::IsKind(AType)); 
00104 }
00108 Handle_SALOME_ListNodeOfListIO::~Handle_SALOME_ListNodeOfListIO() {}
00109 #define Item Handle_SALOME_InteractiveObject
00110 #define Item_hxx "SALOME_InteractiveObject.hxx"
00111 #define TCollection_ListNode SALOME_ListNodeOfListIO
00112 #define TCollection_ListNode_hxx "SALOME_ListNodeOfListIO.hxx"
00113 #define TCollection_ListIterator SALOME_ListIteratorOfListIO
00114 #define TCollection_ListIterator_hxx "SALOME_ListIteratorOfListIO.hxx"
00115 #define Handle_TCollection_ListNode Handle_SALOME_ListNodeOfListIO
00116 #define TCollection_ListNode_Type_() SALOME_ListNodeOfListIO_Type_()
00117 #define TCollection_List SALOME_ListIO
00118 #define TCollection_List_hxx "SALOME_ListIO.hxx"
00119 #include <TCollection_ListNode.gxx>
00120