B2BITS FIX Antenna C++ 2.32.0
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | List of all members
FixDictionary2::RepeatingGroup Class Reference

Represents RepeatingGroup interface. More...

#include <B2BITS_RepeatingGroup.h>

+ Inheritance diagram for FixDictionary2::RepeatingGroup:
+ Collaboration diagram for FixDictionary2::RepeatingGroup:

Public Member Functions

virtual RepeatingGroupT::Ptr clone () const
 Make copy of object.
 
int getLeadingTag () const throw ()
 Returns leading tag of repeating group Leading tag is tag that goes first in the repeating group and identifies the number of entries in repeating group.
 
int getStartTag () const throw ()
 Returns start tag of the repeating group Start tag is a required tag that must be the first tag in each entry.
 
virtual ItemName itemName () const throw ()
 Returns the ItemName of object.
 
int leadingTag () const throw ()
 Returns leading tag of repeating group Leading tag is tag that goes first in the repeating group and identifies the number of entries in repeating group.
 
virtual MessageItemName messageItemName () const throw ()
 Returns type of the Message Item.
 
 RepeatingGroup (int leadingTag, int startTag)
 Constructor.
 
 RepeatingGroup (RepeatingGroup const &repeatingGroup)
 Copy Constructor.
 
void setStartTag (int startTag) throw ()
 Set repeating group's start tag Start tag is a required tag that must be the first tag in each entry.
 
int startTag () const throw ()
 Returns start tag of the repeating group Start tag is a required tag that must be the first tag in each entry.
 
virtual RepeatingGroupT::Ptr toRepeatingGroup ()
 Try downcast to RepeatingGroup class.
 
virtual RepeatingGroupT::CPtr toRepeatingGroup () const
 Try downcast to RepeatingGroup class.
 
- Public Member Functions inherited from FixDictionary2::MessageItem
std::string const & condition () const throw ()
 Returns condition of MessageItem.
 
std::string const & getCondition () const throw ()
 Returns condition of MessageItem.
 
bool isRequired () const throw ()
 Returns true, if item is required or conditionaly required.
 
 MessageItem ()
 Constructor.
 
 MessageItem (MessageItem const &msgItem)
 Copy Constructor.
 
bool required () const throw ()
 Returns true, if item is required or conditionaly required.
 
void setCondition (std::string const &condition)
 Set condition of MessageItem.
 
void setRequired (bool required) throw ()
 Set true, if item is required or conditionaly required.
 
virtual MessageItemT::Ptr toMessageItem ()
 Converts instance of the Item to MessageItem.
 
virtual MessageItemT::CPtr toMessageItem () const
 Converts instance of the Item to MessageItem.
 
virtual ~MessageItem () throw ()
 Destructor.
 
- Public Member Functions inherited from FixDictionary2::Item
ItemName getItemName () const throw ()
 Returns the ItemName of object.
 
 Item ()
 Default constructor.
 
 Item (Item const &obj)
 Copy constructor.
 
Itemoperator= (Item const &obj)
 Assign operator.
 
virtual BlockT::Ptr toBlock ()
 Try downcast to Block class.
 
virtual BlockT::CPtr toBlock () const
 Try downcast to Block class.
 
virtual BlockRefT::Ptr toBlockRef ()
 Try downcast to BlockRef class.
 
virtual BlockRefT::CPtr toBlockRef () const
 Try downcast to BlockRef class.
 
virtual FieldT::Ptr toField ()
 Try downcast to Field class.
 
virtual FieldT::CPtr toField () const
 Try downcast to Field class.
 
virtual FieldRefT::Ptr toFieldRef ()
 Try downcast to FieldRef class.
 
virtual FieldRefT::CPtr toFieldRef () const
 Try downcast to FieldRef class.
 
virtual FieldTypeT::Ptr toFieldType ()
 Try downcast to FieldType class.
 
virtual FieldTypeT::CPtr toFieldType () const
 Try downcast to FieldType class.
 
virtual MessageT::Ptr toMessage ()
 Try downcast to Message class.
 
virtual MessageT::CPtr toMessage () const
 Try downcast to Message class.
 
virtual ProtocolT::Ptr toProtocol ()
 Try downcast to Protocol class.
 
virtual ProtocolT::CPtr toProtocol () const
 Try downcast to Protocol class.
 
- Public Member Functions inherited from Utils::ReferenceCounter
virtual bool addRef () const throw ()
 Increments reference counter.
 
virtual long getNRef () const throw ()
 Returns the current value of the reference counter.
 
 ReferenceCounter () throw ()
 Constructor.
 
virtual long release () const throw ()
 Decrements reference counter.
 
- Public Member Functions inherited from FixDictionary2::MessageItemContainer
void addChild (MessageItemT::Ptr child)
 Insert Message's child element.
 
