33 #ifndef STRING_TABLE_STREAM_H_
34 #define STRING_TABLE_STREAM_H_
101 std::vector<char> vc;
102 for(
size_t i=0; i<l; i++)
111 if(i == l-1)
return *
this;
133 for(
size_t i=0; i<c.
number; i++)
185 void set(
size_t r,
size_t c, T t)
192 *
this << str.c_str();
Definition: string_table_stream.h:66
std::string to_string() const
Definition: table_impl.hpp:153
void clear()
Definition: table_impl.hpp:73
std::ostream & operator<<(std::ostream &outStream, const ug::MathMatrix< 2, 2 > &m)
Definition: math_matrix.cpp:38
void clear()
Definition: string_table_stream.h:200
StringTableStream()
Definition: string_table_stream.h:73
size_t number
Definition: string_table_stream.h:128
StringTableStream & operator<<(T t)
Definition: string_table_stream.h:86
RepeatedCol empty_col(size_t i)
Definition: string_table_stream.h:156
std::string to_string() const
Definition: string_table_stream.h:195
size_t m_curRow
Definition: string_table_stream.h:69
void set(size_t r, size_t c, T t)
Definition: string_table_stream.h:185
StringTable s
Definition: string_table_stream.h:68
std::string content
Definition: string_table_stream.h:127
RepeatedCol repeat_col(size_t nrRepeat, T contentToRepeat)
Definition: string_table_stream.h:179
StringTable & table()
Definition: string_table_stream.h:78
size_t m_curCol
Definition: string_table_stream.h:70
RepeatedCol(std::string _content, size_t _number)
Definition: string_table_stream.h:125
std::string ToString(const T &t)
Convert a object supporting 'std::cout << obj' to a string.
Definition: string_util.h:362
double number
Definition: types.h:124
Definition: string_table_stream.h:124