Template Numerical Library version\ main:f17d0c8
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Protected Attributes | List of all members
TNL::Benchmarks::Logging Class Referenceabstract
Inheritance diagram for TNL::Benchmarks::Logging:
Inheritance graph
[legend]
Collaboration diagram for TNL::Benchmarks::Logging:
Collaboration graph
[legend]

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: