Pyrogenesis
13997
|
#include <trace.h>
Public Member Functions | |
virtual | ~ITrace () |
virtual void | NotifyLoad (const Path &pathname, size_t size)=0 |
virtual void | NotifyStore (const Path &pathname, size_t size)=0 |
virtual Status | Store (const OsPath &pathname) const =0 |
store all entries into a file. More... | |
virtual Status | Load (const OsPath &pathname)=0 |
load entries from file. More... | |
virtual const TraceEntry * | Entries () const =0 |
virtual size_t | NumEntries () const =0 |
|
pure virtual |
Implemented in Trace, and Trace_Dummy.
load entries from file.
pathname | (native, absolute) |
replaces any existing entries.
Implemented in Trace, and Trace_Dummy.
|
pure virtual |
Implemented in Trace, and Trace_Dummy.
|
pure virtual |
Implemented in Trace, and Trace_Dummy.
|
pure virtual |
Implemented in Trace, and Trace_Dummy.
store all entries into a file.
pathname | (native, absolute) |
note: the file format is text-based to allow human inspection and because storing filename strings in a binary format would be a bit awkward.
Implemented in Trace, and Trace_Dummy.