ObjectStorage< T > Struct Template Reference

List of all members.

Public Types

typedef vector< pair< int,
int > > 
Storage

Public Member Functions

void operator() (const T &x)
ASCString print ()

Static Public Member Functions

static bool compare (const pair< int, int > &a1, const pair< int, int > &a2)

Public Attributes

Storage storage

Detailed Description

template<class T>
struct ObjectStorage< T >

Definition at line 117 of file memory-measurement.cpp.


Member Typedef Documentation

template<class T>
typedef vector< pair<int,int> > ObjectStorage< T >::Storage

Definition at line 124 of file memory-measurement.cpp.


Member Function Documentation

template<class T>
static bool ObjectStorage< T >::compare ( const pair< int, int > &  a1,
const pair< int, int > &  a2 
) [inline, static]

Definition at line 119 of file memory-measurement.cpp.

Referenced by ObjectStorage< T >::print().

template<class T>
void ObjectStorage< T >::operator() ( const T &  x  )  [inline]

Definition at line 126 of file memory-measurement.cpp.

References getMemoryFootprint(), and ObjectStorage< T >::storage.

template<class T>
ASCString ObjectStorage< T >::print (  )  [inline]

Definition at line 127 of file memory-measurement.cpp.

References ObjectStorage< T >::compare(), objectTypeRepository, ObjectStorage< T >::storage, and ASCString::toString().


Member Data Documentation

template<class T>
Storage ObjectStorage< T >::storage

Definition at line 125 of file memory-measurement.cpp.

Referenced by ObjectStorage< T >::operator()(), and ObjectStorage< T >::print().


The documentation for this struct was generated from the following file:
Generated on Mon Jan 5 01:41:38 2009 for Advanced Strategic Command by  doxygen 1.5.1