logog
logger optimized for games
Object Class Reference

#include <object.hpp>

+ Inheritance diagram for Object:

Public Member Functions

 Object ()
 
virtual ~Object ()
 
void * operator new (size_t nSize)
 
void * operator new[] (size_t nSize)
 
void operator delete (void *ptr)
 
void operator delete[] (void *ptr)
 

Static Public Member Functions

static void * Allocate (size_t nSize)
 
static void Deallocate (void *ptr)
 

Detailed Description

Base class for all objects allocated with logog.

Constructor & Destructor Documentation

Object ( )
virtual ~Object ( )
virtual

Member Function Documentation

static void* Allocate ( size_t  nSize)
static

Allocates nSize bytes of memory. You must call logog::Initialize() before calling this function.

See also
Initialize()
static void Deallocate ( void *  ptr)
static

Deallocate a pointer previously acquired by Allocate().

void operator delete ( void *  ptr)

Deletes an object pointed to by ptr.

void operator delete[] ( void *  ptr)

Deletes an object array pointed to by ptr.

void* operator new ( size_t  nSize)

Initializes an object of size new.

void* operator new[] ( size_t  nSize)

Initializes an array of size new.


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