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"
24
#include "
OnixS/Eurex/Trading/Message.h
"
25
#include "
OnixS/Eurex/Trading/MessageInfo.h
"
26
#include "
OnixS/Eurex/Trading/Time.h
"
27
#include "
OnixS/Eurex/Trading/UniquePtr.h
"
28
29
#include <string>
30
31
namespace
OnixS
{
namespace
Eurex
{
namespace
Trading
{
namespace
AuditTrail
{
32
34
struct
ONIXS_EUREX_ETI_EXPORT
Direction
35
{
37
enum
Enum
38
{
39
NoValue
,
40
In
,
41
Out
,
42
};
43
45
static
std::string
toString
(
Enum
);
46
};
47
49
struct
ONIXS_EUREX_ETI_EXPORT
Entry
50
{
52
Entry
()
53
:
direction
(
Direction
::NoValue)
54
{
55
}
56
58
Direction::Enum
direction
;
59
61
HighResolutionTimeFields
timestamp
;
62
64
PtrTraits<Message>::UniquePtr
message
;
65
67
MessageInfo
messageInfo
;
68
};
69
73
class
ONIXS_EUREX_ETI_EXPORT
Reader
74
{
75
public
:
79
Reader
(
const
std::string& filePath);
80
87
Reader
(
const
std::string& directory,
const
std::string& fileNamePrefix);
88
90
~Reader
();
91
95
bool
read
(
Entry
& entry);
96
97
private
:
98
Reader
(
const
Reader
&);
// no implementation
99
Reader
& operator=(
const
Reader
&);
// no implementation
100
101
private
:
102
struct
Impl;
103
Impl* impl_;
104
};
105
106
}}}}
// namespace OnixS::Eurex::Trading::AuditTrail
MessageInfo.h
Message.h
Time.h
UniquePtr.h
OnixS::Eurex::Trading::AuditTrail::Reader::~Reader
~Reader()
Releases any system resources associated with instance.
OnixS::Eurex::Trading::AuditTrail::Reader::Reader
Reader(const std::string &filePath)
OnixS::Eurex::Trading::AuditTrail::Reader::read
bool read(Entry &entry)
OnixS::Eurex::Trading::AuditTrail::Reader::Reader
Reader(const std::string &directory, const std::string &fileNamePrefix)
OnixS::Eurex::Trading::AuditTrail
Definition
AuditTrail.h:31
OnixS::Eurex::Trading
Definition
AdminListener.h:39
OnixS::Eurex
Definition
AdminListener.h:39
OnixS
Definition
AdminListener.h:39
OnixS::Eurex::Trading::AuditTrail::Direction
Indicates message flow direction.
Definition
AuditTrail.h:35
OnixS::Eurex::Trading::AuditTrail::Direction::Enum
Enum
Indicates message flow direction.
Definition
AuditTrail.h:38
OnixS::Eurex::Trading::AuditTrail::Direction::NoValue
@ NoValue
No value.
Definition
AuditTrail.h:39
OnixS::Eurex::Trading::AuditTrail::Direction::Out
@ Out
Sent.
Definition
AuditTrail.h:41
OnixS::Eurex::Trading::AuditTrail::Direction::In
@ In
Received.
Definition
AuditTrail.h:40
OnixS::Eurex::Trading::AuditTrail::Direction::toString
static std::string toString(Enum)
Returns string representation.
OnixS::Eurex::Trading::AuditTrail::Entry
Collects Audit Trail file record fields.
Definition
AuditTrail.h:50
OnixS::Eurex::Trading::AuditTrail::Entry::Entry
Entry()
Creates empty record entry.
Definition
AuditTrail.h:52
OnixS::Eurex::Trading::AuditTrail::Entry::message
PtrTraits< Message >::UniquePtr message
Message.
Definition
AuditTrail.h:64
OnixS::Eurex::Trading::AuditTrail::Entry::timestamp
HighResolutionTimeFields timestamp
Timestamp.
Definition
AuditTrail.h:61
OnixS::Eurex::Trading::AuditTrail::Entry::direction
Direction::Enum direction
Direction.
Definition
AuditTrail.h:58
OnixS::Eurex::Trading::AuditTrail::Entry::messageInfo
MessageInfo messageInfo
Message info.
Definition
AuditTrail.h:67
OnixS::Eurex::Trading::HighResolutionTimeFields
Fields of HighResolutionTime.
Definition
Time.h:59
OnixS::Eurex::Trading::MessageInfo
Message info.
Definition
MessageInfo.h:33
OnixS::Eurex::Trading::PtrTraits::UniquePtr
std::auto_ptr< T > UniquePtr
Definition
UniquePtr.h:33
OnixS
Eurex
Trading
AuditTrail.h
Technical Support:
support@onixs.biz
Copyright © 2025 OnixS. All Rights Reserved.