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_;
BinaryGroupEntries< GroupEntrySource, MessageSize, MessageSize, MessageSize > GroupEntriesSource
virtual Field field(const GroupEntrySource &, Tag) const =0
#define ONIXS_CONFLATEDUDP_LTWT_CLASS_DECL(name)
Message(const Message &other)
Initializes as the copy of the other instance.
Encapsulates operations over SBE-encoded repeating group entries.
void toFix(std::string &str) const
Builds the FIX (tag=value) representation.
Encapsulates services for manipulating SBE-encoded messages.
Group(const Group &other)
Initializes as the copy of the other instance.
#define ONIXS_CONFLATEDUDPFIX_NAMESPACE_END
MessageSize Size
Number of entries in the collection.
virtual Group group(const BinaryMessage &, Tag) const =0
Accesses a repeating group by its tag.
std::string toStr(const Message &message)
Serializes FIX message into tag=value format.
Field field(Tag tag) const
#define ONIXS_CONFLATEDUDP_EXPORTED_STRUCT
virtual void toFix(std::string &, const BinaryMessage &) const =0
virtual Field field(const BinaryMessage &, Tag) const =0
Returns field value by its tag.
BinaryGroupEntry< MessageSize > GroupEntrySource
GroupEntriesSource::Size Size
Number of repeating group entries.
Size size() const
Returns number of blocks.
Group group(Tag tag) const
Group(const GroupEntriesSource &binary, const GroupEntryAccessor &accessor)
Initializes the instance over the binary data.
StrRef type() const
FIX message type.
UInt16 MessageSize
Aliases message length type.
#define ONIXS_CONFLATEDUDP_LTWT_CLASS
virtual StrRef type() const =0
FIX message type.
#define ONIXS_CONFLATEDUDPFIX_NAMESPACE_BEGIN
Message(const BinaryMessage &binary, const MessageAccessor &accessor)
Initializes the instance from the SBE-encoded message.
void toFix(std::string &str, AggressorFlag::Enum value)
Serializes object into FIX presentation.