50 : valueOffset_(valueOffset), valueSize_(valueSize) {
64 operator bool()
const {
65 return (0 != valueOffset_);
73 valueOffset_ == other.valueOffset_ &&
74 valueSize_ == other.valueSize_);
82 valueOffset_ != other.valueOffset_ ||
83 valueSize_ != other.valueSize_);
89 OnixS::FIX::Core::Messaging::Extras::
107 : key_(static_cast<size_t>(-1)) {
116 operator size_t()
const {
124 return (key_ == other.key_);
131 return (key_ != other.key_);
138 OnixS::FIX::Core::Messaging::Extras::
FlatFieldKey()
Initializes as a non-valid key.
FlatFieldRef()
Initializes as a references to nothing.
size_t valueOffset() const
Gets value offset.
FlatFieldRef SerializedFieldRef
size_t valueSize() const
Gets value size.
static FlatFieldKey sendingTime()
Key to access the SendingTime field.
Represents a temporary reference to a field in an editable serialized message.
static FlatFieldKey bodyLength()
Key to access the BodyLength field.
Provides an access to FIX fields from a flat (tag=value) message.
KnownFlatFieldKeys KnownSerializedFieldKeys
static FlatFieldKey msgType()
Key to access the MsgType field.
Key to a serialized field - represents another way of accessing fields in an editable serialized mess...
static FlatFieldKey seqNumber()
Key to access the MsgSeqNum field.
Keys are constant during the serialized message lifetime.
FlatFieldKey SerializedFieldKey
bool operator==(const FieldValueRef &ref, const std::string &str)
static FlatFieldKey dynamic()
Value of the first key to be allocated dynamically.
FlatFieldRef(size_t valueOffset, size_t valueSize)
Message only should use this constructor to initialize a valid reference.
bool operator!=(const FieldValueRef &ref, const std::string &str)