tRecordingBlock Class Reference

a block of data to record (for more advanced data storage ), implementation More...

#include <tRecorder.h>

Inheritance diagram for tRecordingBlock:

Inheritance graph
[legend]
Collaboration diagram for tRecordingBlock:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 tRecordingBlock ()
 default constructor
 ~tRecordingBlock ()
 ends a recording block
template<class T>
tRecordingBlockoperator<< (T const &data)
 writes a piece of data
template<class T>
tRecordingBlockArchive (T const &data)
 writes a piece of data
template<class T>
tRecordingBlockWrite (T const &data)
 writes a piece of data


Detailed Description

a block of data to record (for more advanced data storage ), implementation

Definition at line 278 of file tRecorder.h.


Constructor & Destructor Documentation

tRecordingBlock::tRecordingBlock ( void   ) 

default constructor

Definition at line 379 of file tRecorder.cpp.

00380 {
00381 }

tRecordingBlock::~tRecordingBlock ( void   ) 

ends a recording block

Definition at line 392 of file tRecorder.cpp.

00393 {
00394 }


Member Function Documentation

template<class T>
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 ); }

Here is the call graph for this function:

template<class T>
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 ); }

Here is the call graph for this function:

Here is the caller graph for this function:

template<class T>
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     }

Here is the call graph for this function:

Here is the caller graph for this function:


The documentation for this class was generated from the following files:
Generated on Sat Mar 15 23:58:51 2008 for Armagetron Advanced by  doxygen 1.5.4