Template Numerical Library version\ main:bb09b17
Loading...
Searching...
No Matches
TNL::Benchmarks::Logging Class Referenceabstract
Inheritance diagram for TNL::Benchmarks::Logging:
Collaboration diagram for TNL::Benchmarks::Logging:

Public Types

using HeaderElements = std::vector< std::string >
 
using MetadataColumns = std::vector< MetadataElement >
 
using MetadataElement = std::pair< std::string, std::string >
 
using RowElements = LoggingRowElements
 
using WidthHints = std::vector< int >
 

Public Member Functions

 Logging (std::ostream &log, int verbose=1)
 
int getVerbose () const
 
virtual void logResult (const std::string &performer, const HeaderElements &headerElements, const RowElements &rowElements, const WidthHints &columnWidthHints, const std::string &errorMessage="")=0
 
virtual void setMetadataColumns (const MetadataColumns &elements)
 
virtual void setMetadataElement (const typename MetadataColumns::value_type &element, int insertPosition=-1)
 
virtual void setMetadataWidths (const std::map< std::string, int > &widths)
 
void setVerbose (int verbose)
 
virtual void writeErrorMessage (const std::string &message)=0
 

Protected Attributes

bool header_changed = true
 
std::ostreamlog
 
MetadataColumns metadataColumns
 
std::map< std::string, int > metadataWidths
 
int verbose = 0
 

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