14 #if !defined(KRATOS_TABLE_STREAM_UTILITY)
15 #define KRATOS_TABLE_STREAM_UTILITY
63 mTable(&
std::cout,
"|", UseBoldFont)
111 template<
class TClass>
123 void AddColumn(
const std::string& ThisName,
unsigned int ThisSpaces)
139 virtual std::string
Info()
const
141 return "TableStreamUtility";
147 rOStream <<
Info() << std::endl;
153 rOStream <<
Info() << std::endl;
216 rSerializer.
save(
"Table", mTable);
221 rSerializer.
load(
"Table", mTable);
The serialization consists in storing the state of an object into a storage format like data file or ...
Definition: serializer.h:123
void load(std::string const &rTag, TDataType &rObject)
Definition: serializer.h:207
void save(std::string const &rTag, std::array< TDataType, TDataSize > const &rObject)
Definition: serializer.h:545
This is a fancy table to stream data in a fancy way.
Definition: table_stream.h:64
Definition: table_stream_utility.h:45
virtual void PrintInfo(std::ostream &rOStream) const
Print information about this object.
Definition: table_stream_utility.h:145
void AddToRow(TClass ThisClass)
Definition: table_stream_utility.h:112
virtual std::string Info() const
Turn back information as a string.
Definition: table_stream_utility.h:139
void PrintHeader()
Definition: table_stream_utility.h:93
KRATOS_CLASS_POINTER_DEFINITION(TableStreamUtility)
Counted pointer of TableStreamUtility.
virtual void PrintData(std::ostream &rOStream) const
Print object's data.
Definition: table_stream_utility.h:151
void PrintFooter()
Definition: table_stream_utility.h:102
virtual ~TableStreamUtility()=default
TableStreamType & GetTable()
Definition: table_stream_utility.h:133
void AddColumn(const std::string &ThisName, unsigned int ThisSpaces)
Definition: table_stream_utility.h:123
TableStreamUtility(const bool UseBoldFont=true)
Definition: table_stream_utility.h:62
void AddColumn(const std::string &HeaderName, const int ColumnWidth)
Add a column to our table.
Definition: table_stream.h:220
void PrintHeader()
This function prints the header of the stream.
Definition: table_stream.h:235
void PrintFooter()
This function prints the footer of the stream.
Definition: table_stream.h:277
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
TableStream TableStreamType
Definition: table_stream_utility.h:34
def load(f)
Definition: ode_solve.py:307
namespace
Definition: array_1d.h:793