| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

DayaBay::SimUnobservableStatisticsHeader Class Reference

Header for all unobservable statistical data. More...

#include <SimUnobservableStatisticsHeader.h>

Collaboration diagram for DayaBay::SimUnobservableStatisticsHeader:

[legend]
List of all members.

Public Types

typedef std::map< std::string,
DayaBay::SimStatistic
stat_map
 The statistics.

Public Member Functions

 SimUnobservableStatisticsHeader ()
 Default Constructor.
virtual ~SimUnobservableStatisticsHeader ()
 Default Destructor.
stat_mapstats ()
 Non-const accessor.
std::ostream & fillStream (std::ostream &s) const
 Print the collection.
const stat_mapstats () 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.

Detailed Description

Header for all unobservable statistical data.

Author:
tagg@minos.phy.tufts.edu created Mon Apr 11 03:59:54 2011

Definition at line 41 of file SimUnobservableStatisticsHeader.h.


Member Typedef Documentation

typedef std::map<std::string,DayaBay::SimStatistic> DayaBay::SimUnobservableStatisticsHeader::stat_map

The statistics.

Definition at line 46 of file SimUnobservableStatisticsHeader.h.


Constructor & Destructor Documentation

DayaBay::SimUnobservableStatisticsHeader::SimUnobservableStatisticsHeader (  )  [inline]

Default Constructor.

Definition at line 49 of file SimUnobservableStatisticsHeader.h.

00049 : m_stats() {}

virtual DayaBay::SimUnobservableStatisticsHeader::~SimUnobservableStatisticsHeader (  )  [inline, virtual]

Default Destructor.

Definition at line 52 of file SimUnobservableStatisticsHeader.h.

00052 {}


Member Function Documentation

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.

00082     {
00083       return ::operator new (size,pObj);
00084     }

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     }


Member Data Documentation

stat_map DayaBay::SimUnobservableStatisticsHeader::m_stats [private]

The statistics.

Definition at line 105 of file SimUnobservableStatisticsHeader.h.


The documentation for this class was generated from the following files:
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Mon Apr 11 20:31:30 2011 for SimEvent by doxygen 1.4.7