726 return currentField_;
730 return ¤tField_;
792 return get(tag).valid();
#define ONIXS_FIXENGINE_API_DECL(typeKind, typeName)
#define ONIXS_FIXENGINE_API
#define ONIXS_FIXENGINE_DEFAULT
The Decimal type for a better precision.
The constant iterator to iterate over all fields in the given FieldSet instance.
std::forward_iterator_tag iterator_category
ConstIterator(const FieldSet *, Tag)
Initializes the iterator by a first field from which you need to iterate.
std::ptrdiff_t difference_type
FieldSet & setV(Tag tag, Double value, size_t precision, size_t length)
Assigns the given value to the field.
UInt32 getUInt32(Tag tag) const
Returns a field value as an OnixS::FIX::UInt32 value.
FieldSet & setV(Tag tag, Int64 value)
Assigns the given value to the field.
FieldSet & set(Tag tag, Double value, size_t precision, size_t length)
Assigns the given value to the field, if the string presentation of the value is greater than the len...
FieldSet & set(Tag tag, const Timestamp &value, TimestampFormat::Enum valueFormat=TimestampFormat::YYYYMMDDHHMMSSNsec)
Assigns the given value to the field.
Timestamp getTimestamp(Tag tag) const
Returns the field value as a timestamp.
Timestamp getTimestamp(Tag tag, TimestampFormat::Enum) const
Returns the field value as a timestamp of the requested format.
FieldSet(const Message *, void *, AccessPolicies)
const Message * container_
bool valid() const
Indicates whether an instance refers to a valid set of fields.
FieldSet & set(Tag tag, const FieldValueRef &value)
Assigns the value to a field as a copy of another field value.
Int32 getInt32(Tag tag) const
Returns a field value as an OnixS::FIX::Int32 value.
bool hasFlag(Tag tag) const
Returns true if the given flag is present and it equals to "Y", otherwise false.
FieldSet & setV(Tag tag, UInt32 value)
Assigns the given value to the field.
FieldSet & set(Tag tag, UInt64 value)
Assigns the given value to the field.
FieldSet & setV(Tag tag, const Decimal &value, size_t length)
Assigns the given value to the field.
Double getDouble(Tag tag) const
Returns the field value as a floating-point number.
FieldSet & set(Tag tag, UInt32 value)
Assigns the given value to the field.
FieldSet(const FieldSet &)
Group getGroup(Tag numberOfInstancesTag) const
Returns a reference to a repeating group if the underlying field defines the length of the repeating ...
ConstIterator end() const
Returns the constant iterator to the field after the last one in the FieldSet instance.
FieldSet & set(Tag tag, Int32 value)
Assigns the given value to the field.
FieldSet & setV(Tag tag, UInt64 value)
Assigns the given value to the field.
FieldSet & set(Tag tag, Int64 value)
Assigns the given value to the field.
FieldSet & setV(Tag tag, Double value, size_t precision=17)
Assigns the given value to the field.
FieldSet & setV(Tag tag, const Timestamp &value, TimestampFormat::Enum valueFormat=TimestampFormat::YYYYMMDDHHMMSSNsec)
Assigns the given value to the field.
FieldSet & set(Tag tag, const char *value)
Assigns the given value to the field.
bool erase(Tag tag)
Erases an association of the field with its value.
FieldSet & set(Tag tag, const std::string &value)
Assigns the given value to the field.
Group setGroup(Tag tag, size_t value)
Creates a new repeating group or changes the number of instances in the existing repeating group.
FieldSet & set(Tag tag, const TimeSpan &value, TimeSpanFormat::Enum valueFormat=TimeSpanFormat::HHMMSSNsec)
Assigns the given value to the field.
FieldSet & set(Tag tag, const StringRef &value)
Assigns the given value to the field.
Decimal getDecimal(Tag tag, Int32 exponent) const
Returns the field value as a decimal number with fixed exponent.
friend class MessageOperator
Decimal getDecimal(Tag tag) const
Returns the field value as a decimal number.
FieldSet & set(Tag tag, Double value, size_t precision=17)
Assigns the given value to the field.
FieldSet & setV(Tag tag, const TimeSpan &value, TimeSpanFormat::Enum valueFormat=TimeSpanFormat::HHMMSSNsec)
Assigns the given value to the field.
UInt64 getUInt64(Tag tag) const
Returns a field value as an OnixS::FIX::UInt64 value.
FieldSet & setFlag(Tag tag, bool value)
Assigns the flag value ("Y" or "N") to the field.
size_t fields(Fields &fields) const
Retrieve tags and values of all non-empty fields belonged to the given FieldSet instance.
StringRef getStringRef(Tag tag) const
Returns reference to a read-only text chain.
bool contain(Tag tag) const
Returns 'true' if the field-set contains the field with the given tag, otherwise - 'false'.
FieldSet & set(Tag tag, char value)
Assigns the given value to the field.
Int64 getInt64(Tag tag) const
Returns a field value as an OnixS::FIX::Int64 value.
FieldSet & setV(Tag tag, const Decimal &value)
Assigns the given value to the field.
FieldValueRef get(Tag tag) const
Returns a reference to the given field value.
ConstIterator begin() const
Returns the constant iterator to the first field in the FieldSet instance.
FieldSet & setV(Tag tag, Int32 value)
Assigns the given value to the field.
friend class GroupInstance
TimeSpan getTimeSpan(Tag tag) const
Returns the field value as a time span.
~FieldSet() ONIXS_FIXENGINE_DEFAULT
FieldSet & set(Tag tag, const Decimal &value, size_t length)
Assigns the given value to the field.
Char getChar(Tag tag) const
Returns a field value as an OnixS::FIX::Char value.
FieldSet & set(Tag tag, const Decimal &value)
Assigns the given value to the field.
Implements a concept of a read-only reference to a FIX field value.
Encapsulates operations over the FIX Repeating Group.
Encapsulates operations over a FIX Message.
Provides an efficient way of accessing text-based FIX field values.
The time span related functionality.
The timestamps related functionality.
unsigned long long UInt64
std::vector< Field > Fields
The ordered collection of fields.
unsigned Tag
Alias for tag numbers.
Field primary attributes (the tag and a reference to a value).
Field(Tag fieldTag, const FieldValueRef &fieldValue)
Initializes all members.
Field()
Initializes the field which refers to nothing.
FieldValueRef value
The field value reference.