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

Represents ValBlock interface. More...

#include <B2BITS_ValBlock.h>

+ Inheritance diagram for FixDictionary2::ValBlock:
+ Collaboration diagram for FixDictionary2::ValBlock:

Classes

struct  ValueDescription
 ValBlock value. More...
 

Public Types

typedef std::map< std::string,
ValueDescription
Values
 Values container. 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...
 

Public Member Functions

void addValue (std::string const &value, std::string const &description, std::string const &id)
 
virtual ValBlockT::Ptr clone () const
 Make copy of object. More...
 
std::string const & getMaxRangeValue () const throw ()
 
std::string const & getMinRangeValue () const throw ()
 
std::string const & getRangeType () const throw ()
 
Values const & getValues () const throw ()
 
std::string const & id () const throw ()
 
bool isEmpty () const throw ()
 
bool isRangePresent () const throw ()
 
virtual ItemName itemName () const throw ()
 Returns the ItemName of object. More...
 
std::string const & name () const throw ()
 
void setMaxRangeValue (std::string const &strMaxRangeVal)
 
void setMinRangeValue (std::string const &strMinRangeVal)
 
void setName (std::string const &name)
 
void setRangeType (std::string const &strRangeType)
 
 ValBlock (std::string const &id)
 Constructor. More...
 
 ValBlock (ValBlock const &src)
 Copy Constructor. 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 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

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

Additional Inherited Members

- Protected Attributes inherited from Utils::ReferenceCounter
volatile System::u32 m_nRef
 The counter. More...
 

Detailed Description

Represents ValBlock interface.

Member Typedef Documentation

typedef std::map<std::string, ValueDescription> FixDictionary2::ValBlock::Values

Values container.

Key is name of the value. Value is description of the value.

Constructor & Destructor Documentation

FixDictionary2::ValBlock::ValBlock ( std::string const &  id)

Constructor.

FixDictionary2::ValBlock::ValBlock ( ValBlock const &  src)

Copy Constructor.

FixDictionary2::ValBlock::~ValBlock ( )
throw (
)
protected

Destructor.

Member Function Documentation

void FixDictionary2::ValBlock::addValue ( std::string const &  value,
std::string const &  description,
std::string const &  id 
)
virtual ValBlockT::Ptr FixDictionary2::ValBlock::clone ( ) const
virtual

Make copy of object.

Implements FixDictionary2::Item.

std::string const& FixDictionary2::ValBlock::getMaxRangeValue ( ) const
throw (
)
std::string const& FixDictionary2::ValBlock::getMinRangeValue ( ) const
throw (
)
std::string const& FixDictionary2::ValBlock::getRangeType ( ) const
throw (
)
Values const& FixDictionary2::ValBlock::getValues ( ) const
throw (
)
std::string const& FixDictionary2::ValBlock::id ( ) const
throw (
)
bool FixDictionary2::ValBlock::isEmpty ( ) const
throw (
)
bool FixDictionary2::ValBlock::isRangePresent ( ) const
throw (
)
virtual ItemName FixDictionary2::ValBlock::itemName ( ) const
throw (
)
virtual

Returns the ItemName of object.

Returns
ItemName of Object

Implements FixDictionary2::Item.

std::string const& FixDictionary2::ValBlock::name ( ) const
throw (
)
void FixDictionary2::ValBlock::setMaxRangeValue ( std::string const &  strMaxRangeVal)
void FixDictionary2::ValBlock::setMinRangeValue ( std::string const &  strMinRangeVal)
void FixDictionary2::ValBlock::setName ( std::string const &  name)
void FixDictionary2::ValBlock::setRangeType ( std::string const &  strRangeType)