/search.css" rel="stylesheet" type="text/css"/> /search.js">
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

Public Types | Public Member Functions | Static Public Member Functions
DayaBay::IHeader Class Reference

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

#include <IHeader.h>

Inheritance diagram for DayaBay::IHeader:
Inheritance graph
[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 Thu Dec 5 17:38:14 2013

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.

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

Default Destructor.

Definition at line 53 of file IHeader.h.

{}

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.

{
  return s;
}
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.

    {
      return ( sizeof(IHeader) == size ? 
               boost::singleton_pool<IHeader, sizeof(IHeader)>::malloc() :
               ::operator new(size) );
    }
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.

    {
      return ::operator new (size,pObj);
    }
static void DayaBay::IHeader::operator delete ( void *  p) [inline, static]

operator delete

Reimplemented in DayaBay::HeaderObject.

Definition at line 89 of file IHeader.h.

    {
      boost::singleton_pool<IHeader, sizeof(IHeader)>::is_from(p) ?
      boost::singleton_pool<IHeader, sizeof(IHeader)>::free(p) :
      ::operator delete(p);
    }
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.

    {
      ::operator delete (p, pObj);
    }

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

Generated on Fri May 16 2014 09:58:11 for BaseEvent by doxygen 1.7.4