1 // SALOME SALOMEDS : data structure of SALOME and sources of Salome data server
3 // Copyright (C) 2003 CEA/DEN, EDF R&D
7 // File : Handle_SALOMEDS_DataMapNodeOfDataMapOfIntegerString.hxx
8 // Author : Sergey Ruin
11 #ifndef _Handle_SALOMEDS_DataMapNodeOfDataMapOfIntegerString_HeaderFile
12 #define _Handle_SALOMEDS_DataMapNodeOfDataMapOfIntegerString_HeaderFile
14 #ifndef _Standard_Macro_HeaderFile
15 #include <Standard_Macro.hxx>
17 #ifndef _Standard_HeaderFile
18 #include <Standard.hxx>
21 #ifndef _Handle_TCollection_MapNode_HeaderFile
22 #include <Handle_TCollection_MapNode.hxx>
25 class Standard_Transient;
26 class Handle_Standard_Type;
27 class Handle(TCollection_MapNode);
28 class SALOMEDS_DataMapNodeOfDataMapOfIntegerString;
29 Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(SALOMEDS_DataMapNodeOfDataMapOfIntegerString);
31 class Handle(SALOMEDS_DataMapNodeOfDataMapOfIntegerString) : public Handle(TCollection_MapNode) {
33 void* operator new(size_t,void* anAddress)
37 void* operator new(size_t size)
39 return Standard::Allocate(size);
41 void operator delete(void *anAddress)
43 if (anAddress) Standard::Free((Standard_Address&)anAddress);
45 Handle(SALOMEDS_DataMapNodeOfDataMapOfIntegerString)():Handle(TCollection_MapNode)() {}
46 Handle(SALOMEDS_DataMapNodeOfDataMapOfIntegerString)(const Handle(SALOMEDS_DataMapNodeOfDataMapOfIntegerString)& aHandle) : Handle(TCollection_MapNode)(aHandle)
50 Handle(SALOMEDS_DataMapNodeOfDataMapOfIntegerString)(const SALOMEDS_DataMapNodeOfDataMapOfIntegerString* anItem) : Handle(TCollection_MapNode)((TCollection_MapNode *)anItem)
54 Handle(SALOMEDS_DataMapNodeOfDataMapOfIntegerString)& operator=(const Handle(SALOMEDS_DataMapNodeOfDataMapOfIntegerString)& aHandle)
56 Assign(aHandle.Access());
60 Handle(SALOMEDS_DataMapNodeOfDataMapOfIntegerString)& operator=(const SALOMEDS_DataMapNodeOfDataMapOfIntegerString* anItem)
62 Assign((Standard_Transient *)anItem);
66 SALOMEDS_DataMapNodeOfDataMapOfIntegerString* operator->()
68 return (SALOMEDS_DataMapNodeOfDataMapOfIntegerString *)ControlAccess();
71 SALOMEDS_DataMapNodeOfDataMapOfIntegerString* operator->() const
73 return (SALOMEDS_DataMapNodeOfDataMapOfIntegerString *)ControlAccess();
76 Standard_EXPORT ~Handle(SALOMEDS_DataMapNodeOfDataMapOfIntegerString)();
78 Standard_EXPORT static const Handle(SALOMEDS_DataMapNodeOfDataMapOfIntegerString) DownCast(const Handle(Standard_Transient)& AnObject);