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::FieldType Class Reference

Represents FieldType interface. More...

#include <B2BITS_FieldType.h>

+ Inheritance diagram for FixDictionary2::FieldType:
+ Collaboration diagram for FixDictionary2::FieldType:

Public Member Functions

std::string const & baseTypeName () const throw ()
 Returns base type name. More...
 
FieldTypeT::Ptr clone () const
 Make copy of object. More...
 
 FieldType (FieldType const &fieldType)
 Copy Constructor. More...
 
 FieldType (std::string const &name, std::string const &baseTypeName)
 Constructor. More...
 
bool isMulti () const throw ()
 Specifies either type is collection of values. More...
 
virtual ItemName itemName () const throw ()
 Returns the ItemName of object. More...
 
std::string const & name () const throw ()
 Returns name of FieldType. More...
 
void setValueType (std::string const &value)
 If type is collection of values, specifies type of the base value. More...
 
virtual FieldTypetoFieldType ()
 Try downcast to FieldType class. More...
 
virtual FieldType const * toFieldType () const
 Try downcast to FieldType class. More...
 
std::string const & valueType () const throw ()
 If type is collection of values, specifies type of the base value. 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 FieldT::Ptr toField ()
 Try downcast to Field class. More...
 
virtual FieldT::CPtr toField () const
 Try downcast to Field class. More...
 
virtual FieldRefT::Ptr toFieldRef ()
 Try downcast to FieldRef class. More...
 
virtual FieldRefT::CPtr toFieldRef () const
 Try downcast to FieldRef 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 ~FieldType () 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 FieldType interface.

Constructor & Destructor Documentation

FixDictionary2::FieldType::FieldType ( FieldType const &  fieldType)

Copy Constructor.

FixDictionary2::FieldType::FieldType ( std::string const &  name,
std::string const &  baseTypeName 
)

Constructor.

Parameters
nametype name
baseTypebase type name
virtual FixDictionary2::FieldType::~FieldType ( )
throw (
)
protectedvirtual

Destructor.

Member Function Documentation

std::string const& FixDictionary2::FieldType::baseTypeName ( ) const
throw (
)

Returns base type name.

Returns
base type name
FieldTypeT::Ptr FixDictionary2::FieldType::clone ( ) const
inlinevirtual

Make copy of object.

Implements FixDictionary2::Item.

bool FixDictionary2::FieldType::isMulti ( ) const
throw (
)

Specifies either type is collection of values.

Returns
true if type is collection; false oterwise.
virtual ItemName FixDictionary2::FieldType::itemName ( ) const
throw (
)
virtual

Returns the ItemName of object.

Returns
ItemName of Object

Implements FixDictionary2::Item.

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

Returns name of FieldType.

Returns
name of FieldType
void FixDictionary2::FieldType::setValueType ( std::string const &  value)

If type is collection of values, specifies type of the base value.

virtual FieldType* FixDictionary2::FieldType::toFieldType ( )
virtual

Try downcast to FieldType class.

Returns
downcast to FieldType class

Reimplemented from FixDictionary2::Item.

virtual FieldType const* FixDictionary2::FieldType::toFieldType ( ) const
virtual

Try downcast to FieldType class.

Returns
downcast to FieldType class

Reimplemented from FixDictionary2::Item.

std::string const& FixDictionary2::FieldType::valueType ( ) const
throw (
)

If type is collection of values, specifies type of the base value.

Returns
type of the base value