Advanced Strategic Command
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
ObjectStorage< T > Struct Template Reference
Inheritance diagram for ObjectStorage< T >:
Inheritance graph
[legend]

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 
)
inlinestatic

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

Member Data Documentation

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

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