26 #ifndef _BUFFER_NEW_OPERATOR_DEFINED_ 27 #ifndef _OBJECT_DUMP_NEW_OPERATOR_DEFINED_ 28 #define _NEW_OPERATOR_UNDEFINED_ 29 #define new _NEW_OPERATOR_NOT_DEFINED_ 67 virtual void Delete() throw() = 0;
72 virtual
bool Reserve(
size_t iSize) = 0;
77 virtual
void*
GetMem(
size_t iSize) = 0;
106 class MemoryContract;
120 bool ibOnPageBoundary =
false);
126 bool ibOnPageBoundary =
false);
136 #endif // MBase_Buffer_h Definition: BaseMemoryContract.h:40
#define Int64
Definition: BasicTypes.h:36
virtual bool Reserve(size_t iSize)=0
StrongPtr< Buffer, DeleteOperatorGeneric< Buffer > > BufferPtr
Definition: Buffer.h:128
virtual void SetTotalAllocatedSpaceLimit(Int64 iLimit)=0
#define DLL_BASE_EXIM
Definition: Base.h:20
#define Int32
Definition: BasicTypes.h:20
virtual unsigned Int32 GetTotalMemSize() const =0
Definition: Allocator.h:47
Definition: StrongPtr.h:50
virtual void WriteLock()=0
virtual unsigned Int64 GetTotalMemSizeInBytes() const =0
BlockSizes
Definition: Buffer.h:61
DLL_BASE_EXIM Buffer * CreateBuffer(Int32 iSize, Int32 iExtSize, Int32 iBlkSize=Buffer::NT_BLOCK_SIZE, bool ibOnPageBoundary=false)
throws ContractManagerException (defined in BaseMemoryContract.h)
virtual unsigned Int64 GetAllocMemSizeInBytes() const =0
virtual void * GetMem(size_t iSize)=0
virtual unsigned Int32 GetAllocMemSize() const =0