OnixS C++ CME Market Data Handler  2.56.0.0
Public Member Functions | Friends | List of all members
Event Class Reference

Events of a security definition. More...

Public Member Functions

 ~Event ()
 Cleans up underlying resources.
 
EventType type () const
 Code to represent the type of event.
 
bool date (Date &date) const
 Date of event.
 
bool time (TimeSpan &time) const
 Time of event.
 
- Public Member Functions inherited from GroupInstance
 GroupInstance ()
 Initializes instance referencing to nothing.
 
 GroupInstance (const GroupInstance &other)
 Initializes instance as reference to the other one.
 
GroupInstanceoperator= (const GroupInstance &)
 Reinitializes instance as reference of other one.
 
const Messagemessage () const
 Instance of Message holding given repeating group instance. More...
 
- Public Member Functions inherited from FieldSet
 operator bool () const
 Indicates whether instance refers to a valid set of fields. More...
 
FieldValueRef get (Tag tag) const
 Provides access to field value using field tag. More...
 
char getChar (Tag tag) const
 Returns field value as a char value. More...
 
Int32 getInt32 (Tag tag) const
 Returns field value as an Int32 value. More...
 
UInt32 getUInt32 (Tag tag) const
 Returns field value as an UInt32 value. More...
 
Int64 getInt64 (Tag tag) const
 Returns field value as an Int64 value. More...
 
UInt64 getUInt64 (Tag tag) const
 Returns field value as an UInt64 value. More...
 
Decimal getDecimal (Tag tag) const
 Returns the field value as a decimal number. More...
 
StringRef getStringRef (Tag tag) const
 Returns reference to a read-only text chain. More...
 
Timestamp getTimestamp (Tag tag, TimestampFormat format=TimestampFormats::YYYYMMDDHHMMSSmsec) const
 Returns the field value as timestamp of requested format. More...
 
Group getGroup (Tag tag) const
 Returns reference to a repeating group if underlying field defines length of repeating group. More...
 
Group getOptionalGroup (Tag tag) const
 Returns reference to a repeating group if underlying field defines length of repeating group. More...
 
bool hasFlag (Tag tag) const
 Returns true if the given flag is present and it equals to "Y", otherwise false. More...
 
bool contain (Tag tag) const
 Checks the presence of a field This method should be used if the actual field value is NOT of interest - otherwise field lookup operation will be done twice. More...
 

Friends

class TypedGroup< Event >
 

Additional Inherited Members

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

Detailed Description

Events of a security definition.