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.
List of all members
Kratos::LoggerTableOutput Class Reference

LoggerTableOutput takes columns names and only prints the messages with lable given with column name. More...

#include <logger_table_output.h>

Inheritance diagram for Kratos::LoggerTableOutput:
Collaboration diagram for Kratos::LoggerTableOutput:

Public Member Functions

Life Cycle
 LoggerTableOutput (Parameters rSettings)
 
 LoggerTableOutput (std::ostream &rMyStream, Parameters rSettings)
 
 LoggerTableOutput (LoggerTableOutput const &Other)
 
virtual ~LoggerTableOutput ()
 Destructor. More...
 
Operators
LoggerTableOutputoperator= (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...
 
LoggerOutputoperator= (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 >
LoggerOutputoperator<< (StreamValueType const &rValue)
 string stream function More...
 
LoggerOutputoperator<< (std::ostream &(*pf)(std::ostream &))
 Manipulator stream function. More...
 
LoggerOutputoperator<< (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)
 

Detailed Description

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

Constructor & Destructor Documentation

◆ LoggerTableOutput() [1/3]

Kratos::LoggerTableOutput::LoggerTableOutput ( Parameters  rSettings)

◆ LoggerTableOutput() [2/3]

Kratos::LoggerTableOutput::LoggerTableOutput ( std::ostream &  rMyStream,
Parameters  rSettings 
)

◆ LoggerTableOutput() [3/3]

Kratos::LoggerTableOutput::LoggerTableOutput ( LoggerTableOutput const &  Other)

◆ ~LoggerTableOutput()

virtual Kratos::LoggerTableOutput::~LoggerTableOutput ( )
inlinevirtual

Destructor.

Member Function Documentation

◆ Info()

std::string Kratos::LoggerTableOutput::Info ( ) const
overridevirtual

Turn back information as a string.

Reimplemented from Kratos::LoggerOutput.

◆ operator=()

LoggerTableOutput& Kratos::LoggerTableOutput::operator= ( LoggerTableOutput const &  Other)
delete

◆ PrintData()

void Kratos::LoggerTableOutput::PrintData ( std::ostream &  rOStream) const
overridevirtual

Print object's data.

Reimplemented from Kratos::LoggerOutput.

◆ PrintInfo()

void Kratos::LoggerTableOutput::PrintInfo ( std::ostream &  rOStream) const
overridevirtual

Print information about this object.

Reimplemented from Kratos::LoggerOutput.

◆ WriteHeader()

void Kratos::LoggerTableOutput::WriteHeader ( )
overridevirtual

Reimplemented from Kratos::LoggerOutput.

◆ WriteMessage()

void Kratos::LoggerTableOutput::WriteMessage ( LoggerMessage const &  TheMessage)
overridevirtual

Reimplemented from Kratos::LoggerOutput.


The documentation for this class was generated from the following files: