CMS 3D CMS Logo

Public Types | Public Member Functions | Private Attributes

LHERunInfoProduct::Header Class Reference

#include <LHERunInfoProduct.h>

Inheritance diagram for LHERunInfoProduct::Header:
lhef::LHERunInfo::Header

List of all members.

Public Types

typedef std::vector
< std::string >
::const_iterator 
const_iterator
typedef std::vector
< std::string >::size_type 
size_type

Public Member Functions

void addLine (const std::string &line)
const_iterator begin () const
const_iterator end () const
 Header ()
 Header (const std::string &tag)
bool operator!= (const Header &other) const
bool operator== (const Header &other) const
size_type size () const
const std::string & tag () const
 ~Header ()

Private Attributes

std::vector< std::string > lines_
std::string tag_

Detailed Description

Definition at line 15 of file LHERunInfoProduct.h.


Member Typedef Documentation

typedef std::vector<std::string>::const_iterator LHERunInfoProduct::Header::const_iterator

Definition at line 17 of file LHERunInfoProduct.h.

typedef std::vector<std::string>::size_type LHERunInfoProduct::Header::size_type

Definition at line 18 of file LHERunInfoProduct.h.


Constructor & Destructor Documentation

LHERunInfoProduct::Header::Header ( ) [inline]

Reimplemented in lhef::LHERunInfo::Header.

Definition at line 20 of file LHERunInfoProduct.h.

{}
LHERunInfoProduct::Header::Header ( const std::string &  tag) [inline]

Reimplemented in lhef::LHERunInfo::Header.

Definition at line 21 of file LHERunInfoProduct.h.

: tag_(tag) {}
LHERunInfoProduct::Header::~Header ( ) [inline]

Reimplemented in lhef::LHERunInfo::Header.

Definition at line 22 of file LHERunInfoProduct.h.

{}

Member Function Documentation

void LHERunInfoProduct::Header::addLine ( const std::string &  line) [inline]

Definition at line 24 of file LHERunInfoProduct.h.

References lines_.

Referenced by AlpgenSource::AlpgenSource(), AlpgenSource::beginRun(), and MCatNLOSource::beginRun().

{ lines_.push_back(line); }
const_iterator LHERunInfoProduct::Header::begin ( void  ) const [inline]

Definition at line 29 of file LHERunInfoProduct.h.

References lines_.

Referenced by AlpgenSource::AlpgenSource().

{ return lines_.begin(); }
const_iterator LHERunInfoProduct::Header::end ( void  ) const [inline]

Definition at line 30 of file LHERunInfoProduct.h.

References lines_.

Referenced by AlpgenSource::AlpgenSource().

{ return lines_.end(); }
bool LHERunInfoProduct::Header::operator!= ( const Header other) const [inline]

Definition at line 34 of file LHERunInfoProduct.h.

                { return !(*this == other); }
bool LHERunInfoProduct::Header::operator== ( const Header other) const [inline]

Definition at line 32 of file LHERunInfoProduct.h.

References lines_, and tag_.

                { return tag_ == other.tag_ && lines_ == other.lines_; }
size_type LHERunInfoProduct::Header::size ( void  ) const [inline]

Definition at line 28 of file LHERunInfoProduct.h.

References lines_.

{ return lines_.size(); }
const std::string& LHERunInfoProduct::Header::tag ( ) const [inline]

Definition at line 26 of file LHERunInfoProduct.h.

References tag_.

{ return tag_; }

Member Data Documentation

std::vector<std::string> LHERunInfoProduct::Header::lines_ [private]

Definition at line 39 of file LHERunInfoProduct.h.

Referenced by addLine(), begin(), end(), operator==(), and size().

std::string LHERunInfoProduct::Header::tag_ [private]

Definition at line 38 of file LHERunInfoProduct.h.

Referenced by operator==(), and tag().