Memoria.h File Reference

#include <iostream.h>
#include <vector>
#include "CSucesos.h"

Go to the source code of this file.

Functions

void * operator new (size_t) throw (bad_alloc)
void * operator new[] (size_t) throw (bad_alloc)
void operator delete (void *) throw ()
void operator delete[] (void *) throw ()

Variables

const int MaxPunteros = 100000
int g_liMemoriaReservada
void * ListaPunteros [MaxPunteros]
int TamPunteros [MaxPunteros]


Function Documentation

void operator delete void *  Pnt  )  throw ()
 

Exception: Cualquier excepción que pueda producirse.

Definition at line 85 of file Memoria.cpp.

References Err_NoError, CSucesos::ErrorGrave(), g_liMemoriaReservada, ListaPunteros, MaxPunteros, and TamPunteros.

void operator delete[] void *   )  throw ()
 

Definition at line 103 of file Memoria.cpp.

void* operator new size_t  Tam  )  throw (bad_alloc)
 

std::bad_alloc: Excepción producida en una reserva incorrecta.

Definition at line 33 of file Memoria.cpp.

References Err_NoError, CSucesos::ErrorGrave(), g_liMemoriaReservada, ListaPunteros, MaxPunteros, and TamPunteros.

void* operator new[] size_t   )  throw (bad_alloc)
 

Definition at line 68 of file Memoria.cpp.


Variable Documentation

int g_liMemoriaReservada
 

Definition at line 15 of file Memoria.cpp.

Referenced by operator delete(), and operator new().

void* ListaPunteros[MaxPunteros]
 

Definition at line 16 of file Memoria.cpp.

Referenced by operator delete(), and operator new().

const int MaxPunteros = 100000
 

Definition at line 27 of file Memoria.h.

Referenced by operator delete(), and operator new().

int TamPunteros[MaxPunteros]
 

Definition at line 17 of file Memoria.cpp.

Referenced by operator delete(), and operator new().


Generated on Fri May 13 16:32:36 2005 for Screaming Racers by  doxygen 1.4.2