]> SALOME platform Git repositories - modules/kernel.git/blob - src/SALOMEDS/Handle_SALOMEDS_DataMapNodeOfDataMapOfIntegerString.hxx
Salome HOME
NRI : Remove dependence with VISU.
[modules/kernel.git] / src / SALOMEDS / Handle_SALOMEDS_DataMapNodeOfDataMapOfIntegerString.hxx
1 //  File      : Handle_SALOMEDS_DataMapNodeOfDataMapOfIntegerString.hxx
2 //  Created   : Mon Apr  7 10:13:30 2003
3 //  Author    : Sergey Ruin
4 //  Project   : SALOME
5 //  Module    : SALOMEDS
6 //  Copyright : Open CASCADE
7
8
9 #ifndef _Handle_SALOMEDS_DataMapNodeOfDataMapOfIntegerString_HeaderFile
10 #define _Handle_SALOMEDS_DataMapNodeOfDataMapOfIntegerString_HeaderFile
11
12 #ifndef _Standard_Macro_HeaderFile
13 #include <Standard_Macro.hxx>
14 #endif
15 #ifndef _Standard_HeaderFile
16 #include <Standard.hxx>
17 #endif
18
19 #ifndef _Handle_TCollection_MapNode_HeaderFile
20 #include <Handle_TCollection_MapNode.hxx>
21 #endif
22
23 class Standard_Transient;
24 class Handle_Standard_Type;
25 class Handle(TCollection_MapNode);
26 class SALOMEDS_DataMapNodeOfDataMapOfIntegerString;
27 Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(SALOMEDS_DataMapNodeOfDataMapOfIntegerString);
28
29 class Handle(SALOMEDS_DataMapNodeOfDataMapOfIntegerString) : public Handle(TCollection_MapNode) {
30   public:
31     void* operator new(size_t,void* anAddress) 
32       {
33         return anAddress;
34       }
35     void* operator new(size_t size) 
36       { 
37         return Standard::Allocate(size); 
38       }
39     void  operator delete(void *anAddress) 
40       { 
41         if (anAddress) Standard::Free((Standard_Address&)anAddress); 
42       }
43     Handle(SALOMEDS_DataMapNodeOfDataMapOfIntegerString)():Handle(TCollection_MapNode)() {} 
44     Handle(SALOMEDS_DataMapNodeOfDataMapOfIntegerString)(const Handle(SALOMEDS_DataMapNodeOfDataMapOfIntegerString)& aHandle) : Handle(TCollection_MapNode)(aHandle) 
45      {
46      }
47
48     Handle(SALOMEDS_DataMapNodeOfDataMapOfIntegerString)(const SALOMEDS_DataMapNodeOfDataMapOfIntegerString* anItem) : Handle(TCollection_MapNode)((TCollection_MapNode *)anItem) 
49      {
50      }
51
52     Handle(SALOMEDS_DataMapNodeOfDataMapOfIntegerString)& operator=(const Handle(SALOMEDS_DataMapNodeOfDataMapOfIntegerString)& aHandle)
53      {
54       Assign(aHandle.Access());
55       return *this;
56      }
57
58     Handle(SALOMEDS_DataMapNodeOfDataMapOfIntegerString)& operator=(const SALOMEDS_DataMapNodeOfDataMapOfIntegerString* anItem)
59      {
60       Assign((Standard_Transient *)anItem);
61       return *this;
62      }
63
64     SALOMEDS_DataMapNodeOfDataMapOfIntegerString* operator->() 
65      {
66       return (SALOMEDS_DataMapNodeOfDataMapOfIntegerString *)ControlAccess();
67      }
68
69     SALOMEDS_DataMapNodeOfDataMapOfIntegerString* operator->() const 
70      {
71       return (SALOMEDS_DataMapNodeOfDataMapOfIntegerString *)ControlAccess();
72      }
73
74    Standard_EXPORT ~Handle(SALOMEDS_DataMapNodeOfDataMapOfIntegerString)();
75  
76    Standard_EXPORT static const Handle(SALOMEDS_DataMapNodeOfDataMapOfIntegerString) DownCast(const Handle(Standard_Transient)& AnObject);
77 };
78 #endif