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

In This Package:

DayaBay::IHeader Class Reference

Interface for top level objects input/output by algorithms. More...

#include <IHeader.h>

Inheritance diagram for DayaBay::IHeader:

[legend]
List of all members.

Public Types

typedef std::vector< IHeader * > Vector
 typedef for std::vector of IHeader
typedef std::vector< const
IHeader * > 
ConstVector

Public Member Functions

 IHeader ()
 Default Constructor.
virtual ~IHeader ()
 Default Destructor.
virtual std::ostream & fillStream (std::ostream &s) const
 Fill the ASCII output stream.
virtual const TimeStamptimeStamp () const =0
 Get the reference time stamp.
virtual int execNumber () const =0
 Get the Algorithm's execution count that made this object.
virtual const std::vector<
unsigned long > & 
randomState () const =0
 Get the state of the pseudo-random number generator at the start of algorithm execution, filled via serialize.
virtual const std::vector<
const DayaBay::IHeader * > & 
inputHeaders () const =0
 Get the IHeaders used for input when making this one.

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

Detailed Description

Interface for top level objects input/output by algorithms.

Author:
<bv@bnl.gov> created Mon Apr 11 03:25:55 2011

Definition at line 40 of file IHeader.h.


Member Typedef Documentation

typedef std::vector<IHeader*> DayaBay::IHeader::Vector

typedef for std::vector of IHeader

Definition at line 45 of file IHeader.h.

typedef std::vector<const IHeader*> DayaBay::IHeader::ConstVector

Definition at line 46 of file IHeader.h.


Constructor & Destructor Documentation

DayaBay::IHeader::IHeader (  )  [inline]

Default Constructor.

Definition at line 50 of file IHeader.h.

00050 {}

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

Default Destructor.

Definition at line 53 of file IHeader.h.

00053 {}


Member Function Documentation

std::ostream & DayaBay::IHeader::fillStream ( std::ostream &  s  )  const [inline, virtual]

Fill the ASCII output stream.

Reimplemented in DayaBay::HeaderObject.

Definition at line 122 of file IHeader.h.

00123 {
00124   return s;
00125 }

virtual const TimeStamp& DayaBay::IHeader::timeStamp (  )  const [pure virtual]

Get the reference time stamp.

Implemented in DayaBay::HeaderObject.

virtual int DayaBay::IHeader::execNumber (  )  const [pure virtual]

Get the Algorithm's execution count that made this object.

Implemented in DayaBay::HeaderObject.

virtual const std::vector<unsigned long>& DayaBay::IHeader::randomState (  )  const [pure virtual]

Get the state of the pseudo-random number generator at the start of algorithm execution, filled via serialize.

Implemented in DayaBay::HeaderObject.

virtual const std::vector<const DayaBay::IHeader*>& DayaBay::IHeader::inputHeaders (  )  const [pure virtual]

Get the IHeaders used for input when making this one.

Implemented in DayaBay::HeaderObject.

static void* DayaBay::IHeader::operator new ( size_t  size  )  [inline, static]

operator new

Reimplemented in DayaBay::HeaderObject.

Definition at line 73 of file IHeader.h.

00074     {
00075       return ( sizeof(IHeader) == size ? 
00076                boost::singleton_pool<IHeader, sizeof(IHeader)>::malloc() :
00077                ::operator new(size) );
00078     }

static void* DayaBay::IHeader::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

Reimplemented in DayaBay::HeaderObject.

Definition at line 83 of file IHeader.h.

00084     {
00085       return ::operator new (size,pObj);
00086     }

static void DayaBay::IHeader::operator delete ( void *  p  )  [inline, static]

operator delete

Reimplemented in DayaBay::HeaderObject.

Definition at line 89 of file IHeader.h.

00090     {
00091       boost::singleton_pool<IHeader, sizeof(IHeader)>::is_from(p) ?
00092       boost::singleton_pool<IHeader, sizeof(IHeader)>::free(p) :
00093       ::operator delete(p);
00094     }

static void DayaBay::IHeader::operator delete ( void *  p,
void *  pObj 
) [inline, static]

placement operator delete not sure if really needed, but it does not harm

Reimplemented in DayaBay::HeaderObject.

Definition at line 98 of file IHeader.h.

00099     {
00100       ::operator delete (p, pObj);
00101     }


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

Generated on Mon Apr 11 20:18:03 2011 for BaseEvent by doxygen 1.4.7