#include <wipal/pcap/frame_iterator.hh>
Public Types | |
Static hierarchies related types | |
typedef HIDDEN | exact_type |
typedef tool::valued_iterator < exact_type > | super_type |
typedef HIDDEN | iterable_type |
typedef HIDDEN | value_type |
Iterator types. | |
typedef ssize_t | difference_type |
typedef value_type * | pointer |
typedef value_type & | reference |
typedef std::input_iterator_tag | iterator_category |
Public Member Functions | |
frame_iterator (const iterable_type &desc, bool end) | |
frame_iterator (const iterable_type &desc, const std::streampos &pos, unsigned count) | |
frame_iterator (const frame_iterator &) | |
frame_iterator & | operator= (const frame_iterator &) |
Abstract method implementations | |
bool | equal (const frame_iterator &rhs) const |
void | increment () |
Indirection as a reference | |
const value_type & | get () const |
value_type & | get () |
Indirection as a pointer | |
const value_type * | get_ptr () const |
value_type * | get_ptr () |
Equality checks | |
bool | operator== (const exact_type &) const |
bool | operator!= (const exact_type &) const |
Increment operators | |
const exact_type & | operator++ () |
exact_type | operator++ (int) |
Indirections | |
const value_type & | operator * () const |
const value_type * | operator-> () const |
Downcast methods | |
const exact_type & | exact () const |
exact_type & | exact () |
const exact_type * | exact_ptr () const |
exact_type * | exact_ptr () |
Protected Types | |
typedef boost::optional < value_type > | optional_value |
Protected Member Functions | |
Access to the iterator's embedded value | |
const optional_value & | value () const |
optional_value & | value () |
typedef HIDDEN pcapxx::internals::frame_iterator< Bottom >::exact_type |
typedef boost::optional<value_type> tool::valued_iterator< Bottom >::optional_value [protected, inherited] |
Type of the embedded value.
pcapxx::internals::frame_iterator< B >::frame_iterator | ( | const iterable_type & | desc, | |
bool | end | |||
) | [inline] |
tool::iterable compatible constructor.
pcapxx::internals::frame_iterator< B >::frame_iterator | ( | const iterable_type & | desc, | |
const std::streampos & | pos, | |||
unsigned | count | |||
) | [inline] |
Construct a frame iterator at a given PCAP file position.
pcapxx::internals::frame_iterator< B >::frame_iterator | ( | const frame_iterator< Bottom > & | it | ) | [inline] |
Copy constructor.
frame_iterator< B > & pcapxx::internals::frame_iterator< B >::operator= | ( | const frame_iterator< Bottom > & | rhs | ) | [inline] |
Assignment operator.
const static_base< Bottom >::exact_type & tool::static_base< Bottom >::exact | ( | ) | const [inline, inherited] |
Safely downcast to the exact type as a const reference.
static_base< Bottom >::exact_type & tool::static_base< Bottom >::exact | ( | ) | [inline, inherited] |
Safely downcast to the exact type as a non-const reference.
const static_base< Bottom >::exact_type * tool::static_base< Bottom >::exact_ptr | ( | ) | const [inline, inherited] |
Safely downcast to the exact type as a const pointer.
static_base< Bottom >::exact_type * tool::static_base< Bottom >::exact_ptr | ( | ) | [inline, inherited] |
Safely downcast to the exact type as a non-const pointer.