70 , accessor_(&accessor)
86 : binary_(other.binary_)
87 , accessor_(other.accessor_)
103 return this->
field(tag);
113 return accessor_->field(binary_, tag);
120 binary_ = other.binary_;
121 accessor_ = other.accessor_;
140 , accessor_(&accessor)
157 : binary_(other.binary_)
158 , accessor_(other.accessor_)
164 operator bool()
const
173 return binary_.size();
182 return GroupEntry(binary_[index], *accessor_);
188 binary_ = other.binary_;
189 accessor_ = other.accessor_;
224 , accessor_(&accessor)
239 : binary_(other.binary_)
240 , accessor_(other.accessor_)
245 operator bool()
const
255 return accessor_->type();
269 return this->
field(tag);
285 return accessor_->field(binary_, tag);
296 return accessor_->group(binary_, tag);
304 accessor_->toFix(str, binary_);
310 binary_ = other.binary_;
311 accessor_ = other.accessor_;
#define ONIXS_CMEMDHFIX_NAMESPACE_BEGIN
#define ONIXS_CMEMDH_LTWT
#define ONIXS_CMEMDH_LTWT_CLASS_DECL(name)
#define ONIXS_CMEMDHFIX_NAMESPACE_END
#define ONIXS_CMEMDH_NULLPTR
#define ONIXS_CMEMDH_EXPORTED
#define ONIXS_CMEMDH_OVERRIDE
Encapsulates operations over SBE-encoded repeating group entries.
Encapsulates services for manipulating SBE-encoded messages.
Field field(Tag tag) const override
Field operator[](Tag tag) const
GroupEntry & operator=(const GroupEntry &other)
GroupEntry(const GroupEntrySource &binary, const GroupEntryAccessor &accessor)
GroupEntry(const GroupEntry &other)
Group & operator=(const Group &other)
Re-initializes as the copy of the other instance.
Group(const GroupEntriesSource &binary, const GroupEntryAccessor &accessor)
Initializes the instance over the binary data.
GroupEntry operator[](Size index) const
GroupEntriesSource::Size Size
Number of repeating group entries.
Group(const Group &other)
Initializes as the copy of the other instance.
Field field(Tag tag) const override
Message & operator=(const Message &other)
Re-initializes as the copy of the other instance.
Field operator[](Tag tag) const
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.
BinaryGroupEntry< MessageSize > GroupEntrySource
void toStr(std::string &str, const Message &message)
Serializes FIX message into tag=value format.
BinaryGroupEntries< GroupEntrySource, MessageSize, MessageSize, MessageSize > GroupEntriesSource
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.