1 // File generated by CPPExt (Value)
2 // Copyright (C) 1991,1995 by
4 // MATRA DATAVISION, FRANCE
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.
12 // At the termination of the contract, the software and all copies of this
13 // software must be deleted.
15 #ifndef _SALOME_DataMapOfIOMapOfInteger_HeaderFile
16 #define _SALOME_DataMapOfIOMapOfInteger_HeaderFile
18 #ifndef _TCollection_BasicMap_HeaderFile
19 #include <TCollection_BasicMap.hxx>
21 #ifndef _Handle_SALOME_InteractiveObject_HeaderFile
22 #include <Handle_SALOME_InteractiveObject.hxx>
24 #ifndef _Handle_SALOME_DataMapNodeOfDataMapOfIOMapOfInteger_HeaderFile
25 #include <Handle_SALOME_DataMapNodeOfDataMapOfIOMapOfInteger.hxx>
27 #ifndef _Standard_Integer_HeaderFile
28 #include <Standard_Integer.hxx>
30 #ifndef _Standard_Boolean_HeaderFile
31 #include <Standard_Boolean.hxx>
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;
42 #ifndef _Standard_HeaderFile
43 #include <Standard.hxx>
45 #ifndef _Standard_Macro_HeaderFile
46 #include <Standard_Macro.hxx>
49 class SALOME_DataMapOfIOMapOfInteger : public TCollection_BasicMap {
53 inline void* operator new(size_t,void* anAddress)
57 inline void* operator new(size_t size)
59 return Standard::Allocate(size);
61 inline void operator delete(void *anAddress)
63 if (anAddress) Standard::Free((Standard_Address&)anAddress);
65 // inline void operator delete(void *anAddress, size_t size)
67 // if (anAddress) Standard::Free((Standard_Address&)anAddress,size);
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)
78 Standard_EXPORT void ReSize(const Standard_Integer NbBuckets) ;
79 Standard_EXPORT void Clear() ;
80 ~SALOME_DataMapOfIOMapOfInteger()
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
94 Standard_EXPORT TColStd_MapOfInteger& ChangeFind(const Handle(SALOME_InteractiveObject)& K) ;
95 TColStd_MapOfInteger& operator()(const Handle(SALOME_InteractiveObject)& K)
119 Standard_EXPORT SALOME_DataMapOfIOMapOfInteger(const SALOME_DataMapOfIOMapOfInteger& Other);
132 // other inline functions and methods (like "C++: function call" methods)