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 _SMDS_MapOfMeshOrientedElement_HeaderFile
16 #define _SMDS_MapOfMeshOrientedElement_HeaderFile
18 #ifndef _SMDS_ExtendedOrientedMap_HeaderFile
19 #include "SMDS_ExtendedOrientedMap.hxx"
21 #ifndef _Standard_Integer_HeaderFile
22 #include <Standard_Integer.hxx>
24 #ifndef _Handle_SMDS_MeshElement_HeaderFile
25 #include "Handle_SMDS_MeshElement.hxx"
27 #ifndef _Standard_Boolean_HeaderFile
28 #include <Standard_Boolean.hxx>
30 class Standard_NoSuchObject;
31 class SMDS_MeshElement;
34 #ifndef _Standard_HeaderFile
35 #include <Standard.hxx>
37 #ifndef _Standard_Macro_HeaderFile
38 #include <Standard_Macro.hxx>
41 class SMDS_MapOfMeshOrientedElement : public SMDS_ExtendedOrientedMap {
45 inline void* operator new(size_t,void* anAddress)
49 inline void* operator new(size_t size)
51 return Standard::Allocate(size);
53 inline void operator delete(void *anAddress)
55 if (anAddress) Standard::Free((Standard_Address&)anAddress);
57 // inline void operator delete(void *anAddress, size_t size)
59 // if (anAddress) Standard::Free((Standard_Address&)anAddress,size);
63 Standard_EXPORT inline SMDS_MapOfMeshOrientedElement(const Standard_Integer NbBuckets = 1);
64 Standard_EXPORT const Handle_SMDS_MeshElement& Find(const Handle(SMDS_MeshElement)& K) const;
65 const Handle_SMDS_MeshElement& operator()(const Handle(SMDS_MeshElement)& K) const
70 Standard_EXPORT Handle_SMDS_MeshElement& ChangeFind(const Handle(SMDS_MeshElement)& K) ;
71 Handle_SMDS_MeshElement& operator()(const Handle(SMDS_MeshElement)& K)
76 Standard_EXPORT const Handle_SMDS_MeshElement& FindID(const Standard_Integer ID) const;
77 const Handle_SMDS_MeshElement& operator()(const Standard_Integer ID) const
82 Standard_EXPORT Standard_Boolean ContainsID(const Standard_Integer ID) const;
111 #include "SMDS_MapOfMeshOrientedElement.lxx"
115 // other inline functions and methods (like "C++: function call" methods)