My Project
Public Member Functions
omallocClass Class Reference

#include <omallocClass.h>

Public Member Functions

void * operator new (size_t size) throw (std::bad_alloc)
 
void operator delete (void *block) throw ()
 
void * operator new[] (size_t size) throw (std::bad_alloc)
 
void operator delete[] (void *block) throw ()
 
void * operator new (size_t size, const std::nothrow_t &) throw ()
 
void * operator new[] (size_t size, const std::nothrow_t &) throw ()
 

Detailed Description

Definition at line 17 of file omallocClass.h.

Member Function Documentation

◆ operator delete()

void omallocClass::operator delete ( void *  block)
throw (
)
inline

Definition at line 32 of file omallocClass.h.

36{
37 omFree( block );
38}
#define omFree(addr)
Definition: omAllocDecl.h:261
#define block
Definition: scanner.cc:666

◆ operator delete[]()

void omallocClass::operator delete[] ( void *  block)
throw (
)
inline

Definition at line 52 of file omallocClass.h.

56{
57 omfree( block );
58}
#define omfree(addr)
Definition: omAllocDecl.h:237

◆ operator new() [1/2]

void * omallocClass::operator new ( size_t  size)
throw (std::bad_alloc
)
inline

Definition at line 22 of file omallocClass.h.

26{
27 void* addr;
28 omTypeAlloc(void*, addr, size);
29 return addr;
30}
int size(const CanonicalForm &f, const Variable &v)
int size ( const CanonicalForm & f, const Variable & v )
Definition: cf_ops.cc:600
#define omTypeAlloc(type, addr, size)
Definition: omAllocDecl.h:208

◆ operator new() [2/2]

void * omallocClass::operator new ( size_t  size,
const std::nothrow_t &   
)
throw (
)

Definition at line 32 of file omallocClass.cc.

33{
34 void* addr;
35 omTypeAlloc(void*, addr, size);
36 return addr;
37}

◆ operator new[]() [1/2]

void * omallocClass::operator new[] ( size_t  size)
throw (std::bad_alloc
)
inline

Definition at line 41 of file omallocClass.h.

45{
46 void* addr;
47 if (size==(size_t)0) size = (size_t)1;
48 omTypeAlloc(void*, addr, size);
49 return addr;
50}

◆ operator new[]() [2/2]

void * omallocClass::operator new[] ( size_t  size,
const std::nothrow_t &   
)
throw (
)

Definition at line 39 of file omallocClass.cc.

40{
41 void* addr;
42 if (size==(size_t)0) size = (size_t)1;
43 omTypeAlloc(void*, addr, size);
44 return addr;
45}

The documentation for this class was generated from the following files: