OnixS CME Drop Copy Handler C++ library 5.7.1
API documentation
Loading...
Searching...
No Matches
GroupInstance Class Reference

Public Member Functions

 GroupInstance ()
 GroupInstance (const GroupInstance &other)
GroupInstanceoperator= (const GroupInstance &)
const Messagemessage () const
Public Member Functions inherited from FieldSet
 operator bool () 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
Decimal getDecimal (Tag tag) const
StringRef getStringRef (Tag tag) const
Timestamp getTimestamp (Tag tag, SinceEpochUnit unit) const
Group getGroup (Tag tag) const
Group getOptionalGroup (Tag tag, bool strict=true) const
bool hasFlag (Tag tag) const
bool contain (Tag tag) const

Friends

class MessageOperator

Additional Inherited Members

Protected Member Functions inherited from FieldSet
 FieldSet (const Message *, const void *)
 FieldSet (const FieldSet &)
 ~FieldSet ()
FieldSetoperator= (const FieldSet &)
Protected Attributes inherited from FieldSet
const void * impl_
const Messagecontainer_

Detailed Description

Single instance of FIX Repeating Group. 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 443 of file Messaging.h.

Constructor & Destructor Documentation

◆ GroupInstance() [1/2]

Initializes instance referencing to nothing.

◆ GroupInstance() [2/2]

GroupInstance ( const GroupInstance & other)

Initializes instance as reference to the other one.

Member Function Documentation

◆ message()

const Message & message ( ) const
inline

Instance of Message holding given repeating group instance.

Warning
Due to performance considerations, doesn't check whether instance refers to a valid set of fields. Use operator bool() to check whether instance is in valid state.

Definition at line 470 of file Messaging.h.

◆ operator=()

GroupInstance & operator= ( const GroupInstance & )

Reinitializes instance as reference of other one.

◆ MessageOperator

friend class MessageOperator
friend

Definition at line 465 of file Messaging.h.