Iterator over frames for pcap istream's . More...
#include <wipal/pcap/file_iterator.hh>
Public Types | |
Static hierarchies related types | |
typedef HIDDEN | exact_type |
typedef HIDDEN | iterable_type |
typedef HIDDEN | value_type |
Static hierarchies related types | |
typedef iterator< exact_type > | super_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 | |
file_iterator (const iterable_type &stream, bool end) | |
file_iterator (const iterable_type &stream, const std::streampos &pos, unsigned count, std::istream *const istream=0) | |
file_iterator (const file_iterator &) | |
file_iterator & | operator= (const file_iterator &) |
Abstract method implementations | |
bool | equal (const file_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 | |
std::istream & | stream () |
void | increment_pcap () |
Access to the iterator's embedded value | |
const optional_value & | value () const |
optional_value & | value () |
Iterator over frames for pcap istream's .