#include <tRecorder.h>
Static Public Member Functions | |
static bool | Archive (bool strict, char const *section) |
Archives an empty section. |
Definition at line 54 of file tRecorder.h.
bool tRecorderTemplate1< BLOCK >::Archive | ( | bool | strict, | |
char const * | section | |||
) | [inline, static] |
Archives an empty section.
strict | true if the success should be asserted | |
section | the name of the section to record or play back |
Definition at line 987 of file tRecorder.h.
References tASSERT.
Referenced by tRecorder::Playback(), tRecorder::PlaybackStrict(), and tRecorder::Record().
00988 { 00989 // create recording/playback block 00990 BLOCK block; 00991 00992 // initialize 00993 if ( block.Initialize( section ) ) 00994 { 00995 // return success 00996 return true; 00997 } 00998 00999 // report failure 01000 tASSERT( !strict || !BLOCK::GetArchive() ); 01001 return false; 01002 }