B2BITS FIX Antenna HFT  1.0.17
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Protected Member Functions | List of all members
FixDictionary2::Field Class Reference

Represents Field interface. More...

#include <B2BITS_Field.h>

+ Inheritance diagram for FixDictionary2::Field:
+ Collaboration diagram for FixDictionary2::Field:

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...
 
- Public Member Functions inherited from FixDictionary2::Item
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...
 
- 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...
 

Protected Member Functions

virtual ~Field () throw ()
 Destructor. More...
 
- Protected Member Functions inherited from Utils::ReferenceCounter
virtual ~ReferenceCounter ()
 Destructor. More...
 

Additional Inherited Members

- 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...
 
- Protected Attributes inherited from Utils::ReferenceCounter
volatile System::u32 m_nRef
 The counter. More...
 

Detailed Description

Represents Field interface.

Constructor & Destructor Documentation

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.

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

Destructor.

Member Function Documentation

FieldT::Ptr FixDictionary2::Field::clone ( ) const
inlinevirtual

Make copy of object.

Implements FixDictionary2::Item.

std::string const& FixDictionary2::Field::fixmlName ( ) const
throw (
)

Returns fixmlName of Field.

Returns
fixmlName of Field
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 ItemName FixDictionary2::Field::itemName ( ) const
throw (
)
virtual

Returns the ItemName of object.

Returns
ItemName of Object

Implements FixDictionary2::Item.

int FixDictionary2::Field::lenField ( ) const
throw (
)
std::string const& FixDictionary2::Field::name ( ) const
throw (
)

Returns name of Field.

Returns
name of Field
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.

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

Returns tag of Field.

Returns
tag of Field
virtual FieldT::Ptr FixDictionary2::Field::toField ( )
virtual

Try downcast to Field class.

Returns
downcast to Field class

Reimplemented from FixDictionary2::Item.

virtual FieldT::CPtr FixDictionary2::Field::toField ( ) const
virtual

Try downcast to Field class.

Returns
downcast to Field class

Reimplemented from FixDictionary2::Item.

std::string const& FixDictionary2::Field::typeName ( ) const
throw (
)

Returns type of Field.

Returns
type of Field