1 // File generated by CPPExt (Transient)
3 // Copyright (C) 1991,1995 by
5 // MATRA DATAVISION, FRANCE
7 // This software is furnished in accordance with the terms and conditions
8 // of the contract and with the inclusion of the above copyright notice.
9 // This software or any other copy thereof may not be provided or otherwise
10 // be made available to any other person. No title to an ownership of the
11 // software is hereby transferred.
13 // At the termination of the contract, the software and all copies of this
14 // software must be deleted.
16 #ifndef _SMDS_MeshNodeIDFactory_HeaderFile
17 #define _SMDS_MeshNodeIDFactory_HeaderFile
19 #ifndef _Standard_HeaderFile
20 #include <Standard.hxx>
22 #ifndef _Handle_SMDS_MeshNodeIDFactory_HeaderFile
23 #include "Handle_SMDS_MeshNodeIDFactory.hxx"
26 #ifndef _SMDS_MeshIDFactory_HeaderFile
27 #include "SMDS_MeshIDFactory.hxx"
29 #ifndef _Standard_Integer_HeaderFile
30 #include <Standard_Integer.hxx>
34 class SMDS_MeshNodeIDFactory : public SMDS_MeshIDFactory {
38 inline void* operator new(size_t,void* anAddress)
42 inline void* operator new(size_t size)
44 return Standard::Allocate(size);
46 inline void operator delete(void *anAddress)
48 if (anAddress) Standard::Free((Standard_Address&)anAddress);
50 // inline void operator delete(void *anAddress, size_t size)
52 // if (anAddress) Standard::Free((Standard_Address&)anAddress,size);
56 Standard_EXPORT SMDS_MeshNodeIDFactory();
57 Standard_EXPORT inline Standard_Integer GetFreeID() ;
58 Standard_EXPORT inline void ReleaseID(const Standard_Integer ID) ;
59 Standard_EXPORT ~SMDS_MeshNodeIDFactory();
66 Standard_EXPORT friend Handle_Standard_Type& SMDS_MeshNodeIDFactory_Type_();
67 Standard_EXPORT const Handle(Standard_Type)& DynamicType() const;
68 Standard_EXPORT Standard_Boolean IsKind(const Handle(Standard_Type)&) const;
93 #include "SMDS_MeshNodeIDFactory.lxx"
97 // other inline functions and methods (like "C++: function call" methods)