BOSS
7.0.9
BESIII Offline Software System
Loading...
Searching...
No Matches
bak-BesEvtGen-00-04-08/src/EvtGen/EvtGenBase/EvtParser.hh
Go to the documentation of this file.
1
//--------------------------------------------------------------------------
2
//
3
// Environment:
4
// This software is part of the EvtGen package developed jointly
5
// for the BaBar and CLEO collaborations. If you use all or part
6
// of it, please give an appropriate acknowledgement.
7
//
8
// Copyright Information: See EvtGen/COPYRIGHT
9
// Copyright (C) 1998 Caltech, UCSB
10
//
11
// Module: EvtGen/EvtParser.hh
12
//
13
// Description:
14
//
15
// Modification history:
16
//
17
// RYD Febuary 11, 1997 Module created
18
//
19
//------------------------------------------------------------------------
20
21
#ifndef EVTPARSER_HH
22
#define EVTPARSER_HH
23
24
#include <string>
25
26
class
EvtParser
{
27
public
:
28
EvtParser
();
29
~EvtParser
();
30
31
int
Read
(
const
std::string filename);
32
int
getNToken
();
33
const
std::string&
getToken
(
int
i);
34
int
getLineofToken
(
int
i);
35
36
private
:
37
38
int
_ntoken;
39
std::string* _tokenlist;
40
int
* _linelist;
41
int
_lengthoftokenlist;
42
43
void
addToken(
int
line,
const
std::string&
string
);
44
45
};
46
47
#endif
48
EvtParser
Definition:
bak-BesEvtGen-00-04-08/src/EvtGen/EvtGenBase/EvtParser.hh:26
EvtParser::getLineofToken
int getLineofToken(int i)
Definition:
bak-BesEvtGen-00-04-08/src/EvtGen/EvtGenBase/EvtParser.cc:63
EvtParser::~EvtParser
~EvtParser()
Definition:
bak-BesEvtGen-00-04-08/src/EvtGen/EvtGenBase/EvtParser.cc:43
EvtParser::EvtParser
EvtParser()
Definition:
bak-BesEvtGen-00-04-08/src/EvtGen/EvtGenBase/EvtParser.cc:36
EvtParser::getNToken
int getNToken()
Definition:
bak-BesEvtGen-00-04-08/src/EvtGen/EvtGenBase/EvtParser.cc:51
EvtParser::getToken
const std::string & getToken(int i)
Definition:
bak-BesEvtGen-00-04-08/src/EvtGen/EvtGenBase/EvtParser.cc:57
EvtParser::Read
int Read(const std::string filename)
Definition:
bak-BesEvtGen-00-04-08/src/EvtGen/EvtGenBase/EvtParser.cc:69
source
Generator
BesEvtGen
bak-BesEvtGen-00-04-08
src
EvtGen
EvtGenBase
EvtParser.hh
Generated by
1.9.6