src/tools/tMemStack.cpp File Reference

#include "tMemStack.h"
#include "tArray.h"
#include <stdlib.h>

Include dependency graph for tMemStack.cpp:

Go to the source code of this file.

Classes

class  tMemStackItem

Functions

static int & ST_Size ()
static tArray< tMemStackItem,
true > & 
ST_Stack ()
static int & ST_Index ()
static void st_Pop ()


Function Documentation

static int& ST_Index (  )  [static]

Definition at line 98 of file tMemStack.cpp.

Referenced by st_Pop(), and tMemStack::~tMemStack().

00100 {
00101 
00102     static int st_index=0;
00103 
00104     return st_index;
00105 
00106 }

Here is the caller graph for this function:

static void st_Pop (  )  [static]

Definition at line 109 of file tMemStack.cpp.

References ST_Index().

Referenced by tMemStack::~tMemStack().

00110 {
00111     --ST_Index();
00112 }

Here is the call graph for this function:

Here is the caller graph for this function:

static int& ST_Size (  )  [static]

Definition at line 32 of file tMemStack.cpp.

Referenced by tMemStackItem::Alloc(), tMemStack::IncreaseMem(), and tMemStack::tMemStack().

00034 {
00035         #ifdef DEBUG
00036     static int st_size=10;
00037         #else
00038     static int st_size=1000;
00039         #endif
00040     return st_size;
00041 
00042 }

Here is the caller graph for this function:

static tArray<tMemStackItem, true>& ST_Stack (  )  [static]

Definition at line 86 of file tMemStack.cpp.

Referenced by tMemStack::Item().

00088 {
00089 
00090     static tArray<tMemStackItem, true> st_stack;
00091 
00092     return st_stack;
00093 
00094 }

Here is the caller graph for this function:


Generated on Sat Mar 15 23:12:09 2008 for Armagetron Advanced by  doxygen 1.5.4