Public Member Functions

ConsoleFormatter Class Reference

Inheritance diagram for ConsoleFormatter:
BenchFormatter

List of all members.

Public Member Functions

virtual void writeTitle (const std::vector< std::string > &titles, const std::vector< std::string > &values)
 write the titles of the columns or groups.
virtual void writeResult (const std::string &val, std::vector< BenchResult > results)
 write the result information for value val.

Member Function Documentation

void ConsoleFormatter::writeResult ( const std::string &  val,
std::vector< BenchResult results 
) [virtual]

write the result information for value val.

Parameters:
valconst std::string& the value.
resultsstd::vector<BenchResult> a vector of benchmark results.

The benchmark results appear in the order the corresponding benchmarks were added to the BenchmarkGroup.

Implements BenchFormatter.

void ConsoleFormatter::writeTitle ( const std::vector< std::string > &  titles,
const std::vector< std::string > &  values 
) [virtual]

write the titles of the columns or groups.

Parameters:
titlesstd::vector<std::string>&.

Implements BenchFormatter.


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