Public Member Functions | Private Attributes | List of all members
ProbabilisticSceneRecognition::PrintHelper Class Reference

#include <PrintHelper.h>

Public Member Functions

void addLine (const std::string &pLine)
 
void printAsHeader ()
 
void printAsHeader (const std::string &pLine)
 
 PrintHelper (char pMarker)
 
 ~PrintHelper ()
 

Private Attributes

std::string mDivider
 
std::vector< std::string > mLines
 

Detailed Description

This class offers functionality to help printing to the screen.

Definition at line 27 of file PrintHelper.h.

Constructor & Destructor Documentation

ProbabilisticSceneRecognition::PrintHelper::PrintHelper ( char  pMarker)
inline

Constructor.

Parameters
pMarkerSymbol used to mark output with dividers consisting of it.

Definition at line 34 of file PrintHelper.h.

ProbabilisticSceneRecognition::PrintHelper::~PrintHelper ( )
inline

Destructor.

Definition at line 42 of file PrintHelper.h.

Member Function Documentation

void ProbabilisticSceneRecognition::PrintHelper::addLine ( const std::string &  pLine)
inline

Add a line to print.

Parameters
pLineto print.

Definition at line 48 of file PrintHelper.h.

void ProbabilisticSceneRecognition::PrintHelper::printAsHeader ( )
inline

Print added lines as header, between two dividers, and reset lines.

Definition at line 56 of file PrintHelper.h.

void ProbabilisticSceneRecognition::PrintHelper::printAsHeader ( const std::string &  pLine)
inline

Print a single line as a header.

Parameters
pLine

Definition at line 69 of file PrintHelper.h.

Member Data Documentation

std::string ProbabilisticSceneRecognition::PrintHelper::mDivider
private

Divider used to mark output.

Definition at line 80 of file PrintHelper.h.

std::vector<std::string> ProbabilisticSceneRecognition::PrintHelper::mLines
private

Lines to print.

Definition at line 85 of file PrintHelper.h.


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


asr_psm
Author(s): Braun Kai, Gehrung Joachim, Heizmann Heinrich, Meißner Pascal
autogenerated on Fri Nov 15 2019 04:00:09