KratosMultiphysics
KRATOS Multiphysics (Kratos) is a framework for building parallel, multi-disciplinary simulation software, aiming at modularity, extensibility, and high performance. Kratos is written in C++, and counts with an extensive Python interface.
|
LoggerTableOutput takes columns names and only prints the messages with lable given with column name. More...
#include <logger_table_output.h>
Public Member Functions | |
Life Cycle | |
LoggerTableOutput (Parameters rSettings) | |
LoggerTableOutput (std::ostream &rMyStream, Parameters rSettings) | |
LoggerTableOutput (LoggerTableOutput const &Other) | |
virtual | ~LoggerTableOutput () |
Destructor. More... | |
Operators | |
LoggerTableOutput & | operator= (LoggerTableOutput const &Other)=delete |
Access | |
void | WriteHeader () override |
void | WriteMessage (LoggerMessage const &TheMessage) override |
Input and output | |
std::string | Info () const override |
Turn back information as a string. More... | |
void | PrintInfo (std::ostream &rOStream) const override |
Print information about this object. More... | |
void | PrintData (std::ostream &rOStream) const override |
Print object's data. More... | |
Public Member Functions inherited from Kratos::LoggerOutput | |
KRATOS_DEFINE_LOCAL_FLAG (WARNING_PREFIX) | |
KRATOS_DEFINE_LOCAL_FLAG (INFO_PREFIX) | |
KRATOS_DEFINE_LOCAL_FLAG (DETAIL_PREFIX) | |
KRATOS_DEFINE_LOCAL_FLAG (DEBUG_PREFIX) | |
KRATOS_DEFINE_LOCAL_FLAG (TRACE_PREFIX) | |
KRATOS_CLASS_POINTER_DEFINITION (LoggerOutput) | |
Pointer definition of LoggerOutput. More... | |
LoggerOutput (std::ostream &rOutputStream) | |
LoggerOutput (LoggerOutput const &Other) | |
virtual | ~LoggerOutput () |
Destructor. More... | |
LoggerOutput & | operator= (LoggerOutput const &Other)=delete |
virtual void | Flush () |
void | SetMaxLevel (std::size_t TheLevel) |
std::size_t | GetMaxLevel () const |
void | SetSeverity (LoggerMessage::Severity const &TheSeverity) |
LoggerMessage::Severity | GetSeverity () const |
void | SetCategory (LoggerMessage::Category const &TheCategory) |
LoggerMessage::Category | GetCategory () const |
void | SetOption (const Kratos::Flags ThisFlag, bool Value) |
bool | GetOption (const Kratos::Flags ThisFlag) |
template<class StreamValueType > | |
LoggerOutput & | operator<< (StreamValueType const &rValue) |
string stream function More... | |
LoggerOutput & | operator<< (std::ostream &(*pf)(std::ostream &)) |
Manipulator stream function. More... | |
LoggerOutput & | operator<< (const char *rString) |
char stream function More... | |
Additional Inherited Members | |
Protected Member Functions inherited from Kratos::LoggerOutput | |
LoggerOutput () | |
std::ostream & | GetStream () |
std::ostream * | pGetStream () |
void | SetStream (std::ostream *pStream) |
virtual void | SetMessageColor (LoggerMessage::Severity MessageSeverity) |
virtual void | ResetMessageColor (LoggerMessage::Severity MessageSeverity) |
LoggerTableOutput takes columns names and only prints the messages with lable given with column name.
The columns width will be at least equal to the lable size and can be extended by adding additional spaces to the end of the column name: "Time Step" width would be 9 and "Time Step " width would be 12
Kratos::LoggerTableOutput::LoggerTableOutput | ( | Parameters | rSettings | ) |
Kratos::LoggerTableOutput::LoggerTableOutput | ( | std::ostream & | rMyStream, |
Parameters | rSettings | ||
) |
Kratos::LoggerTableOutput::LoggerTableOutput | ( | LoggerTableOutput const & | Other | ) |
|
inlinevirtual |
Destructor.
|
overridevirtual |
Turn back information as a string.
Reimplemented from Kratos::LoggerOutput.
|
delete |
|
overridevirtual |
Print object's data.
Reimplemented from Kratos::LoggerOutput.
|
overridevirtual |
Print information about this object.
Reimplemented from Kratos::LoggerOutput.
|
overridevirtual |
Reimplemented from Kratos::LoggerOutput.
|
overridevirtual |
Reimplemented from Kratos::LoggerOutput.