wpl::pcap::internals::file_iterator< Stream, Bottom > Struct Template Reference

Iterator over frames for pcap istream's . More...

#include <wipal/pcap/file_iterator.hh>

Inheritance diagram for wpl::pcap::internals::file_iterator< Stream, Bottom >:
wpl::tool::valued_iterator< HIDDEN > wpl::tool::iterator< HIDDEN > wpl::tool::static_base< HIDDEN >

List of all members.

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_typesuper_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_iteratoroperator= (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_typeoperator++ ()
exact_type operator++ (int)
Indirections

const value_type & operator* () const
const value_type * operator-> () const
Downcast methods

const exact_typeexact () const
exact_typeexact ()
const exact_typeexact_ptr () const
exact_typeexact_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_valuevalue () const
optional_valuevalue ()

Detailed Description

template<class Stream, class Bottom = tool::bottom>
struct wpl::pcap::internals::file_iterator< Stream, Bottom >

Iterator over frames for pcap istream's .


The documentation for this struct was generated from the following files:

Generated by  doxygen 1.6.2