VR-Forces 4.5 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Classes | Public Member Functions | Private Member Functions | Private Attributes
DtColumnLogger Class Reference
Inheritance diagram for DtColumnLogger:
Inheritance graph
[legend]

Classes

class  Column

Public Member Functions

 DtColumnLogger ()
 ~DtColumnLogger ()
ColumngetColumn (const std::string &label, int index=-1)
ColumngetColumn (const char *label, int index=-1)
unsigned lineNumber () const
void incrementLineNumber ()
void reset (bool resetWidth=false)
 Clear out data in columns.
void print ()
 Print data to stream.
void printText (const std::string &)
void setOutput (const std::string &file)
void setTag (const std::string &tag)

Private Member Functions

void initFiles ()

Private Attributes

unsigned myCurrentLine
unsigned myLinesSinceHeaderPrint
Column myRootColumn
std::string myTextOutputFile
std::string myCSVOutputFile
std::string myTag
std::ostream * myTextOutput
std::ostream * myCSVOutput

Constructor & Destructor Documentation

DtColumnLogger::DtColumnLogger ( )
explicit
DtColumnLogger::~DtColumnLogger ( )

Member Function Documentation

Column& DtColumnLogger::getColumn ( const std::string &  label,
int  index = -1 
)
inline
Column& DtColumnLogger::getColumn ( const char label,
int  index = -1 
)
inline
unsigned DtColumnLogger::lineNumber ( ) const
void DtColumnLogger::incrementLineNumber ( )
void DtColumnLogger::reset ( bool  resetWidth = false)

Clear out data in columns.

void DtColumnLogger::print ( )

Print data to stream.

void DtColumnLogger::printText ( const std::string &  )
void DtColumnLogger::setOutput ( const std::string &  file)
void DtColumnLogger::setTag ( const std::string &  tag)
void DtColumnLogger::initFiles ( )
private

Member Data Documentation

unsigned DtColumnLogger::myCurrentLine
private
unsigned DtColumnLogger::myLinesSinceHeaderPrint
private
Column DtColumnLogger::myRootColumn
private
std::string DtColumnLogger::myTextOutputFile
private
std::string DtColumnLogger::myCSVOutputFile
private
std::string DtColumnLogger::myTag
private
std::ostream* DtColumnLogger::myTextOutput
private
std::ostream* DtColumnLogger::myCSVOutput
private

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

Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (www.mak.com)