OnixS Eurex ETI Handler C++ library 9.25.0
API documentation
Loading...
Searching...
No Matches
AuditTrail.h
Go to the documentation of this file.
1/*
2 * Copyright Onix Solutions Limited [OnixS]. All rights reserved.
3 *
4 * This software owned by Onix Solutions Limited [OnixS] and is protected by copyright law
5 * and international copyright treaties.
6 *
7 * Access to and use of the software is governed by the terms of the applicable ONIXS Software
8 * Services Agreement (the Agreement) and Customer end user license agreements granting
9 * a non-assignable, non-transferable and non-exclusive license to use the software
10 * for it's own data processing purposes under the terms defined in the Agreement.
11 *
12 * Except as otherwise granted within the terms of the Agreement, copying or reproduction of any
13 * part of this source code or associated reference material to any other location for further
14 * reproduction or redistribution, and any amendments to this copyright notice, are expressly
15 * prohibited.
16 *
17 * Any reproduction or redistribution for sale or hiring of the Software not in accordance with
18 * the terms of the Agreement is a violation of copyright law.
19 */
20
21#pragma once
22
23#include "OnixS/Eurex/Trading/Export.h"
28
29#include <string>
30
31namespace OnixS { namespace Eurex { namespace Trading { namespace AuditTrail {
32
34struct ONIXS_EUREX_ETI_EXPORT Direction
35{
37 enum Enum
38 {
42 };
43
45 static std::string toString(Enum);
46};
47
69
73class ONIXS_EUREX_ETI_EXPORT Reader
74{
75public:
79 Reader(const std::string& filePath);
80
87 Reader(const std::string& directory, const std::string& fileNamePrefix);
88
91
95 bool read(Entry& entry);
96
97private:
98 Reader(const Reader&); // no implementation
99 Reader& operator=(const Reader&); // no implementation
100
101private:
102 struct Impl;
103 Impl* impl_;
104};
105
106}}}} // namespace OnixS::Eurex::Trading::AuditTrail
~Reader()
Releases any system resources associated with instance.
Reader(const std::string &filePath)
Reader(const std::string &directory, const std::string &fileNamePrefix)
Indicates message flow direction.
Definition AuditTrail.h:35
Enum
Indicates message flow direction.
Definition AuditTrail.h:38
static std::string toString(Enum)
Returns string representation.
Collects Audit Trail file record fields.
Definition AuditTrail.h:50
Entry()
Creates empty record entry.
Definition AuditTrail.h:52
PtrTraits< Message >::UniquePtr message
Message.
Definition AuditTrail.h:64
HighResolutionTimeFields timestamp
Timestamp.
Definition AuditTrail.h:61
Direction::Enum direction
Direction.
Definition AuditTrail.h:58
MessageInfo messageInfo
Message info.
Definition AuditTrail.h:67
Fields of HighResolutionTime.
Definition Time.h:59
std::auto_ptr< T > UniquePtr
Definition UniquePtr.h:33