OnixS C++ FIX Engine  4.12.0
API Documentation
GroupInstance Class Reference

#include <OnixS/FIXEngine/FIX/Group.h>

Public Member Functions

 GroupInstance ()
 
 GroupInstance (const GroupInstance &other)
 
GroupInstanceoperator= (const GroupInstance &)
 
void swap (GroupInstance &)
 
std::string toString (char delimiter=0x1) const
 
void toString (std::string &str, char delimiter=0x1) const
 
- Public Member Functions inherited from FieldSet
bool valid () const
 
bool contain (Tag tag) const
 
FieldValueRef get (Tag tag) const
 
Char getChar (Tag tag) const
 
Int32 getInt32 (Tag tag) const
 
UInt32 getUInt32 (Tag tag) const
 
Int64 getInt64 (Tag tag) const
 
UInt64 getUInt64 (Tag tag) const
 
Double getDouble (Tag tag) const
 
Decimal getDecimal (Tag tag) const
 
Decimal getDecimal (Tag tag, Int32 exponent) const
 
StringRef getStringRef (Tag tag) const
 
Timestamp getTimestamp (Tag tag) const
 
Timestamp getTimestamp (Tag tag, TimestampFormat::Enum) const
 
TimeSpan getTimeSpan (Tag tag) const
 
Group getGroup (Tag numberOfInstancesTag) const
 
bool hasFlag (Tag tag) const
 
FieldSetset (Tag tag, Int32 value)
 
FieldSetsetV (Tag tag, Int32 value)
 
FieldSetset (Tag tag, UInt32 value)
 
FieldSetsetV (Tag tag, UInt32 value)
 
FieldSetset (Tag tag, Int64 value)
 
FieldSetsetV (Tag tag, Int64 value)
 
FieldSetset (Tag tag, UInt64 value)
 
FieldSetsetV (Tag tag, UInt64 value)
 
FieldSetset (Tag tag, Double value, size_t precision=17)
 
FieldSetset (Tag tag, Double value, size_t precision, size_t length)
 
FieldSetsetV (Tag tag, Double value, size_t precision=17)
 
FieldSetsetV (Tag tag, Double value, size_t precision, size_t length)
 
FieldSetset (Tag tag, const Decimal &value)
 
FieldSetset (Tag tag, const Decimal &value, size_t length)
 
FieldSetsetV (Tag tag, const Decimal &value)
 
FieldSetsetV (Tag tag, const Decimal &value, size_t length)
 
FieldSetset (Tag tag, char value)
 
FieldSetset (Tag tag, const std::string &value)
 
FieldSetset (Tag tag, const char *value)
 
FieldSetset (Tag tag, const StringRef &value)
 
FieldSetset (Tag tag, const Timestamp &value, TimestampFormat::Enum valueFormat=TimestampFormat::YYYYMMDDHHMMSSNsec)
 
FieldSetsetV (Tag tag, const Timestamp &value, TimestampFormat::Enum valueFormat=TimestampFormat::YYYYMMDDHHMMSSNsec)
 
FieldSetset (Tag tag, const TimeSpan &value, TimeSpanFormat::Enum valueFormat=TimeSpanFormat::HHMMSSNsec)
 
FieldSetsetV (Tag tag, const TimeSpan &value, TimeSpanFormat::Enum valueFormat=TimeSpanFormat::HHMMSSNsec)
 
Group setGroup (Tag tag, size_t value)
 
FieldSetsetFlag (Tag tag, bool value)
 
FieldSetset (Tag tag, const FieldValueRef &value)
 
bool erase (Tag tag)
 
size_t fields (Fields &fields) const
 
ConstIterator begin () const
 
ConstIterator end () const
 

Friends

class MessageOperator
 

Additional Inherited Members

- Protected Types inherited from FieldSet
typedef size_t AccessPolicies
 
- Protected Member Functions inherited from FieldSet
 FieldSet ()
 
 FieldSet (const Message *, void *, AccessPolicies)
 
 FieldSet (const FieldSet &)
 
 ~FieldSet () ONIXS_FIXENGINE_DEFAULT
 
FieldSetoperator= (const FieldSet &)
 
void swap (FieldSet &)
 
- Protected Attributes inherited from FieldSet
void * impl_
 
const Messagecontainer_
 
AccessPolicies policies_
 

Detailed Description

Provides an access to the fields of a particular repeating group instance.

Class behaves like a pointer/reference to a set of FIX fields. Coping and assignment operations just update a reference to the field-set being pointed, no deep copying is performed.

Definition at line 37 of file Group.h.

Constructor & Destructor Documentation

The group instance which refers to nothing.

GroupInstance ( const GroupInstance other)

Initializes an instance as a reference to the other one.

Member Function Documentation

GroupInstance & operator= ( const GroupInstance other)
inline

Reinitializes an instance as reference of other one.

Definition at line 74 of file Group.h.

void swap ( GroupInstance other)
inline

Swaps two instances.

Definition at line 81 of file Group.h.

std::string toString ( char  delimiter = 0x1) const
inline

Returns the string representation of the group instance using the given delimiter.

Parameters
delimiterDefines the field delimiter to be used.

Definition at line 87 of file Group.h.

void toString ( std::string &  str,
char  delimiter = 0x1 
) const

Appends a string representation of the group instance using the given delimiter.

Parameters
strThe string to which the presentation is appended.
delimiterDefines the field delimiter to be used.

Friends And Related Function Documentation

friend class MessageOperator
friend

Definition at line 68 of file Group.h.


The documentation for this class was generated from the following file: