7 fields_(vector<string>()),
8 values_(vector<double>()) {}
11 err_msg_(origin.err_msg_),
12 fields_(origin.fields_),
13 values_(origin.values_) {}
23 fields_.push_back(field);
24 values_.push_back(value);
42 UniversalError::~UniversalError(
void) {}
Container for error reports.
std::vector< double > const & GetValues(void) const
Returns entry values.
std::vector< std::string > const & GetFields(void) const
Returns entry fields.
UniversalError(std::string const &err_msg)
Class constructor.
void AddEntry(std::string const &field, double value)
Adds an entry to the list.
void Append2ErrorMessage(std::string const &msg)
Appends std::string to the error message.
A class for storing error and debug information.
std::string const & GetErrorMessage(void) const
Returns the error message.