|
void | skiplines (std::istream &is, int n) |
|
template<class T > |
void | getValue (std::istream &is, T &aval) |
|
template<class T1 , class T2 > |
void | getValue (std::istream &is, T1 &aval, T2 &bval) |
|
template<class IT > |
void | getValues (std::istream &is, IT first, IT last) |
|
int | search (std::istream &is, const std::string &keyword) |
|
int | search (std::istream &is, const std::string &keyword, std::string &the_line) |
|
bool | lookFor (std::istream &is, const std::string &keyword) |
|
bool | lookFor (std::istream &is, const std::string &keyword, std::string &the_line) |
|
Definition at line 45 of file SimpleParser.h.
◆ getValue() [1/2]
void getValue |
( |
std::istream & |
is, |
|
|
T & |
aval |
|
) |
| |
|
inline |
◆ getValue() [2/2]
void getValue |
( |
std::istream & |
is, |
|
|
T1 & |
aval, |
|
|
T2 & |
bval |
|
) |
| |
|
inline |
◆ getValues()
void getValues |
( |
std::istream & |
is, |
|
|
IT |
first, |
|
|
IT |
last |
|
) |
| |
|
inline |
◆ lookFor() [1/2]
bool lookFor |
( |
std::istream & |
is, |
|
|
const std::string & |
keyword |
|
) |
| |
|
inline |
Definition at line 130 of file SimpleParser.h.
Referenced by DiracParser::getCOSCI(), GamesAsciiParser::getCSF(), QPParser::getGaussianCenters(), DiracParser::getGeometry(), GamesAsciiParser::getORMAS(), DiracParser::getSpinors(), DiracParser::getWF(), GaussianFCHKParser::parse(), GamesAsciiParser::parse(), DiracParser::parse(), and DiracParser::parseCOSCIOrbInfo().
132 bool notfound =
true;
136 getline(is, aline,
'\n');
137 if (aline.find(keyword) != std::string::npos)
◆ lookFor() [2/2]
bool lookFor |
( |
std::istream & |
is, |
|
|
const std::string & |
keyword, |
|
|
std::string & |
the_line |
|
) |
| |
|
inline |
Definition at line 151 of file SimpleParser.h.
153 bool notfound =
true;
157 getline(is, aline,
'\n');
158 if (aline.find(keyword) != std::string::npos)
◆ search() [1/2]
int search |
( |
std::istream & |
is, |
|
|
const std::string & |
keyword |
|
) |
| |
|
inline |
Definition at line 89 of file SimpleParser.h.
Referenced by DiracParser::getCOSCI(), GaussianFCHKParser::getGaussianCenters(), DiracParser::getGaussianCenters(), GaussianFCHKParser::getGeometry(), DiracParser::getGeometry(), QPParser::getMO(), GamesAsciiParser::getMO(), DiracParser::getSpinors(), GaussianFCHKParser::parse(), QPParser::parse(), GamesAsciiParser::parse(), DiracParser::parse(), and DiracParser::parseCOSCIOrbInfo().
95 getline(is, aline,
'\n');
98 std::cout <<
"KEYWORD " << keyword <<
" : NOT FOUND. " << std::endl;
101 if (aline.find(keyword) < aline.size())
◆ search() [2/2]
int search |
( |
std::istream & |
is, |
|
|
const std::string & |
keyword, |
|
|
std::string & |
the_line |
|
) |
| |
|
inline |
Definition at line 109 of file SimpleParser.h.
111 bool notfound =
true;
115 getline(is, aline,
'\n');
118 std::cout <<
"KEYWORD " << keyword <<
" : NOT FOUND. " << std::endl;
121 if (aline.find(keyword) < aline.size())
◆ skiplines()
void skiplines |
( |
std::istream & |
is, |
|
|
int |
n |
|
) |
| |
|
inline |
◆ bufferSize
const int bufferSize = 200 |
|
static |
◆ currentWords
std::vector<std::string> currentWords |
Definition at line 49 of file SimpleParser.h.
Referenced by GamesAsciiParser::getCI(), DiracParser::getCOSCI(), GamesAsciiParser::getCSF(), QPParser::getGaussianCenters(), GamesAsciiParser::getGaussianCenters(), DiracParser::getGaussianCenters(), QPParser::getGeometry(), GamesAsciiParser::getGeometry(), DiracParser::getGeometry(), QPParser::getMO(), GamesAsciiParser::getMO(), QPParser::getMO_single_set(), GamesAsciiParser::getMO_single_set(), GamesAsciiParser::getORMAS(), QPParser::getQPCI(), DiracParser::getSpinors(), GaussianFCHKParser::parse(), QPParser::parse(), GamesAsciiParser::parse(), DiracParser::parse(), and DiracParser::parseCOSCIOrbInfo().
◆ dbuffer
The documentation for this struct was generated from the following files: