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

Classes

struct  Value

Public Types

typedef boost::ptr_list< ColumnSequence

Public Member Functions

 Column (DtColumnLogger &, const std::string &label)
 Column (Column &parent, const std::string &label)
ColumngetColumn (const std::string &label, int index=-1)
ValueaddValue (double)
template<typename T >
ValueaddValue (T val)
void reset (bool resetWidth)
 Remove data from this column.
int print (std::ostream *textstream, std::ostream *csvsteram, bool headers)
unsigned width ()
 Get width of column.
void updateWidth (unsigned, bool onlyIfGreater=true)
Value::Listvalues ()
SequencesubColumns ()
std::string label () const
void markAsPrinted ()
bool hasBeenPrinted ()

Private Types

typedef tbb::spin_rw_mutex Mutex

Private Attributes

Mutex myMutex
DtColumnLoggermyLogger
std::string myLabel
Value::List myValues
unsigned myMaxWidth
bool myNewFlag
Sequence myColumns

Member Typedef Documentation

typedef boost::ptr_list<Column> DtColumnLogger::Column::Sequence
typedef tbb::spin_rw_mutex DtColumnLogger::Column::Mutex
private

Constructor & Destructor Documentation

DtColumnLogger::Column::Column ( DtColumnLogger ,
const std::string &  label 
)
explicit
DtColumnLogger::Column::Column ( Column parent,
const std::string &  label 
)
explicit

Member Function Documentation

Column& DtColumnLogger::Column::getColumn ( const std::string &  label,
int  index = -1 
)
Value& DtColumnLogger::Column::addValue ( double  )
template<typename T >
Value& DtColumnLogger::Column::addValue ( val)
inline
void DtColumnLogger::Column::reset ( bool  resetWidth)

Remove data from this column.

int DtColumnLogger::Column::print ( std::ostream *  textstream,
std::ostream *  csvsteram,
bool  headers 
)
unsigned DtColumnLogger::Column::width ( )

Get width of column.

void DtColumnLogger::Column::updateWidth ( unsigned  ,
bool  onlyIfGreater = true 
)
Value::List& DtColumnLogger::Column::values ( )
inline
Sequence& DtColumnLogger::Column::subColumns ( )
inline
std::string DtColumnLogger::Column::label ( ) const
inline
void DtColumnLogger::Column::markAsPrinted ( )
bool DtColumnLogger::Column::hasBeenPrinted ( )

Member Data Documentation

Mutex DtColumnLogger::Column::myMutex
mutableprivate
DtColumnLogger& DtColumnLogger::Column::myLogger
private
std::string DtColumnLogger::Column::myLabel
private
Value::List DtColumnLogger::Column::myValues
private
unsigned DtColumnLogger::Column::myMaxWidth
private
bool DtColumnLogger::Column::myNewFlag
private
Sequence DtColumnLogger::Column::myColumns
private

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

Document ID: Generated on Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)