te::vp::OperationReport Class Reference

Class used as a report logger for Operations. More...

#include <OperationReport.h>

Public Member Functions

void addEmptyLine ()
 
void addEndMessage (const std::string &message, int id)
 
void addKeyValueMessage (const std::string &key, const std::string &value)
 
void addMessage (const std::string &message, const std::string &severity="", bool appendTime=false)
 
void addStartMessage (const std::string &message, int id)
 
void addSubTitle (const std::string &message)
 
void addTitle (const std::string &message)
 
 OperationReport ()
 Default constructor. More...
 
void toFile (const std::string &reportPath)
 
std::string toString ()
 
 ~OperationReport ()
 Virtual destructor. More...
 

Protected Attributes

std::map< int, std::clock_t > m_clockTime
 
std::stringstream m_reportStr
 

Detailed Description

Class used as a report logger for Operations.

Definition at line 47 of file OperationReport.h.

Constructor & Destructor Documentation

◆ OperationReport()

te::vp::OperationReport::OperationReport ( )

Default constructor.

◆ ~OperationReport()

te::vp::OperationReport::~OperationReport ( )

Virtual destructor.

Member Function Documentation

◆ addEmptyLine()

void te::vp::OperationReport::addEmptyLine ( )

◆ addEndMessage()

void te::vp::OperationReport::addEndMessage ( const std::string &  message,
int  id 
)

◆ addKeyValueMessage()

void te::vp::OperationReport::addKeyValueMessage ( const std::string &  key,
const std::string &  value 
)

◆ addMessage()

void te::vp::OperationReport::addMessage ( const std::string &  message,
const std::string &  severity = "",
bool  appendTime = false 
)

◆ addStartMessage()

void te::vp::OperationReport::addStartMessage ( const std::string &  message,
int  id 
)

◆ addSubTitle()

void te::vp::OperationReport::addSubTitle ( const std::string &  message)

◆ addTitle()

void te::vp::OperationReport::addTitle ( const std::string &  message)

◆ toFile()

void te::vp::OperationReport::toFile ( const std::string &  reportPath)

◆ toString()

std::string te::vp::OperationReport::toString ( )

Member Data Documentation

◆ m_clockTime

std::map<int, std::clock_t> te::vp::OperationReport::m_clockTime
protected

Definition at line 82 of file OperationReport.h.

◆ m_reportStr

std::stringstream te::vp::OperationReport::m_reportStr
protected

Definition at line 80 of file OperationReport.h.


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