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

Represents Block interface. More...

#include <B2BITS_Block.h>

+ Inheritance diagram for FixDictionary2::Block:
+ Collaboration diagram for FixDictionary2::Block:

Public Member Functions

 Block (Block const &block)
 Copy Constructor. More...
 
 Block (std::string const &id, std::string const &name)
 Constructor. More...
 
BlockT::Ptr clone () const
 Make copy of object. More...
 
std::string const & id () const
 Returns id of Block. More...
 
virtual ItemName itemName () const throw ()
 Returns the ItemName of object. More...
 
std::string const & name () const throw ()
 Returns name of Block. More...
 
void setName (std::string const &name)
 
virtual BlockT::Ptr toBlock ()
 Try downcast to class. More...
 
virtual BlockT::CPtr toBlock () const
 Try downcast to Block class. More...
 
- Public Member Functions inherited from FixDictionary2::Item
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...
 
- Public Member Functions inherited from FixDictionary2::MessageItemContainer
void addChild (MessageItemT::Ptr child)
 Insert Message's child element. More...
 
std::size_t getChilds (MessageItemT::CRefArray *childs) const throw ()
 Return storage (not extracted) of message's elements (interpret as tree of fields and groups) More...
 
std::size_t getChilds (MessageItemT::RefArray *childs) throw ()
 Return storage (not extracted) of message's elements (interpret as tree of fields and groups) More...
 
 MessageItemContainer ()
 Constructor. More...
 
 MessageItemContainer (MessageItemContainer const &message)
 Copy Constructor. More...
 
void replaceChild (std::size_t idx, MessageItemT::Ptr child)
 

Protected Member Functions

virtual ~Block () throw ()
 Destructor. More...
 
- Protected Member Functions inherited from Utils::ReferenceCounter
virtual ~ReferenceCounter ()
 Destructor. More...
 
- Protected Member Functions inherited from FixDictionary2::MessageItemContainer
virtual ~MessageItemContainer () throw ()
 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 Block interface.

Constructor & Destructor Documentation

FixDictionary2::Block::Block ( Block const &  block)

Copy Constructor.

FixDictionary2::Block::Block ( std::string const &  id,
std::string const &  name 
)

Constructor.

Parameters
idof block
nameof block
virtual FixDictionary2::Block::~Block ( )
throw (
)
protectedvirtual

Destructor.

Member Function Documentation

BlockT::Ptr FixDictionary2::Block::clone ( ) const
inlinevirtual

Make copy of object.

Implements FixDictionary2::Item.

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

Returns id of Block.

Returns
id of Block
virtual ItemName FixDictionary2::Block::itemName ( ) const
throw (
)
virtual

Returns the ItemName of object.

Returns
ItemName of Object

Implements FixDictionary2::Item.

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

Returns name of Block.

Returns
name of Block
void FixDictionary2::Block::setName ( std::string const &  name)
virtual BlockT::Ptr FixDictionary2::Block::toBlock ( )
virtual

Try downcast to class.

Returns
downcast to class

Reimplemented from FixDictionary2::Item.

virtual BlockT::CPtr FixDictionary2::Block::toBlock ( ) const
virtual

Try downcast to Block class.

Returns
downcast to Block class

Reimplemented from FixDictionary2::Item.