B2BITS FIX Antenna HFT
1.0.17
|
Represents Field interface. More...
#include <B2BITS_Field.h>
Public Member Functions | |
FieldT::Ptr | clone () const |
Make copy of object. More... | |
Field (Field const &field) | |
Copy Constructor. More... | |
Field (std::string const &typeName, int tag, std::string const &name, std::string const &fixmlName) | |
Constructor. More... | |
std::string const & | fixmlName () const throw () |
Returns fixmlName of Field. More... | |
ValBlockT::CPtr | getValBlock () const throw () |
Returns list of valid values. More... | |
std::string const & | getValBlockRef () const throw () |
Returns name of the external ValBlock. More... | |
virtual ItemName | itemName () const throw () |
Returns the ItemName of object. More... | |
int | lenField () const throw () |
std::string const & | name () const throw () |
Returns name of Field. More... | |
void | setFixmlName (std::string const &fixmlName) |
void | setLenField (int tag) throw () |
void | setName (std::string const &name) |
void | setTag (int tag) throw () |
void | setTypeName (std::string const &typeName) |
void | setValBlock (ValBlockT::Ptr valBlockPtr) throw () |
Sets list of valid values. More... | |
void | setValBlockRef (std::string const &blockId) |
Sets reference to the external named ValBlock. More... | |
int | tag () const throw () |
Returns tag of Field. More... | |
virtual FieldT::Ptr | toField () |
Try downcast to Field class. More... | |
virtual FieldT::CPtr | toField () const |
Try downcast to Field class. More... | |
std::string const & | typeName () const throw () |
Returns type of Field. 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 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... | |
![]() | |
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... | |
Protected Member Functions | |
virtual | ~Field () throw () |
Destructor. More... | |
![]() | |
virtual | ~ReferenceCounter () |
Destructor. More... | |
Additional Inherited Members | |
![]() | |
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... | |
![]() | |
volatile System::u32 | m_nRef |
The counter. More... | |
Represents Field interface.
FixDictionary2::Field::Field | ( | Field const & | field | ) |
Copy Constructor.
FixDictionary2::Field::Field | ( | std::string const & | typeName, |
int | tag, | ||
std::string const & | name, | ||
std::string const & | fixmlName | ||
) |
Constructor.
|
protectedvirtual |
Destructor.
|
inlinevirtual |
Make copy of object.
Implements FixDictionary2::Item.
std::string const& FixDictionary2::Field::fixmlName | ( | ) | const | |
throw | ( | |||
) |
ValBlockT::CPtr FixDictionary2::Field::getValBlock | ( | ) | const | |
throw | ( | |||
) |
Returns list of valid values.
Can be NULL
std::string const& FixDictionary2::Field::getValBlockRef | ( | ) | const | |
throw | ( | |||
) |
Returns name of the external ValBlock.
|
virtual |
int FixDictionary2::Field::lenField | ( | ) | const | |
throw | ( | |||
) |
std::string const& FixDictionary2::Field::name | ( | ) | const | |
throw | ( | |||
) |
void FixDictionary2::Field::setFixmlName | ( | std::string const & | fixmlName | ) |
void FixDictionary2::Field::setLenField | ( | int | tag | ) | |
throw | ( | ||||
) |
void FixDictionary2::Field::setName | ( | std::string const & | name | ) |
void FixDictionary2::Field::setTag | ( | int | tag | ) | |
throw | ( | ||||
) |
void FixDictionary2::Field::setTypeName | ( | std::string const & | typeName | ) |
void FixDictionary2::Field::setValBlock | ( | ValBlockT::Ptr | valBlockPtr | ) | |
throw | ( | ||||
) |
Sets list of valid values.
Methods aqures one reference to the ValBlock
void FixDictionary2::Field::setValBlockRef | ( | std::string const & | blockId | ) |
Sets reference to the external named ValBlock.
|
virtual |
Try downcast to Field class.
Reimplemented from FixDictionary2::Item.
|
virtual |
Try downcast to Field class.
Reimplemented from FixDictionary2::Item.