![]() |
MolSSI Integral Reference Project
|
Miscellaneous testing functions. More...
#include <string>
#include <vector>
#include <istream>
#include <limits>
Go to the source code of this file.
Namespaces | |
mirp | |
Functions | |
void | mirp::print_results (unsigned long nfailed, unsigned long ntests) |
Print the results of a test. More... | |
int | mirp::amchar_to_int (char am) |
Convert a character representing an angular momentum to an integer. More... | |
int | mirp::element_to_z (const std::string &element) |
Convert a string representing an element to its atomic Z number. More... | |
std::string | mirp::str_tolower (const std::string &s) |
Converts a string to lower case, returning a copy. More... | |
std::string | mirp::trim (const std::string &s) |
Trims spaces and tabs from both ends of a string, returning a copy. More... | |
std::vector< std::string > | mirp::split (const std::string &s, char sep=' ') |
Splits a string into components. More... | |
bool | mirp::file_skip (std::istream &fs, char commentchar) |
Advances the stream past any comment and blank lines. More... | |
Variables | |
static const std::streamsize | mirp::max_length = std::numeric_limits<std::streamsize>::max() |
Maximum length of a line. More... | |
Miscellaneous testing functions.