#include <tRecorder.h>
Public Member Functions | |
tRecordingBlock () | |
default constructor | |
~tRecordingBlock () | |
ends a recording block | |
template<class T> | |
tRecordingBlock & | operator<< (T const &data) |
writes a piece of data | |
template<class T> | |
tRecordingBlock & | Archive (T const &data) |
writes a piece of data | |
template<class T> | |
tRecordingBlock & | Write (T const &data) |
writes a piece of data |
Definition at line 278 of file tRecorder.h.
tRecordingBlock::tRecordingBlock | ( | void | ) |
tRecordingBlock::~tRecordingBlock | ( | void | ) |
tRecordingBlock& tRecordingBlock::operator<< | ( | T const & | data | ) | [inline] |
writes a piece of data
Definition at line 285 of file tRecorder.h.
References Write().
00285 { return Write( data ); }
tRecordingBlock& tRecordingBlock::Archive | ( | T const & | data | ) | [inline] |
writes a piece of data
Definition at line 288 of file tRecorder.h.
References Write().
Referenced by EventArchiver< Archiver >::ArchiveKey().
00288 { return Write( data ); }
tRecordingBlock& tRecordingBlock::Write | ( | T const & | data | ) | [inline] |
writes a piece of data
Definition at line 291 of file tRecorder.h.
References tRecordingBlockBase::GetRecordingStream(), tRecordingBlockBase::separate_, and tRecorderBlockHelper< DATA >::Write().
Referenced by Archive(), and operator<<().
00292 { 00293 // get stream 00294 std::ostream & stream = GetRecordingStream(); 00295 00296 // add separator 00297 if ( separate_ ) 00298 stream << ' '; 00299 separate_ = true; 00300 00301 // delegate to dummy using or dummyless function 00302 typename tTypeToStream< T >::DUMMYREQUIRED dummyRequired = 0; 00303 tRecorderBlockHelper< T >::Write( stream, data, dummyRequired ); 00304 00305 return *this; 00306 }