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 _SMESHDS_DataMapOfShapeListOfPtrHypothesis_HeaderFile
16 #define _SMESHDS_DataMapOfShapeListOfPtrHypothesis_HeaderFile
18 #ifndef _TCollection_BasicMap_HeaderFile
19 #include <TCollection_BasicMap.hxx>
21 #ifndef _Handle_SMESHDS_DataMapNodeOfDataMapOfShapeListOfPtrHypothesis_HeaderFile
22 #include "Handle_SMESHDS_DataMapNodeOfDataMapOfShapeListOfPtrHypothesis.hxx"
24 #ifndef _Standard_Integer_HeaderFile
25 #include <Standard_Integer.hxx>
27 #ifndef _Standard_Boolean_HeaderFile
28 #include <Standard_Boolean.hxx>
30 class Standard_DomainError;
31 class Standard_NoSuchObject;
33 class SMESHDS_ListOfPtrHypothesis;
34 class TopTools_ShapeMapHasher;
35 class SMESHDS_DataMapNodeOfDataMapOfShapeListOfPtrHypothesis;
36 class SMESHDS_DataMapIteratorOfDataMapOfShapeListOfPtrHypothesis;
39 #ifndef _Standard_HeaderFile
40 #include <Standard.hxx>
42 #ifndef _Standard_Macro_HeaderFile
43 #include <Standard_Macro.hxx>
46 class SMESHDS_DataMapOfShapeListOfPtrHypothesis : public TCollection_BasicMap {
50 inline void* operator new(size_t,void* anAddress)
54 inline void* operator new(size_t size)
56 return Standard::Allocate(size);
58 inline void operator delete(void *anAddress)
60 if (anAddress) Standard::Free((Standard_Address&)anAddress);
62 // inline void operator delete(void *anAddress, size_t size)
64 // if (anAddress) Standard::Free((Standard_Address&)anAddress,size);
68 Standard_EXPORT SMESHDS_DataMapOfShapeListOfPtrHypothesis(const Standard_Integer NbBuckets = 1);
69 Standard_EXPORT SMESHDS_DataMapOfShapeListOfPtrHypothesis& Assign(const SMESHDS_DataMapOfShapeListOfPtrHypothesis& Other) ;
70 SMESHDS_DataMapOfShapeListOfPtrHypothesis& operator =(const SMESHDS_DataMapOfShapeListOfPtrHypothesis& Other)
75 Standard_EXPORT void ReSize(const Standard_Integer NbBuckets) ;
76 Standard_EXPORT void Clear() ;
77 ~SMESHDS_DataMapOfShapeListOfPtrHypothesis()
82 Standard_EXPORT Standard_Boolean Bind(const TopoDS_Shape& K,const SMESHDS_ListOfPtrHypothesis& I) ;
83 Standard_EXPORT Standard_Boolean IsBound(const TopoDS_Shape& K) const;
84 Standard_EXPORT Standard_Boolean UnBind(const TopoDS_Shape& K) ;
85 Standard_EXPORT const SMESHDS_ListOfPtrHypothesis& Find(const TopoDS_Shape& K) const;
86 const SMESHDS_ListOfPtrHypothesis& operator()(const TopoDS_Shape& K) const
91 Standard_EXPORT SMESHDS_ListOfPtrHypothesis& ChangeFind(const TopoDS_Shape& K) ;
92 SMESHDS_ListOfPtrHypothesis& operator()(const TopoDS_Shape& K)
116 Standard_EXPORT SMESHDS_DataMapOfShapeListOfPtrHypothesis(const SMESHDS_DataMapOfShapeListOfPtrHypothesis& Other);
129 // other inline functions and methods (like "C++: function call" methods)