Salome HOME
Initialisation de la base KERNEL avec la version operationnelle de KERNEL_SRC issue...
[modules/kernel.git] / src / SALOMEGUI / SALOME_DataMapOfIOMapOfInteger.hxx
1 // File generated by CPPExt (Value)
2 //                     Copyright (C) 1991,1995 by
3 //  
4 //                      MATRA DATAVISION, FRANCE
5 //  
6 // This software is furnished in accordance with the terms and conditions
7 // of the contract and with the inclusion of the above copyright notice.
8 // This software or any other copy thereof may not be provided or otherwise
9 // be made available to any other person. No title to an ownership of the
10 // software is hereby transferred.
11 //  
12 // At the termination of the contract, the software and all copies of this
13 // software must be deleted.
14
15 #ifndef _SALOME_DataMapOfIOMapOfInteger_HeaderFile
16 #define _SALOME_DataMapOfIOMapOfInteger_HeaderFile
17
18 #ifndef _TCollection_BasicMap_HeaderFile
19 #include <TCollection_BasicMap.hxx>
20 #endif
21 #ifndef _Handle_SALOME_InteractiveObject_HeaderFile
22 #include <Handle_SALOME_InteractiveObject.hxx>
23 #endif
24 #ifndef _Handle_SALOME_DataMapNodeOfDataMapOfIOMapOfInteger_HeaderFile
25 #include <Handle_SALOME_DataMapNodeOfDataMapOfIOMapOfInteger.hxx>
26 #endif
27 #ifndef _Standard_Integer_HeaderFile
28 #include <Standard_Integer.hxx>
29 #endif
30 #ifndef _Standard_Boolean_HeaderFile
31 #include <Standard_Boolean.hxx>
32 #endif
33 class Standard_DomainError;
34 class Standard_NoSuchObject;
35 class SALOME_InteractiveObject;
36 class TColStd_MapOfInteger;
37 class TColStd_MapTransientHasher;
38 class SALOME_DataMapNodeOfDataMapOfIOMapOfInteger;
39 class SALOME_DataMapIteratorOfDataMapOfIOMapOfInteger;
40
41
42 #ifndef _Standard_HeaderFile
43 #include <Standard.hxx>
44 #endif
45 #ifndef _Standard_Macro_HeaderFile
46 #include <Standard_Macro.hxx>
47 #endif
48
49 class SALOME_DataMapOfIOMapOfInteger  : public TCollection_BasicMap {
50
51 public:
52
53     inline void* operator new(size_t,void* anAddress) 
54       {
55         return anAddress;
56       }
57     inline void* operator new(size_t size) 
58       { 
59         return Standard::Allocate(size); 
60       }
61     inline void  operator delete(void *anAddress) 
62       { 
63         if (anAddress) Standard::Free((Standard_Address&)anAddress); 
64       }
65 //    inline void  operator delete(void *anAddress, size_t size) 
66 //      { 
67 //        if (anAddress) Standard::Free((Standard_Address&)anAddress,size); 
68 //      }
69  // Methods PUBLIC
70  // 
71 Standard_EXPORT SALOME_DataMapOfIOMapOfInteger(const Standard_Integer NbBuckets = 1);
72 Standard_EXPORT   SALOME_DataMapOfIOMapOfInteger& Assign(const SALOME_DataMapOfIOMapOfInteger& Other) ;
73   SALOME_DataMapOfIOMapOfInteger& operator =(const SALOME_DataMapOfIOMapOfInteger& Other) 
74 {
75   return Assign(Other);
76 }
77
78 Standard_EXPORT   void ReSize(const Standard_Integer NbBuckets) ;
79 Standard_EXPORT   void Clear() ;
80 ~SALOME_DataMapOfIOMapOfInteger()
81 {
82   Clear();
83 }
84
85 Standard_EXPORT   Standard_Boolean Bind(const Handle(SALOME_InteractiveObject)& K,const TColStd_MapOfInteger& I) ;
86 Standard_EXPORT   Standard_Boolean IsBound(const Handle(SALOME_InteractiveObject)& K) const;
87 Standard_EXPORT   Standard_Boolean UnBind(const Handle(SALOME_InteractiveObject)& K) ;
88 Standard_EXPORT  const TColStd_MapOfInteger& Find(const Handle(SALOME_InteractiveObject)& K) const;
89  const TColStd_MapOfInteger& operator()(const Handle(SALOME_InteractiveObject)& K) const
90 {
91   return Find(K);
92 }
93
94 Standard_EXPORT   TColStd_MapOfInteger& ChangeFind(const Handle(SALOME_InteractiveObject)& K) ;
95   TColStd_MapOfInteger& operator()(const Handle(SALOME_InteractiveObject)& K) 
96 {
97   return ChangeFind(K);
98 }
99
100
101
102
103
104
105 protected:
106
107  // Methods PROTECTED
108  // 
109
110
111  // Fields PROTECTED
112  //
113
114
115 private: 
116
117  // Methods PRIVATE
118  // 
119 Standard_EXPORT SALOME_DataMapOfIOMapOfInteger(const SALOME_DataMapOfIOMapOfInteger& Other);
120
121
122  // Fields PRIVATE
123  //
124
125
126 };
127
128
129
130
131
132 // other inline functions and methods (like "C++: function call" methods)
133 //
134
135
136 #endif