B2BITS FIX Antenna C++ 2.33.0
|
Represents FieldRef interface. More...
#include <B2BITS_FieldRef.h>
Public Member Functions | |
virtual FieldRefT::Ptr | clone () const |
Make copy of object. | |
std::string const & | description () const throw () |
Returns description of the fieldref. | |
FieldRef (FieldRef const &fieldRef) | |
Copy Constructor. | |
FieldRef (int tag, std::string const &name) | |
Constructor. | |
std::string const & | getDescription () const throw () |
Returns description of the fieldref. | |
std::string const & | getName () const throw () |
Returns referenced field name. | |
int | getTag () const throw () |
Returns referenced field tag. | |
virtual ItemName | itemName () const throw () |
Returns the ItemName of object. | |
virtual MessageItemName | messageItemName () const throw () |
Returns type of the Message Item. | |
std::string const & | name () const throw () |
Returns referenced field name. | |
void | name (std::string const &value) |
Assigns referenced field name. | |
void | setDescription (std::string const &value) |
Assigns description of the fieldref. | |
void | setName (std::string const &value) |
Assigns referenced field name. | |
void | setTag (int value) throw () |
Assigns referenced field tag. | |
int | tag () const throw () |
Returns referenced field tag. | |
virtual FieldRefT::Ptr | toFieldRef () |
Try downcast to FieldRef class. | |
virtual FieldRefT::CPtr | toFieldRef () const |
Try downcast to FieldRef class. | |
Public Member Functions inherited from FixDictionary2::MessageItem | |
std::string const & | condition () const throw () |
Returns condition of MessageItem. | |
std::string const & | getCondition () const throw () |
Returns condition of MessageItem. | |
bool | isRequired () const throw () |
Returns true, if item is required or conditionaly required. | |
MessageItem () | |
Constructor. | |
MessageItem (MessageItem const &msgItem) | |
Copy Constructor. | |
bool | required () const throw () |
Returns true, if item is required or conditionaly required. | |
void | setCondition (std::string const &condition) |
Set condition of MessageItem. | |
void | setRequired (bool required) throw () |
Set true, if item is required or conditionaly required. | |
virtual MessageItemT::Ptr | toMessageItem () |
Converts instance of the Item to MessageItem. | |
virtual MessageItemT::CPtr | toMessageItem () const |
Converts instance of the Item to MessageItem. | |
virtual | ~MessageItem () throw () |
Destructor. | |
Public Member Functions inherited from FixDictionary2::Item | |
ItemName | getItemName () const throw () |
Returns the ItemName of object. | |
Item () | |
Default constructor. | |
Item (Item const &obj) | |
Copy constructor. | |
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 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 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. | |
Protected Member Functions | |
virtual | ~FieldRef () throw () |
Destructor. | |
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. | |
Additional Inherited Members | |
Public Types inherited from FixDictionary2::MessageItem | |
enum | MessageItemName { MESSAGEITEM_FIELDREF , MESSAGEITEM_REPEATINGGROUP , MESSAGEITEM_BLOCKREF } |
Dictionary Item Names. More... | |
Public Types inherited from FixDictionary2::Item | |
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... | |
Represents FieldRef interface.
FixDictionary2::FieldRef::FieldRef | ( | FieldRef const & | fieldRef | ) |
Copy Constructor.
FixDictionary2::FieldRef::FieldRef | ( | int | tag, |
std::string const & | name ) |
Constructor.
fieldRef | Instance of Field to create reference object |
|
protectedvirtual |
Destructor.
|
inlinevirtual |
Make copy of object.
Implements FixDictionary2::MessageItem.
|
inline |
Returns description of the fieldref.
std::string const & FixDictionary2::FieldRef::getDescription | ( | ) | const | |||
throw | ( | ) |
Returns description of the fieldref.
|
inline |
Returns referenced field name.
|
inline |
Returns referenced field tag.
|
virtual |
|
inlinevirtual |
Returns type of the Message Item.
Implements FixDictionary2::MessageItem.
std::string const & FixDictionary2::FieldRef::name | ( | ) | const | |||
throw | ( | ) |
Returns referenced field name.
|
inline |
Assigns referenced field name.
void FixDictionary2::FieldRef::setDescription | ( | std::string const & | value | ) |
Assigns description of the fieldref.
void FixDictionary2::FieldRef::setName | ( | std::string const & | value | ) |
Assigns referenced field name.
void FixDictionary2::FieldRef::setTag | ( | int | value | ) | ||
throw | ( | ) |
Assigns referenced field tag.
int FixDictionary2::FieldRef::tag | ( | ) | const | |||
throw | ( | ) |
Returns referenced field tag.
|
virtual |
Try downcast to FieldRef class.
Reimplemented from FixDictionary2::Item.
|
virtual |
Try downcast to FieldRef class.
Reimplemented from FixDictionary2::Item.