Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef _NMTDS_IteratorCheckerSI_HeaderFile
00021 #define _NMTDS_IteratorCheckerSI_HeaderFile
00022
00023 #ifndef _NMTDS_Iterator_HeaderFile
00024 #include <NMTDS_Iterator.hxx>
00025 #endif
00026
00027
00028 #ifndef _Standard_HeaderFile
00029 #include <Standard.hxx>
00030 #endif
00031 #ifndef _Standard_Macro_HeaderFile
00032 #include <Standard_Macro.hxx>
00033 #endif
00034
00035
00036 class NMTDS_IteratorCheckerSI : public NMTDS_Iterator {
00037
00038 public:
00039
00040 void* operator new(size_t,void* anAddress)
00041 {
00042 return anAddress;
00043 }
00044 void* operator new(size_t size)
00045 {
00046 return Standard::Allocate(size);
00047 }
00048 void operator delete(void *anAddress)
00049 {
00050 if (anAddress) Standard::Free((Standard_Address&)anAddress);
00051 }
00052
00053
00054
00055
00056 Standard_EXPORT NMTDS_IteratorCheckerSI();
00057 Standard_EXPORT virtual ~NMTDS_IteratorCheckerSI();
00058
00059
00060
00061
00062
00063 protected:
00064
00065
00066
00067
00068
00069 Standard_EXPORT virtual void Intersect() ;
00070
00071
00072
00073
00074
00075
00076 private:
00077
00078
00079
00080
00081
00082
00083
00084
00085
00086 };
00087
00088
00089
00090
00091
00092
00093
00094
00095
00096 #endif