OnixS Eurex ETI Handler C++ library  9.11.0
API documentation
Reader Class Reference

#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)
 

Detailed Description

A Reader reads Audit Trail files, created by Handler, and decodes them into entries. Each entry contains direction (In or Oout), timestamp, message info and pointer to Message object.

Definition at line 72 of file AuditTrail.h.

Constructor & Destructor Documentation

Reader ( const std::string &  filePath)

Creates an Reader that reads files from given directory.

Parameters
filePathfull path to Audit Trail file.
Reader ( const std::string &  directory,
const std::string &  fileNamePrefix 
)

Creates an Reader that reads files from given directory.

Parameters
directorythe directory where audit trail files stored.
fileNamePrefixtemplate of Audit Trail file name without extension.
Remarks
Standard wildcard '*' can be used in fileNamePrefix argument.
~Reader ( )

Releases any system resources associated with instance.

Member Function Documentation

bool read ( Entry entry)

Reads a single Audit Trail entry.

Parameters
entryAudit Trail record entry fields.

The documentation for this class was generated from the following file: