Advanced Strategic Command
Public Member Functions | Public Attributes | List of all members
MemorySum< T > Struct Template Reference

#include <memsize_interface.h>

Inheritance diagram for MemorySum< T >:
Inheritance graph
[legend]

Public Member Functions

 MemorySum ()
 
void operator() (const T &x)
 
void operator() (const T *x)
 

Public Attributes

int size
 

Detailed Description

template<class T>
struct MemorySum< T >

Definition at line 27 of file memsize_interface.h.

Constructor & Destructor Documentation

template<class T >
MemorySum< T >::MemorySum ( )
inline

Definition at line 29 of file memsize_interface.h.

Member Function Documentation

template<class T >
void MemorySum< T >::operator() ( const T &  x)
inline

Definition at line 30 of file memsize_interface.h.

References getMemoryFootprint(), and MemorySum< T >::size.

template<class T >
void MemorySum< T >::operator() ( const T *  x)
inline

Definition at line 31 of file memsize_interface.h.

References getMemoryFootprint(), and MemorySum< T >::size.

Member Data Documentation

template<class T >
int MemorySum< T >::size

Definition at line 32 of file memsize_interface.h.

Referenced by MemorySum< T >::operator()().


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