6 #ifndef UNIVERSAL_ERROR_HPP 7 #define UNIVERSAL_ERROR_HPP 1 37 void AddEntry(std::string
const& field,
48 std::vector<std::string>
const&
GetFields(
void)
const;
53 std::vector<double>
const&
GetValues(
void)
const;
61 std::vector<std::string> fields_;
63 std::vector<double> values_;
68 #endif // UNIVERSAL_ERROR_HPP 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.
std::string const & GetErrorMessage(void) const
Returns the error message.