27 #ifndef LBANN_UTILS_DESCRIPTION_HPP 28 #define LBANN_UTILS_DESCRIPTION_HPP 63 void add(std::string line);
72 void add(std::string field, T value)
75 ss.setf(std::ios_base::boolalpha);
76 ss << field <<
": " << value;
111 #endif // LBANN_UTILS_DESCRIPTION_HPP friend std::ostream & operator<<(std::ostream &os, const description &desc)
description(std::string title="")
Generates nicely formatted description messages.
std::vector< std::string > m_lines
void add(std::string line)
void set_title(std::string title)
void add(std::string field, T value)