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

Lot type rules. More...

Public Member Functions

LotType type () const
 The quantity type used for the leg of the spread.
 
bool minSize (FloatQuantity &size) const
 Minimum quantity accepted for order entry. More...
 
- 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< LotTypeRule >
 

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

Lot type rules.

Member Function Documentation

bool minSize ( FloatQuantity size) const
inline

Minimum quantity accepted for order entry.

If LotType is this value is the minimum quantity for order entry expressed in the applicable units, specified in tag 996-UnitOfMeasure, (e.g., megawatts).