OnixS C++ CME MDP Conflated TCP Handler 1.3.6
API Documentation
Loading...
Searching...
No Matches
Composites.h
Go to the documentation of this file.
1// Copyright Onix Solutions Limited [OnixS]. All rights reserved.
2//
3// This software owned by Onix Solutions Limited [OnixS] and is
4// protected by copyright law and international copyright treaties.
5//
6// Access to and use of the software is governed by the terms of the applicable
7// OnixS Software Services Agreement (the Agreement) and Customer end user license
8// agreements granting a non-assignable, non-transferable and non-exclusive license
9// to use the software for it's own data processing purposes under the terms defined
10// in the Agreement.
11//
12// Except as otherwise granted within the terms of the Agreement, copying or
13// reproduction of any part of this source code or associated reference material
14// to any other location for further reproduction or redistribution, and any
15// amendments to this copyright notice, are expressly prohibited.
16//
17// Any reproduction or redistribution for sale or hiring of the Software not in
18// accordance with the terms of the Agreement is a violation of copyright law.
19//
20
21#pragma once
22
24
27
29ONIXS_CONFLATEDTCP_DATA_PACKING_BEGIN(1)
30
31
35{
36public:
38 enum { Size = 3 };
39
41 typedef UInt16 BlockLength;
42
45
50 {
51 return blockLength_;
52 }
53
57 {
58 blockLength_ = value;
59 }
60
65 {
66 return numInGroup_;
67 }
68
72 {
73 numInGroup_ = value;
74 }
75
76private:
77 BlockLength blockLength_;
78 NumInGroup numInGroup_;
79};
80
81
84{
85public:
87 enum { Size = 4 };
88
92 typedef UInt16 BlockLength;
93
97 typedef UInt16 NumInGroup;
98
105 {
106 return blockLength_;
107 }
108
114 {
115 blockLength_ = value;
116 }
117
124 {
125 return numInGroup_;
126 }
127
133 {
134 numInGroup_ = value;
135 }
136
137private:
138 BlockLength blockLength_;
139 NumInGroup numInGroup_;
140};
141
142
145{
146public:
148 enum { Size = 8 };
149
151 typedef UInt16 BlockLength;
152
154 typedef UInt16 TemplateId;
155
157 typedef UInt16 SchemaId;
158
160 typedef UInt16 Version;
161
166 {
167 return blockLength_;
168 }
169
173 {
174 blockLength_ = value;
175 }
176
181 {
182 return templateId_;
183 }
184
188 {
189 templateId_ = value;
190 }
191
196 {
197 return schemaId_;
198 }
199
203 {
204 schemaId_ = value;
205 }
206
211 {
212 return version_;
213 }
214
216 void setVersion(Version value)
218 {
219 version_ = value;
220 }
221
222private:
223 BlockLength blockLength_;
224 TemplateId templateId_;
225 SchemaId schemaId_;
226 Version version_;
227};
228
229
231
232ONIXS_CONFLATEDTCP_DATA_PACKING_END
233
234
235
#define ONIXS_CONFLATEDTCP_LTWT_CLASS
Definition ABI.h:84
#define ONIXS_CONFLATEDTCP_MESSAGING_NAMESPACE_BEGIN
Definition ABI.h:140
#define ONIXS_CONFLATEDTCP_MESSAGING_NAMESPACE_END
Definition ABI.h:143
#define ONIXS_CONFLATEDTCP_NOTHROW
Definition Compiler.h:176
#define ONIXS_CONFLATEDTCP_NODISCARD
Definition Compiler.h:185
void setNumInGroup(NumInGroup value) noexcept
Sets the numInGroup field.
Definition Composites.h:131
UInt16 BlockLength
Type alias for the BlockLength.
Definition Composites.h:92
UInt16 NumInGroup
Type alias for the NumInGroup.
Definition Composites.h:97
void setBlockLength(BlockLength value) noexcept
Sets the blockLength field.
Definition Composites.h:112
NumInGroup numInGroup() const noexcept
Definition Composites.h:63
void setNumInGroup(NumInGroup value) noexcept
Sets the numInGroup field.
Definition Composites.h:70
UInt8 NumInGroup
Type alias for the NumInGroup.
Definition Composites.h:44
UInt16 BlockLength
Type alias for the BlockLength.
Definition Composites.h:41
void setBlockLength(BlockLength value) noexcept
Sets the blockLength field.
Definition Composites.h:55
BlockLength blockLength() const noexcept
Definition Composites.h:48
Template ID and length of message root.
Definition Composites.h:145
void setVersion(Version value) noexcept
Sets the version field.
Definition Composites.h:216
UInt16 SchemaId
Type alias for the SchemaId.
Definition Composites.h:157
UInt16 BlockLength
Type alias for the BlockLength.
Definition Composites.h:151
void setTemplateId(TemplateId value) noexcept
Sets the templateId field.
Definition Composites.h:186
UInt16 TemplateId
Type alias for the TemplateId.
Definition Composites.h:154
void setSchemaId(SchemaId value) noexcept
Sets the schemaId field.
Definition Composites.h:201
void setBlockLength(BlockLength value) noexcept
Sets the blockLength field.
Definition Composites.h:171
UInt16 Version
Type alias for the Version.
Definition Composites.h:160
MessageHeader::SchemaId SchemaId