Back to index

salome-geom  6.5.0
Handle_GEOM_DataMapNodeOfDataMapOfAsciiStringTransient.hxx
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 //  File   : Handle_GEOM_DataMapNodeOfDataMapOfAsciiStringTransient.hxx
00024 //  Module : GEOM
00025 //
00026 #ifndef _Handle_GEOM_DataMapNodeOfDataMapOfAsciiStringTransient_HeaderFile
00027 #define _Handle_GEOM_DataMapNodeOfDataMapOfAsciiStringTransient_HeaderFile
00028 
00029 #ifndef _Standard_Macro_HeaderFile
00030 #include <Standard_Macro.hxx>
00031 #endif
00032 #ifndef _Standard_HeaderFile
00033 #include <Standard.hxx>
00034 #endif
00035 
00036 #ifndef _Handle_TCollection_MapNode_HeaderFile
00037 #include <Handle_TCollection_MapNode.hxx>
00038 #endif
00039 
00040 class Standard_Transient;
00041 class Handle_Standard_Type;
00042 class Handle(TCollection_MapNode);
00043 class GEOM_DataMapNodeOfDataMapOfAsciiStringTransient;
00044 Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(GEOM_DataMapNodeOfDataMapOfAsciiStringTransient);
00045 
00046 class Handle(GEOM_DataMapNodeOfDataMapOfAsciiStringTransient) : public Handle(TCollection_MapNode) {
00047   public:
00048     void* operator new(size_t,void* anAddress) 
00049       {
00050         return anAddress;
00051       }
00052     void* operator new(size_t size) 
00053       { 
00054         return Standard::Allocate(size); 
00055       }
00056     void  operator delete(void *anAddress) 
00057       { 
00058         if (anAddress) Standard::Free((Standard_Address&)anAddress); 
00059       }
00060     Handle(GEOM_DataMapNodeOfDataMapOfAsciiStringTransient)():Handle(TCollection_MapNode)() {} 
00061     Handle(GEOM_DataMapNodeOfDataMapOfAsciiStringTransient)(const Handle(GEOM_DataMapNodeOfDataMapOfAsciiStringTransient)& aHandle) : Handle(TCollection_MapNode)(aHandle) 
00062      {
00063      }
00064 
00065     Handle(GEOM_DataMapNodeOfDataMapOfAsciiStringTransient)(const GEOM_DataMapNodeOfDataMapOfAsciiStringTransient* anItem) : Handle(TCollection_MapNode)((TCollection_MapNode *)anItem) 
00066      {
00067      }
00068 
00069     Handle(GEOM_DataMapNodeOfDataMapOfAsciiStringTransient)& operator=(const Handle(GEOM_DataMapNodeOfDataMapOfAsciiStringTransient)& aHandle)
00070      {
00071       Assign(aHandle.Access());
00072       return *this;
00073      }
00074 
00075     Handle(GEOM_DataMapNodeOfDataMapOfAsciiStringTransient)& operator=(const GEOM_DataMapNodeOfDataMapOfAsciiStringTransient* anItem)
00076      {
00077       Assign((Standard_Transient *)anItem);
00078       return *this;
00079      }
00080 
00081     GEOM_DataMapNodeOfDataMapOfAsciiStringTransient* operator->() 
00082      {
00083       return (GEOM_DataMapNodeOfDataMapOfAsciiStringTransient *)ControlAccess();
00084      }
00085 
00086     GEOM_DataMapNodeOfDataMapOfAsciiStringTransient* operator->() const 
00087      {
00088       return (GEOM_DataMapNodeOfDataMapOfAsciiStringTransient *)ControlAccess();
00089      }
00090 
00091    Standard_EXPORT ~Handle(GEOM_DataMapNodeOfDataMapOfAsciiStringTransient)();
00092  
00093    Standard_EXPORT static const Handle(GEOM_DataMapNodeOfDataMapOfAsciiStringTransient) DownCast(const Handle(Standard_Transient)& AnObject);
00094 };
00095 #endif