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

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

Collaboration diagram for GroupInstance:

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
 operator bool () 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, TimestampFormat::Enum=TimestampFormat::YYYYMMDDHHMMSSNsec) const
 
TimeSpan getTimeSpan (Tag tag) const
 
Group getGroup (Tag numberOfInstancesTag) const
 
bool hasFlag (Tag tag) const
 
bool set (Tag tag, Int32 value)
 
bool setV (Tag tag, Int32 value)
 
bool set (Tag tag, UInt32 value)
 
bool setV (Tag tag, UInt32 value)
 
bool set (Tag tag, Int64 value)
 
bool setV (Tag tag, Int64 value)
 
bool set (Tag tag, UInt64 value)
 
bool setV (Tag tag, UInt64 value)
 
bool set (Tag tag, Double value, size_t precision=17)
 
bool set (Tag tag, Double value, size_t precision, size_t length)
 
bool setV (Tag tag, Double value, size_t precision=17)
 
bool setV (Tag tag, Double value, size_t precision, size_t length)
 
bool set (Tag tag, const Decimal &value)
 
bool set (Tag tag, const Decimal &value, size_t length)
 
bool setV (Tag tag, const Decimal &value)
 
bool setV (Tag tag, const Decimal &value, size_t length)
 
bool set (Tag tag, char value)
 
bool set (Tag tag, const std::string &value)
 
bool set (Tag tag, const char *value)
 
bool set (Tag tag, const StringRef &value)
 
bool set (Tag tag, const Timestamp &value, TimestampFormat::Enum valueFormat=TimestampFormat::YYYYMMDDHHMMSSNsec)
 
bool setV (Tag tag, const Timestamp &value, TimestampFormat::Enum valueFormat=TimestampFormat::YYYYMMDDHHMMSSNsec)
 
bool set (Tag tag, const TimeSpan &value, TimeSpanFormat::Enum valueFormat=TimeSpanFormat::HHMMSSNsec)
 
bool setV (Tag tag, const TimeSpan &value, TimeSpanFormat::Enum valueFormat=TimeSpanFormat::HHMMSSNsec)
 
Group setGroup (Tag tag, size_t value)
 
bool setFlag (Tag tag, bool value)
 
bool set (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 ()
 
FieldSetoperator= (const FieldSet &)
 
void swap (FieldSet &)
 
- Protected Attributes inherited from FieldSet
void * impl_
 
const Messagecontainer_
 
AccessPolicies policies_
 

Detailed Description

Provides 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 reference to the field-set being pointed, no deep copying is performed.

Definition at line 37 of file Group.h.

Constructor & Destructor Documentation

Group instance which refers to nothing.

GroupInstance ( const GroupInstance other)

Initializes instance as reference to the other one.

Member Function Documentation

GroupInstance & operator= ( const GroupInstance other)
inline

Reinitializes 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 field delimiter to be used.

Definition at line 87 of file Group.h.

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

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

Parameters
strString to which presentation is appended.
delimiterDefines 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: