#include <OnixS/Eurex/Trading/AuditTrail.h>
Public Member Functions | |
| Reader (const std::string &filePath) | |
| Reader (const std::string &directory, const std::string &fileNamePrefix) | |
| ~Reader () | |
| bool | read (Entry &entry) |
A Reader reads Audit Trail files, created by Handler, and decodes them into entries. Each entry contains direction (In or Out), timestamp, message info and pointer to Message object.
Definition at line 73 of file AuditTrail.h.
| Reader | ( | const std::string & | filePath | ) |
Creates a Reader that reads the given Audit Trail file.
| filePath | full path to Audit Trail file. |
| Reader | ( | const std::string & | directory, |
| const std::string & | fileNamePrefix ) |
Creates a Reader that reads the Audit Trail files of the given directory.
| directory | the directory where audit trail files stored. |
| fileNamePrefix | pattern the whole file name, extension included, must match, e.g. "AuditTrail*". |
| ~Reader | ( | ) |
Releases any system resources associated with instance.
| bool read | ( | Entry & | entry | ) |
Reads a single Audit Trail entry.
| entry | Audit Trail record entry fields. |