HepPDT Reference Documentation

HepPDT

HepPDT::DefTable Class Reference

#include <DefTable.hh>

List of all members.

Public Types

typedef TempDefMap::const_iterator const_iterator
typedef TempDefMap::iterator iterator

Public Member Functions

 DefTable ()
 ~DefTable ()
void addDefinition (std::string const &def, double val)
 add a definition to the map
bool hasDefinition (std::string const &def) const
 is this definition already defined?
int size () const
 get the size of the definition map
double definition (std::string const &def)
 return the definition of this parameter
void writeDefinitions () const
 use for diagnostics
iterator begin ()
 begin iterating over the definition map
const_iterator begin () const
 begin iterating over the definition map
iterator end ()
 end iterating over the definition map
const_iterator end () const
 end iterating over the definition map


Detailed Description

Author:
Lynn Garren

Definition at line 23 of file DefTable.hh.


Member Typedef Documentation

typedef TempDefMap::const_iterator HepPDT::DefTable::const_iterator

Definition at line 27 of file DefTable.hh.

typedef TempDefMap::iterator HepPDT::DefTable::iterator

Definition at line 28 of file DefTable.hh.


Constructor & Destructor Documentation

HepPDT::DefTable::DefTable (  ) 

Definition at line 15 of file DefTable.cc.

HepPDT::DefTable::~DefTable (  )  [inline]

Definition at line 31 of file DefTable.hh.


Member Function Documentation

void HepPDT::DefTable::addDefinition ( std::string const &  def,
double  val 
) [inline]

add a definition to the map

Definition at line 36 of file DefTable.hh.

Referenced by HepPDT::addEvtGenParticles().

const_iterator HepPDT::DefTable::begin (  )  const [inline]

begin iterating over the definition map

Definition at line 55 of file DefTable.hh.

iterator HepPDT::DefTable::begin (  )  [inline]

begin iterating over the definition map

Definition at line 53 of file DefTable.hh.

Referenced by writeDefinitions().

double HepPDT::DefTable::definition ( std::string const &  def  ) 

return the definition of this parameter

Definition at line 18 of file DefTable.cc.

Referenced by HepPDT::TableBuilder::definition().

const_iterator HepPDT::DefTable::end (  )  const [inline]

end iterating over the definition map

Definition at line 60 of file DefTable.hh.

iterator HepPDT::DefTable::end (  )  [inline]

end iterating over the definition map

Definition at line 58 of file DefTable.hh.

Referenced by writeDefinitions().

bool HepPDT::DefTable::hasDefinition ( std::string const &  def  )  const

is this definition already defined?

Definition at line 31 of file DefTable.cc.

Referenced by HepPDT::TableBuilder::hasDefinition().

int HepPDT::DefTable::size (  )  const [inline]

get the size of the definition map

Definition at line 46 of file DefTable.hh.

void HepPDT::DefTable::writeDefinitions (  )  const

use for diagnostics

Definition at line 41 of file DefTable.cc.

References begin(), and end().


The documentation for this class was generated from the following files:
Generated on Fri Dec 4 14:05:25 2009 for HepPDT by  doxygen 1.4.7