Alchemy  1.0
A framework to robustly process network messages and structured data
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions | List of all members
Hg::msg_view_iterator< T > Class Template Reference

Iterator for a mutable msg_view. More...

#include <msg_view_iterator.h>

Inheritance diagram for Hg::msg_view_iterator< T >:
Hg::msg_view_const_iterator< T >

Public Member Functions

 msg_view_iterator ()
 Default constructor for an iterator with a NULL msg_view pointer.
 
 msg_view_iterator (byte_t *pArg)
 Constructor for an initialized iterator with a valid msg_view pointer.
 
 ~msg_view_iterator ()
 Destructor.
 
reference operator* () const
 Return designated object.
 
iter_t operator+ (difference_type offset) const
 Return this + integer.
 
iter_toperator++ ()
 Preincrement.
 
iter_t operator++ (int)
 Postincrement.
 
iter_toperator+= (difference_type offset)
 Increment by integer.
 
iter_t operator- (difference_type offset) const
 Return this - integer.
 
difference_type operator- (const base_t &rhs) const
 Return difference of iterators.
 
iter_toperator-- ()
 Predecrement.
 
iter_t operator-- (int)
 Postdecrement.
 
iter_toperator-= (difference_type offset)
 Decrement by integer.
 
pointer operator-> () const
 Return pointer to class object.
 
reference operator[] (difference_type offset) const
 Subscript.
 
- Public Member Functions inherited from Hg::msg_view_const_iterator< T >
 msg_view_const_iterator ()
 Default constructor with a pointer to a NULL msg_view.
 
 msg_view_const_iterator (byte_t *pArg)
 Initialized constructor with a pointer to a msg_view.
 
bool operator!= (const iter_t &rhs) const
 Test for iterator inequality.
 
reference operator* () const
 Return designated object.
 
iter_t operator+ (difference_type offset) const
 Return this + integer.
 
iter_toperator++ ()
 Preincrement.
 
iter_t operator++ (int)
 Postincrement.
 
iter_toperator+= (difference_type offset)
 Increment by integer.
 
iter_t operator- (difference_type offset) const
 Return this - integer.
 
difference_type operator- (const iter_t &rhs) const
 Return difference of iterators.
 
iter_toperator-- ()
 Predecrement.
 
iter_t operator-- (int)
 Postdecrement.
 
iter_toperator-= (difference_type offset)
 Decrement by integer.
 
pointer operator-> () const
 Return pointer to class object.
 
bool operator< (const iter_t &rhs) const
 Test if this < rhs.
 
bool operator<= (const iter_t &rhs) const
 Test if this <= rhs.
 
bool operator== (const iter_t &rhs) const
 Test for iterator equality.
 
bool operator> (const iter_t &rhs) const
 Test if this > rhs.
 
bool operator>= (const iter_t &rhs) const
 Test if this >= rhs.
 
reference operator[] (difference_type offset) const
 Subscript.
 

Additional Inherited Members

- Protected Member Functions inherited from Hg::msg_view_const_iterator< T >
bool is_referenced ()
 Indicates if this position has been dereferenced.
 
Tptr Realize () const
 Reads the current data into the message context for interaction.
 
- Protected Attributes inherited from Hg::msg_view_const_iterator< T >
value_type m_msg
 
             Instance of message to realize the 

msg_view for each piece of data. The message is realized each time the iterator is dereferenced.

 
byte_tm_pBuffer
 pointer to the raw data buffer.
 
Tptr m_ptr
 pointer to element in the msg_view
 

Detailed Description

template<typename T>
class Hg::msg_view_iterator< T >

Iterator for a mutable msg_view.

Definition at line 265 of file msg_view_iterator.h.


The documentation for this class was generated from the following file: