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

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

Definition at line 32 of file omallocClass.h.

36 {
37  omFree( block );
38 }
#define block
Definition: scanner.cc:662
#define omFree(addr)
Definition: omAllocDecl.h:261
void omallocClass::operator delete[] ( void *  block)
throw (
)

Definition at line 27 of file omallocClass.cc.

31 {
32  omfree( block );
33 }
#define block
Definition: scanner.cc:662
#define omfree(addr)
Definition: omAllocDecl.h:237
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
void * omallocClass::operator new ( size_t  size,
const std::nothrow_t &   
)
throw (
)

Definition at line 54 of file omallocClass.cc.

55 {
56  void* addr;
57  omTypeAlloc(void*, addr, size);
58  return addr;
59 }
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
void * omallocClass::operator new[] ( size_t  size)
throw (std::bad_alloc
)

Definition at line 16 of file omallocClass.cc.

20 {
21  void* addr;
22  if (size==(size_t)0) size = (size_t)1;
23  omTypeAlloc(void*, addr, size);
24  return addr;
25 }
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
void * omallocClass::operator new[] ( size_t  size,
const std::nothrow_t &   
)
throw (
)

Definition at line 61 of file omallocClass.cc.

62 {
63  void* addr;
64  if (size==(size_t)0) size = (size_t)1;
65  omTypeAlloc(void*, addr, size);
66  return addr;
67 }
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

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