84 , accessor_(&accessor)
101 : binary_(other.binary_)
102 , accessor_(other.accessor_)
108 operator bool()
const
110 return (NULL != accessor_);
118 return this->
field(tag);
126 assert(NULL != accessor_);
128 return accessor_->field(binary_, tag);
137 binary_ = other.binary_;
138 accessor_ = other.accessor_;
167 , accessor_(&accessor)
187 : binary_(other.binary_)
188 , accessor_(other.accessor_)
194 operator bool()
const
196 return (NULL != accessor_);
203 return binary_.size();
212 assert(NULL != accessor_);
225 binary_ = other.binary_;
226 accessor_ = other.accessor_;
278 : binary_(binary), accessor_(&accessor)
294 : binary_(other.binary_)
295 , accessor_(other.accessor_)
300 operator bool()
const
302 return (NULL != accessor_);
308 assert(NULL != accessor_);
310 return accessor_->type();
324 return this->
field(tag);
338 assert(NULL != accessor_);
340 return accessor_->field(binary_, tag);
349 assert(NULL != accessor_);
351 return accessor_->group(binary_, tag);
357 std::string& str)
const
359 assert(NULL != accessor_);
361 accessor_->toFix(str, binary_);
369 binary_ = other.binary_;
370 accessor_ = other.accessor_;
#define ONIXS_CONFLATEDUDP_LTWT_CLASS
#define ONIXS_CONFLATEDUDPFIX_NAMESPACE_BEGIN
#define ONIXS_CONFLATEDUDPFIX_NAMESPACE_END
#define ONIXS_CONFLATEDUDP_EXPORTED_STRUCT
#define ONIXS_CONFLATEDUDP_LTWT_CLASS_DECL(name)
Encapsulates operations over SBE-encoded repeating group entries.
Encapsulates services for manipulating SBE-encoded messages.
GroupEntry(const GroupEntrySource &binary, const GroupEntryAccessor &accessor)
GroupEntry(const GroupEntry &other)
Field field(Tag tag) const
Group(const GroupEntriesSource &binary, const GroupEntryAccessor &accessor)
Initializes the instance over the binary data.
GroupEntriesSource::Size Size
Number of repeating group entries.
Group(const Group &other)
Initializes as the copy of the other instance.
Message(const BinaryMessage &binary, const MessageAccessor &accessor)
Initializes the instance from the SBE-encoded message.
Group group(Tag tag) const
StrRef type() const
FIX message type.
Message(const Message &other)
Initializes as the copy of the other instance.
void toFix(std::string &str) const
Builds the FIX (tag=value) representation.
Field field(Tag tag) const
BinaryGroupEntry< MessageSize > GroupEntrySource
void toStr(std::string &str, const Message &message)
Serializes FIX message into tag=value format.
BinaryGroupEntries< GroupEntrySource, MessageSize, MessageSize, MessageSize > GroupEntriesSource
UInt16 MessageSize
Aliases message length type.
virtual Field field(Tag) const =0
virtual Field field(const GroupEntrySource &, Tag) const =0
virtual Field field(const BinaryMessage &, Tag) const =0
Returns field value by its tag.
virtual void toFix(std::string &, const BinaryMessage &) const =0
virtual Group group(const BinaryMessage &, Tag) const =0
Accesses a repeating group by its tag.
virtual StrRef type() const =0
FIX message type.