#include <SimUnobservableStatisticsHeader.h>
Collaboration diagram for DayaBay::SimUnobservableStatisticsHeader:
Public Types | |
typedef std::map< std::string, DayaBay::SimStatistic > | stat_map |
The statistics. | |
Public Member Functions | |
SimUnobservableStatisticsHeader () | |
Default Constructor. | |
virtual | ~SimUnobservableStatisticsHeader () |
Default Destructor. | |
stat_map & | stats () |
Non-const accessor. | |
std::ostream & | fillStream (std::ostream &s) const |
Print the collection. | |
const stat_map & | stats () const |
Retrieve const The statistics. | |
void | setStats (const stat_map &value) |
Update The statistics. | |
Static Public Member Functions | |
static void * | operator new (size_t size) |
operator new | |
static void * | operator new (size_t size, void *pObj) |
placement operator new it is needed by libstdc++ 3.2.3 (e.g. | |
static void | operator delete (void *p) |
operator delete | |
static void | operator delete (void *p, void *pObj) |
placement operator delete not sure if really needed, but it does not harm | |
Private Attributes | |
stat_map | m_stats |
The statistics. |
Definition at line 41 of file SimUnobservableStatisticsHeader.h.
typedef std::map<std::string,DayaBay::SimStatistic> DayaBay::SimUnobservableStatisticsHeader::stat_map |
DayaBay::SimUnobservableStatisticsHeader::SimUnobservableStatisticsHeader | ( | ) | [inline] |
Default Constructor.
Definition at line 49 of file SimUnobservableStatisticsHeader.h.
00049 : m_stats() {}
virtual DayaBay::SimUnobservableStatisticsHeader::~SimUnobservableStatisticsHeader | ( | ) | [inline, virtual] |
DayaBay::SimUnobservableStatisticsHeader::stat_map & DayaBay::SimUnobservableStatisticsHeader::stats | ( | ) | [inline] |
Non-const accessor.
Definition at line 132 of file SimUnobservableStatisticsHeader.h.
00133 { 00134 return m_stats; 00135 }
std::ostream & DayaBay::SimUnobservableStatisticsHeader::fillStream | ( | std::ostream & | s | ) | const |
Print the collection.
Definition at line 3 of file SimUnobservableStatisticsHeader.cc.
00004 { 00005 s << "SimUnobservableStatisticsHeader" << std::endl; 00006 stat_map::const_iterator it = m_stats.begin(); 00007 for( ; it != m_stats.end() ; it++ ) 00008 s << it->first << "\t : \t" << it->second << std::endl; 00009 return s; 00010 }
const DayaBay::SimUnobservableStatisticsHeader::stat_map & DayaBay::SimUnobservableStatisticsHeader::stats | ( | ) | const [inline] |
Retrieve const The statistics.
Definition at line 122 of file SimUnobservableStatisticsHeader.h.
00123 { 00124 return m_stats; 00125 }
void DayaBay::SimUnobservableStatisticsHeader::setStats | ( | const stat_map & | value | ) | [inline] |
Update The statistics.
Definition at line 127 of file SimUnobservableStatisticsHeader.h.
00128 { 00129 m_stats = value; 00130 }
static void* DayaBay::SimUnobservableStatisticsHeader::operator new | ( | size_t | size | ) | [inline, static] |
operator new
Definition at line 71 of file SimUnobservableStatisticsHeader.h.
00072 { 00073 return ( sizeof(SimUnobservableStatisticsHeader) == size ? 00074 boost::singleton_pool<SimUnobservableStatisticsHeader, sizeof(SimUnobservableStatisticsHeader)>::malloc() : 00075 ::operator new(size) ); 00076 }
static void* DayaBay::SimUnobservableStatisticsHeader::operator new | ( | size_t | size, | |
void * | pObj | |||
) | [inline, static] |
placement operator new it is needed by libstdc++ 3.2.3 (e.g.
in std::vector) it is not needed in libstdc++ >= 3.4
Definition at line 81 of file SimUnobservableStatisticsHeader.h.
static void DayaBay::SimUnobservableStatisticsHeader::operator delete | ( | void * | p | ) | [inline, static] |
operator delete
Definition at line 87 of file SimUnobservableStatisticsHeader.h.
00088 { 00089 boost::singleton_pool<SimUnobservableStatisticsHeader, sizeof(SimUnobservableStatisticsHeader)>::is_from(p) ? 00090 boost::singleton_pool<SimUnobservableStatisticsHeader, sizeof(SimUnobservableStatisticsHeader)>::free(p) : 00091 ::operator delete(p); 00092 }
static void DayaBay::SimUnobservableStatisticsHeader::operator delete | ( | void * | p, | |
void * | pObj | |||
) | [inline, static] |
placement operator delete not sure if really needed, but it does not harm
Definition at line 96 of file SimUnobservableStatisticsHeader.h.
00097 { 00098 ::operator delete (p, pObj); 00099 }