B2BITS FIX Antenna C++ 2.33.0
|
Represents Base interface for Dictionary element. More...
#include <B2BITS_Item.h>
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. | |
ItemName | getItemName () const throw () |
Returns the ItemName of object. | |
Item () | |
Default constructor. | |
Item (Item const &obj) | |
Copy constructor. | |
virtual ItemName | itemName () const throw () =0 |
Returns the ItemName of object. | |
Item & | operator= (Item const &obj) |
Assign operator. | |
virtual BlockT::Ptr | toBlock () |
Try downcast to Block class. | |
virtual BlockT::CPtr | toBlock () const |
Try downcast to Block class. | |
virtual BlockRefT::Ptr | toBlockRef () |
Try downcast to BlockRef class. | |
virtual BlockRefT::CPtr | toBlockRef () const |
Try downcast to BlockRef class. | |
virtual FieldT::Ptr | toField () |
Try downcast to Field class. | |
virtual FieldT::CPtr | toField () const |
Try downcast to Field class. | |
virtual FieldRefT::Ptr | toFieldRef () |
Try downcast to FieldRef class. | |
virtual FieldRefT::CPtr | toFieldRef () const |
Try downcast to FieldRef class. | |
virtual FieldTypeT::Ptr | toFieldType () |
Try downcast to FieldType class. | |
virtual FieldTypeT::CPtr | toFieldType () const |
Try downcast to FieldType class. | |
virtual MessageT::Ptr | toMessage () |
Try downcast to Message class. | |
virtual MessageT::CPtr | toMessage () const |
Try downcast to Message class. | |
virtual MessageItemT::Ptr | toMessageItem () |
Try downcast to MessageItem class. | |
virtual MessageItemT::CPtr | toMessageItem () const |
Try downcast to MessageItem class. | |
virtual ProtocolT::Ptr | toProtocol () |
Try downcast to Protocol class. | |
virtual ProtocolT::CPtr | toProtocol () const |
Try downcast to Protocol class. | |
virtual RepeatingGroupT::Ptr | toRepeatingGroup () |
Try downcast to RepeatingGroup class. | |
virtual RepeatingGroupT::CPtr | toRepeatingGroup () const |
Try downcast to RepeatingGroup class. | |
Public Member Functions inherited from Utils::ReferenceCounter | |
virtual bool | addRef () const throw () |
Increments reference counter. | |
virtual long | getNRef () const throw () |
Returns the current value of the reference counter. | |
ReferenceCounter () throw () | |
Constructor. | |
virtual long | release () const throw () |
Decrements reference counter. | |
Additional Inherited Members | |
Protected Member Functions inherited from Utils::ReferenceCounter | |
long | decrement () const throw () |
Decrements counter and returns new counter value. | |
long | increment () const throw () |
Increments counter and returns new counter value. | |
virtual | ~ReferenceCounter () |
Destructor. | |
Represents Base interface for Dictionary element.
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. |
FixDictionary2::Item::Item | ( | ) |
Default constructor.
FixDictionary2::Item::Item | ( | Item const & | obj | ) |
Copy constructor.
|
pure virtual |
Make copy of object.
Implemented in FixDictionary2::Block, FixDictionary2::BlockRef, FixDictionary2::Field, FixDictionary2::FieldRef, FixDictionary2::FieldType, FixDictionary2::Message, FixDictionary2::Protocol, FixDictionary2::RepeatingGroup, FixDictionary2::ValBlock, and FixDictionary2::MessageItem.
|
inline |
Returns the ItemName of object.
|
pure virtual |
Returns the ItemName of object.
Implemented in FixDictionary2::Block, FixDictionary2::BlockRef, FixDictionary2::Dictionary, FixDictionary2::Field, FixDictionary2::FieldRef, FixDictionary2::FieldType, FixDictionary2::Message, FixDictionary2::Protocol, FixDictionary2::RepeatingGroup, and FixDictionary2::ValBlock.
|
virtual |
Try downcast to Block class.
Utils::Exception | if the conversion fails |
Reimplemented in FixDictionary2::Block.
|
virtual |
Try downcast to Block class.
Utils::Exception | if the conversion fails |
Reimplemented in FixDictionary2::Block.
|
virtual |
Try downcast to BlockRef class.
Utils::Exception | if the conversion fails |
Reimplemented in FixDictionary2::BlockRef.
|
virtual |
Try downcast to BlockRef class.
Utils::Exception | if the conversion fails |
Reimplemented in FixDictionary2::BlockRef.
|
virtual |
Try downcast to Field class.
Utils::Exception | if the conversion fails |
Reimplemented in FixDictionary2::Field.
|
virtual |
Try downcast to Field class.
Utils::Exception | if the conversion fails |
Reimplemented in FixDictionary2::Field.
|
virtual |
Try downcast to FieldRef class.
Utils::Exception | if the conversion fails |
Reimplemented in FixDictionary2::FieldRef.
|
virtual |
Try downcast to FieldRef class.
Utils::Exception | if the conversion fails |
Reimplemented in FixDictionary2::FieldRef.
|
virtual |
Try downcast to FieldType class.
Utils::Exception | if the conversion fails |
Reimplemented in FixDictionary2::FieldType.
|
virtual |
Try downcast to FieldType class.
Utils::Exception | if the conversion fails |
Reimplemented in FixDictionary2::FieldType.
|
virtual |
Try downcast to Message class.
Utils::Exception | if the conversion fails |
Reimplemented in FixDictionary2::Message.
|
virtual |
Try downcast to Message class.
Utils::Exception | if the conversion fails |
Reimplemented in FixDictionary2::Message.
|
virtual |
Try downcast to MessageItem class.
Utils::Exception | if the conversion fails |
Reimplemented in FixDictionary2::MessageItem.
|
virtual |
Try downcast to MessageItem class.
Utils::Exception | if the conversion fails |
Reimplemented in FixDictionary2::MessageItem.
|
virtual |
Try downcast to Protocol class.
Utils::Exception | if the conversion fails |
Reimplemented in FixDictionary2::Protocol.
|
virtual |
Try downcast to Protocol class.
Utils::Exception | if the conversion fails |
Reimplemented in FixDictionary2::Protocol.
|
virtual |
Try downcast to RepeatingGroup class.
Utils::Exception | if the conversion fails |
Reimplemented in FixDictionary2::RepeatingGroup.
|
virtual |
Try downcast to RepeatingGroup class.
Utils::Exception | if the conversion fails |
Reimplemented in FixDictionary2::RepeatingGroup.