evtgen is hosted by Hepforge, IPPP Durham
EvtGen  2.0.0
Monte Carlo generator of particle decays, in particular the weak decays of heavy flavour particles such as B mesons.

#include <EvtGenBase/EvtParser.hh>

Public Member Functions

 EvtParser ()
 
 ~EvtParser ()
 
int read (const std::string filename)
 
int getNToken ()
 
const std::string & getToken (int i)
 
int getLineofToken (int i)
 

Private Member Functions

void addToken (int line, const std::string &string)
 

Private Attributes

int _ntoken
 
std::string * _tokenlist
 
int * _linelist
 
int _lengthoftokenlist
 

Detailed Description

Definition at line 26 of file EvtParser.hh.

Constructor & Destructor Documentation

◆ EvtParser()

EvtParser::EvtParser ( )

Definition at line 33 of file EvtParser.cpp.

◆ ~EvtParser()

EvtParser::~EvtParser ( )

Definition at line 41 of file EvtParser.cpp.

Member Function Documentation

◆ addToken()

void EvtParser::addToken ( int  line,
const std::string &  string 
)
private

Definition at line 129 of file EvtParser.cpp.

◆ getLineofToken()

int EvtParser::getLineofToken ( int  i)

Definition at line 57 of file EvtParser.cpp.

◆ getNToken()

int EvtParser::getNToken ( )

Definition at line 47 of file EvtParser.cpp.

◆ getToken()

const std::string & EvtParser::getToken ( int  i)

Definition at line 52 of file EvtParser.cpp.

◆ read()

int EvtParser::read ( const std::string  filename)

Definition at line 62 of file EvtParser.cpp.

Member Data Documentation

◆ _lengthoftokenlist

int EvtParser::_lengthoftokenlist
private

Definition at line 40 of file EvtParser.hh.

◆ _linelist

int* EvtParser::_linelist
private

Definition at line 39 of file EvtParser.hh.

◆ _ntoken

int EvtParser::_ntoken
private

Definition at line 37 of file EvtParser.hh.

◆ _tokenlist

std::string* EvtParser::_tokenlist
private

Definition at line 38 of file EvtParser.hh.


The documentation for this class was generated from the following files: