|
EvEmu
0.8.4
11 September 2021
|
Buffer's const iterator. More...
#include "Buffer.h"


Public Types | |
| typedef _Base::iterator_category | iterator_category |
| Typedef for iterator category. More... | |
| typedef _Base::value_type | value_type |
| Typedef for value type. More... | |
| typedef _Base::difference_type | difference_type |
| Typedef for difference type. More... | |
| typedef _Base::pointer | pointer |
| Typedef for pointer. More... | |
| typedef _Base::reference | reference |
| Typedef for reference. More... | |
| typedef const T * | const_pointer |
| Typedef for const pointer. More... | |
| typedef const T & | const_reference |
| Typedef for const reference. More... | |
Public Member Functions | |
| const_iterator (const Buffer *buffer=NULL, size_type index=0) | |
| Default constructor. More... | |
| const_iterator (const const_iterator &oth) | |
| Copy constructor. More... | |
| const_iterator & | operator= (const const_iterator &oth) |
| Copy operator. More... | |
| template<typename T2 > | |
| const_iterator< T2 > | As () const |
| Converts const_iterator to another const_iterator with different type. More... | |
| const_reference | operator* () const |
| Dereference operator. More... | |
| const_pointer | operator-> () const |
| Dereference operator. More... | |
| const_reference | operator[] (difference_type diff) const |
| Subscript operator. More... | |
| const_iterator | operator+ (difference_type diff) const |
| Sum operator. More... | |
| const_iterator & | operator+= (difference_type diff) |
| Add operator. More... | |
| const_iterator & | operator++ () |
| Preincrement operator. More... | |
| const_iterator | operator++ (int) |
| Postincrement operator. More... | |
| const_iterator | operator- (difference_type diff) const |
| Diff operator. More... | |
| const_iterator & | operator-= (difference_type diff) |
| Subtract operator. More... | |
| const_iterator & | operator-- () |
| Predecrement operator. More... | |
| const_iterator | operator-- (int) |
| Postdecrement operator. More... | |
| difference_type | operator- (const const_iterator &oth) const |
| Diff operator. More... | |
| bool | operator== (const const_iterator &oth) const |
| Equal operator. More... | |
| bool | operator!= (const const_iterator &oth) const |
| Non-equal operator. More... | |
| bool | operator< (const const_iterator &oth) const |
| Less-than operator. More... | |
| bool | operator> (const const_iterator &oth) const |
| Greater-than operator. More... | |
| bool | operator<= (const const_iterator &oth) const |
| Less-equal operator. More... | |
| bool | operator>= (const const_iterator &oth) const |
| Greater-equal operator. More... | |
Protected Attributes | |
| size_type | mIndex |
| Index in buffer, in bytes. More... | |
| const Buffer * | mBuffer |
| The parent Buffer. More... | |
Private Types | |
| typedef std::iterator < std::random_access_iterator_tag, T > | _Base |
| Typedef for our base due to readibility. More... | |
Buffer's const iterator.
|
private |
| typedef const T* Buffer::const_iterator< T >::const_pointer |
| typedef const T& Buffer::const_iterator< T >::const_reference |
| typedef _Base::difference_type Buffer::const_iterator< T >::difference_type |
| typedef _Base::iterator_category Buffer::const_iterator< T >::iterator_category |
| typedef _Base::pointer Buffer::const_iterator< T >::pointer |
| typedef _Base::reference Buffer::const_iterator< T >::reference |
| typedef _Base::value_type Buffer::const_iterator< T >::value_type |
|
inline |
|
inline |
|
inline |
Converts const_iterator to another const_iterator with different type.
Definition at line 108 of file Buffer.h.
Referenced by UnmarshalStream::LoadPackedRow(), UnmarshalStream::Peek(), and StreamPacketizer::Process().

|
inline |
|
inline |
Dereference operator.
Definition at line 111 of file Buffer.h.
|
inline |
Sum operator.
Definition at line 127 of file Buffer.h.
|
inline |
|
inline |
Postincrement operator.
Definition at line 153 of file Buffer.h.
|
inline |
Add operator.
Definition at line 133 of file Buffer.h.
|
inline |
Diff operator.
Definition at line 161 of file Buffer.h.
|
inline |
Diff operator.
Definition at line 179 of file Buffer.h.
|
inline |
|
inline |
Postdecrement operator.
Definition at line 171 of file Buffer.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |
The parent Buffer.
Definition at line 223 of file Buffer.h.
Referenced by Buffer::const_iterator< uint8 >::As(), Buffer::iterator< T >::As(), Buffer::const_iterator< uint8 >::operator*(), Buffer::const_iterator< uint8 >::operator+=(), Buffer::const_iterator< uint8 >::operator-(), Buffer::const_iterator< uint8 >::operator<(), Buffer::const_iterator< uint8 >::operator=(), Buffer::const_iterator< uint8 >::operator==(), and Buffer::const_iterator< uint8 >::operator>().
|
protected |
Index in buffer, in bytes.
Definition at line 221 of file Buffer.h.
Referenced by Buffer::const_iterator< uint8 >::As(), Buffer::iterator< T >::As(), Buffer::const_iterator< uint8 >::operator*(), Buffer::const_iterator< uint8 >::operator+=(), Buffer::const_iterator< uint8 >::operator-(), Buffer::const_iterator< uint8 >::operator<(), Buffer::const_iterator< uint8 >::operator=(), Buffer::const_iterator< uint8 >::operator==(), and Buffer::const_iterator< uint8 >::operator>().