B2BITS FIX Antenna HFT  1.0.16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | List of all members
FixDictionary2::Item Class Referenceabstract

Represents Base interface for Dictionary element. More...

#include <B2BITS_Item.h>

+ Inheritance diagram for FixDictionary2::Item:
+ Collaboration diagram for FixDictionary2::Item:

Public Types

enum  ItemName {
  ITEM_FIELD, ITEM_FIELDTYPE, ITEM_FIELDREF, ITEM_REPEATINGGROUP,
  ITEM_BLOCK, ITEM_BLOCKREF, ITEM_VALBLOCK, ITEM_MESSAGE,
  ITEM_PROTOCOL, ITEM_DICTIONARY
}
 Dictionary Item Names. More...
 

Public Member Functions

virtual ItemT::Ptr clone () const =0
 Make copy of object. More...
 
virtual ItemName itemName () const =0 throw ()
 Returns the ItemName of object. More...
 
virtual BlockT::Ptr toBlock ()
 Try downcast to Block class. More...
 
virtual BlockT::CPtr toBlock () const
 Try downcast to Block class. More...
 
virtual BlockRefT::Ptr toBlockRef ()
 Try downcast to BlockRef class. More...
 
virtual BlockRefT::CPtr toBlockRef () const
 Try downcast to BlockRef class. More...
 
virtual FieldT::Ptr toField ()
 Try downcast to Field class. More...
 
virtual FieldT::CPtr toField () const
 Try downcast to Field class. More...
 
virtual FieldRefT::Ptr toFieldRef ()
 Try downcast to FieldRef class. More...
 
virtual FieldRefT::CPtr toFieldRef () const
 Try downcast to FieldRef class. More...
 
virtual FieldTypeT::Ptr toFieldType ()
 Try downcast to FieldType class. More...
 
virtual FieldTypeT::CPtr toFieldType () const
 Try downcast to FieldType class. More...
 
virtual MessageT::Ptr toMessage ()
 Try downcast to Message class. More...
 
virtual MessageT::CPtr toMessage () const
 Try downcast to Message class. More...
 
virtual MessageItemT::Ptr toMessageItem ()
 Try downcast to MessageItem class. More...
 
virtual MessageItemT::CPtr toMessageItem () const
 Try downcast to MessageItem class. More...
 
virtual ProtocolT::Ptr toProtocol ()
 Try downcast to Protocol class. More...
 
virtual ProtocolT::CPtr toProtocol () const
 Try downcast to Protocol class. More...
 
virtual RepeatingGroupT::Ptr toRepeatingGroup ()
 Try downcast to RepeatingGroup class. More...
 
virtual RepeatingGroupT::CPtr toRepeatingGroup () const
 Try downcast to RepeatingGroup class. More...
 
- Public Member Functions inherited from Utils::ReferenceCounter
virtual bool addRef () const throw ()
 Increments reference counter. More...
 
long decrement () const throw ()
 
virtual long getNRef () const throw ()
 Returns the current value of the reference counter. More...
 
 ReferenceCounter () throw ()
 Constructor. More...
 
virtual long release () const throw ()
 Decrements reference counter. More...
 

Additional Inherited Members

- Protected Member Functions inherited from Utils::ReferenceCounter
virtual ~ReferenceCounter ()
 Destructor. More...
 
- Protected Attributes inherited from Utils::ReferenceCounter
volatile System::u32 m_nRef
 The counter. More...
 

Detailed Description

Represents Base interface for Dictionary element.

Member Enumeration Documentation

Dictionary Item Names.

Enumerator
ITEM_FIELD 

Field item name.

ITEM_FIELDTYPE 

Field type item name.

ITEM_FIELDREF 

Field ref item name.

ITEM_REPEATINGGROUP 

Repeating group item name.

ITEM_BLOCK 

Block item name.

ITEM_BLOCKREF 

BlockRef item name.

ITEM_VALBLOCK 

Values block.

ITEM_MESSAGE 

Message item name.

ITEM_PROTOCOL 

Protocol item name.

ITEM_DICTIONARY 

Dictionary item name.

Member Function Documentation

virtual ItemT::Ptr FixDictionary2::Item::clone ( ) const
pure virtual

Make copy of object.

Implemented in FixDictionary2::B2B_SEALED.

virtual ItemName FixDictionary2::Item::itemName ( ) const
throw (
)
pure virtual

Returns the ItemName of object.

Returns
ItemName of Object

Implemented in FixDictionary2::B2B_SEALED, and FixDictionary2::B2B_SEALED.

virtual BlockT::Ptr FixDictionary2::Item::toBlock ( )
virtual

Try downcast to Block class.

Returns
downcast to Block class
Exceptions
Utils::Exceptionif the conversion fails
virtual BlockT::CPtr FixDictionary2::Item::toBlock ( ) const
virtual

Try downcast to Block class.

Returns
downcast to Block class
Exceptions
Utils::Exceptionif the conversion fails
virtual BlockRefT::Ptr FixDictionary2::Item::toBlockRef ( )
virtual

Try downcast to BlockRef class.

Returns
downcast to BlockRef class
Exceptions
Utils::Exceptionif the conversion fails
virtual BlockRefT::CPtr FixDictionary2::Item::toBlockRef ( ) const
virtual

Try downcast to BlockRef class.

Returns
downcast to BlockRef class
Exceptions
Utils::Exceptionif the conversion fails
virtual FieldT::Ptr FixDictionary2::Item::toField ( )
virtual

Try downcast to Field class.

Returns
downcast to Field class
Exceptions
Utils::Exceptionif the conversion fails
virtual FieldT::CPtr FixDictionary2::Item::toField ( ) const
virtual

Try downcast to Field class.

Returns
downcast to Field class
Exceptions
Utils::Exceptionif the conversion fails
virtual FieldRefT::Ptr FixDictionary2::Item::toFieldRef ( )
virtual

Try downcast to FieldRef class.

Returns
downcast to FieldRef class
Exceptions
Utils::Exceptionif the conversion fails
virtual FieldRefT::CPtr FixDictionary2::Item::toFieldRef ( ) const
virtual

Try downcast to FieldRef class.

Returns
downcast to FieldRef class
Exceptions
Utils::Exceptionif the conversion fails
virtual FieldTypeT::Ptr FixDictionary2::Item::toFieldType ( )
virtual

Try downcast to FieldType class.

Returns
downcast to FieldType class
Exceptions
Utils::Exceptionif the conversion fails
virtual FieldTypeT::CPtr FixDictionary2::Item::toFieldType ( ) const
virtual

Try downcast to FieldType class.

Returns
downcast to FieldType class
Exceptions
Utils::Exceptionif the conversion fails
virtual MessageT::Ptr FixDictionary2::Item::toMessage ( )
virtual

Try downcast to Message class.

Returns
downcast to Message class
Exceptions
Utils::Exceptionif the conversion fails
virtual MessageT::CPtr FixDictionary2::Item::toMessage ( ) const
virtual

Try downcast to Message class.

Returns
downcast to Message class
Exceptions
Utils::Exceptionif the conversion fails
virtual MessageItemT::Ptr FixDictionary2::Item::toMessageItem ( )
virtual

Try downcast to MessageItem class.

Returns
downcast to MessageItem class
Exceptions
Utils::Exceptionif the conversion fails
virtual MessageItemT::CPtr FixDictionary2::Item::toMessageItem ( ) const
virtual

Try downcast to MessageItem class.

Returns
downcast to MessageItem class
Exceptions
Utils::Exceptionif the conversion fails
virtual ProtocolT::Ptr FixDictionary2::Item::toProtocol ( )
virtual

Try downcast to Protocol class.

Returns
downcast to Protocol class
Exceptions
Utils::Exceptionif the conversion fails

Reimplemented in FixDictionary2::B2B_SEALED.

virtual ProtocolT::CPtr FixDictionary2::Item::toProtocol ( ) const
virtual

Try downcast to Protocol class.

Returns
downcast to Protocol class
Exceptions
Utils::Exceptionif the conversion fails

Reimplemented in FixDictionary2::B2B_SEALED.

virtual RepeatingGroupT::Ptr FixDictionary2::Item::toRepeatingGroup ( )
virtual

Try downcast to RepeatingGroup class.

Returns
downcast to RepeatingGroup class
Exceptions
Utils::Exceptionif the conversion fails
virtual RepeatingGroupT::CPtr FixDictionary2::Item::toRepeatingGroup ( ) const
virtual

Try downcast to RepeatingGroup class.

Returns
downcast to RepeatingGroup class
Exceptions
Utils::Exceptionif the conversion fails