std::string const & description () const throw ()
 Returns description of the container.
 
std::size_t getChilds (MessageItemT::CRefArray *childs) const throw ()
 Return storage (not extracted) of message's elements (interpret as tree of fields and groups)
 
std::size_t getChilds (MessageItemT::RefArray *childs) throw ()
 Return storage (not extracted) of message's elements (interpret as tree of fields and groups)
 
std::string const & getDescription () const throw ()
 Returns description of the container.
 
 MessageItemContainer ()
 Constructor.
 
 MessageItemContainer (MessageItemContainer const &message)
 Copy Constructor.
 
void replaceChild (std::size_t idx, MessageItemT::Ptr child)
 Replaces stored child with given.
 
void setDescription (std::string const &value)
 Assigns description of the container.
 

Protected Member Functions

virtual ~RepeatingGroup () throw ()
 Destructor.
 
- Protected Member Functions inherited from Utils::ReferenceCounter
long decrement () const throw ()
 Decrements counter and returns new counter value.
 
long increment () const throw ()
 Increments counter and returns new counter value.
 
virtual ~ReferenceCounter ()
 Destructor.
 
- Protected Member Functions inherited from FixDictionary2::MessageItemContainer
virtual ~MessageItemContainer () throw ()
 Destructor.
 

Additional Inherited Members

- Public Types inherited from FixDictionary2::MessageItem
enum  MessageItemName { MESSAGEITEM_FIELDREF , MESSAGEITEM_REPEATINGGROUP , MESSAGEITEM_BLOCKREF }
 Dictionary Item Names. 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...
 

Detailed Description

Represents RepeatingGroup interface.

Constructor & Destructor Documentation

◆ RepeatingGroup() [1/2]

FixDictionary2::RepeatingGroup::RepeatingGroup ( RepeatingGroup const & repeatingGroup)

Copy Constructor.

◆ RepeatingGroup() [2/2]

FixDictionary2::RepeatingGroup::RepeatingGroup ( int leadingTag,
int startTag )

Constructor.

Parameters
startTagstart tag of repeating group. Start tag is a required tag that must be the first tag in each entry.
leadingTagleading tag of repeating group. Leading tag is tag that goes first in the repeating group and identifies the number of entries in repeating group.

◆ ~RepeatingGroup()

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

Destructor.

Member Function Documentation

◆ clone()

virtual RepeatingGroupT::Ptr FixDictionary2::RepeatingGroup::clone ( ) const
inlinevirtual

Make copy of object.

Implements FixDictionary2::MessageItem.

◆ getLeadingTag()

int FixDictionary2::RepeatingGroup::getLeadingTag ( ) const
throw ( )
inline

Returns leading tag of repeating group Leading tag is tag that goes first in the repeating group and identifies the number of entries in repeating group.

Returns
Leading tag

◆ getStartTag()

int FixDictionary2::RepeatingGroup::getStartTag ( ) const
throw ( )
inline

Returns start tag of the repeating group Start tag is a required tag that must be the first tag in each entry.

Returns
Start tag

◆ itemName()

virtual ItemName FixDictionary2::RepeatingGroup::itemName ( ) const
throw ( )
virtual

Returns the ItemName of object.

Returns
ItemName of Object

Implements FixDictionary2::Item.

◆ leadingTag()

int FixDictionary2::RepeatingGroup::leadingTag ( ) const
throw ( )

Returns leading tag of repeating group Leading tag is tag that goes first in the repeating group and identifies the number of entries in repeating group.

Returns
Leading tag

◆ messageItemName()

virtual MessageItemName FixDictionary2::RepeatingGroup::messageItemName ( ) const
throw ( )
inlinevirtual

Returns type of the Message Item.

Implements FixDictionary2::MessageItem.

◆ setStartTag()

void FixDictionary2::RepeatingGroup::setStartTag ( int startTag)
throw ( )

Set repeating group's start tag Start tag is a required tag that must be the first tag in each entry.

Parameters
startTagStart tag

◆ startTag()

int FixDictionary2::RepeatingGroup::startTag ( ) const
throw ( )

Returns start tag of the repeating group Start tag is a required tag that must be the first tag in each entry.

Returns
Start tag

◆ toRepeatingGroup() [1/2]

virtual RepeatingGroupT::Ptr FixDictionary2::RepeatingGroup::toRepeatingGroup ( )
virtual

Try downcast to RepeatingGroup class.

Returns
downcast to RepeatingGroup class

Reimplemented from FixDictionary2::Item.

◆ toRepeatingGroup() [2/2]

virtual RepeatingGroupT::CPtr FixDictionary2::RepeatingGroup::toRepeatingGroup ( ) const
virtual

Try downcast to RepeatingGroup class.

Returns
downcast to RepeatingGroup class

Reimplemented from FixDictionary2::Item.