B2BITS FIX Antenna C++ 2.33.0
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | List of all members
FixDictionary2::FieldRef Class Reference

Represents FieldRef interface. More...

#include <B2BITS_FieldRef.h>

+ Inheritance diagram for FixDictionary2::FieldRef:
+ Collaboration diagram for FixDictionary2::FieldRef:

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.
 
Itemoperator= (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...
 

Detailed Description

Represents FieldRef interface.

Constructor & Destructor Documentation

◆ FieldRef() [1/2]

FixDictionary2::FieldRef::FieldRef ( FieldRef const & fieldRef)

Copy Constructor.

◆ FieldRef() [2/2]

FixDictionary2::FieldRef::FieldRef ( int tag,
std::string const & name )

Constructor.

Parameters
fieldRefInstance of Field to create reference object

◆ ~FieldRef()

virtual FixDictionary2::FieldRef::~FieldRef ( )
throw ( )
protectedvirtual

Destructor.

Member Function Documentation

◆ clone()

virtual FieldRefT::Ptr FixDictionary2::FieldRef::clone ( ) const
inlinevirtual

Make copy of object.

Implements FixDictionary2::MessageItem.

◆ description()

std::string const & FixDictionary2::FieldRef::description ( ) const
throw ( )
inline

Returns description of the fieldref.

◆ getDescription()

std::string const & FixDictionary2::FieldRef::getDescription ( ) const
throw ( )

Returns description of the fieldref.

◆ getName()

std::string const & FixDictionary2::FieldRef::getName ( ) const
throw ( )
inline

Returns referenced field name.

◆ getTag()

int FixDictionary2::FieldRef::getTag ( ) const
throw ( )
inline

Returns referenced field tag.

◆ itemName()

virtual ItemName FixDictionary2::FieldRef::itemName ( ) const
throw ( )
virtual

Returns the ItemName of object.

Returns
ItemName of Object

Implements FixDictionary2::Item.

◆ messageItemName()

virtual MessageItemName FixDictionary2::FieldRef::messageItemName ( ) const
throw ( )
inlinevirtual

Returns type of the Message Item.

Implements FixDictionary2::MessageItem.

◆ name() [1/2]

std::string const & FixDictionary2::FieldRef::name ( ) const
throw ( )

Returns referenced field name.

◆ name() [2/2]

void FixDictionary2::FieldRef::name ( std::string const & value)
inline

Assigns referenced field name.

◆ setDescription()

void FixDictionary2::FieldRef::setDescription ( std::string const & value)

Assigns description of the fieldref.

◆ setName()

void FixDictionary2::FieldRef::setName ( std::string const & value)

Assigns referenced field name.

◆ setTag()

void FixDictionary2::FieldRef::setTag ( int value)
throw ( )

Assigns referenced field tag.

◆ tag()

int FixDictionary2::FieldRef::tag ( ) const
throw ( )

Returns referenced field tag.

◆ toFieldRef() [1/2]

virtual FieldRefT::Ptr FixDictionary2::FieldRef::toFieldRef ( )
virtual

Try downcast to FieldRef class.

Returns
downcast to FieldRef class

Reimplemented from FixDictionary2::Item.

◆ toFieldRef() [2/2]

virtual FieldRefT::CPtr FixDictionary2::FieldRef::toFieldRef ( ) const
virtual

Try downcast to FieldRef class.

Returns
downcast to FieldRef class

Reimplemented from FixDictionary2::Item.