libtorrent::dht::packet_iterator Class Reference

#include <packet_iterator.hpp>

List of all members.

Public Types

typedef std::vector< char >
::const_iterator 
base_iterator

Public Member Functions

 packet_iterator ()
 packet_iterator (std::vector< char >::const_iterator start, std::vector< char >::const_iterator end, std::string const &error_msg="")
base_iterator base () const
base_iterator end () const
int left () const

Private Member Functions

bool equal (packet_iterator const &other) const
void advance (int n)
void increment ()
char const & dereference () const

Private Attributes

base_iterator m_base
base_iterator m_end
std::string m_msg

Friends

class boost::iterator_core_access


Detailed Description

Definition at line 43 of file packet_iterator.hpp.


Member Typedef Documentation

typedef std::vector<char>::const_iterator libtorrent::dht::packet_iterator::base_iterator

Definition at line 47 of file packet_iterator.hpp.


Constructor & Destructor Documentation

libtorrent::dht::packet_iterator::packet_iterator (  )  [inline]

Definition at line 49 of file packet_iterator.hpp.

libtorrent::dht::packet_iterator::packet_iterator ( std::vector< char >::const_iterator  start,
std::vector< char >::const_iterator  end,
std::string const &  error_msg = "" 
) [inline]

Definition at line 51 of file packet_iterator.hpp.


Member Function Documentation

base_iterator libtorrent::dht::packet_iterator::base (  )  const [inline]

Definition at line 59 of file packet_iterator.hpp.

References m_base.

base_iterator libtorrent::dht::packet_iterator::end (  )  const [inline]

Definition at line 62 of file packet_iterator.hpp.

References m_end.

int libtorrent::dht::packet_iterator::left (  )  const [inline]

Definition at line 65 of file packet_iterator.hpp.

References m_base, and m_end.

bool libtorrent::dht::packet_iterator::equal ( packet_iterator const &  other  )  const [inline, private]

Definition at line 70 of file packet_iterator.hpp.

References m_base.

void libtorrent::dht::packet_iterator::advance ( int  n  )  [inline, private]

Definition at line 73 of file packet_iterator.hpp.

References m_base.

void libtorrent::dht::packet_iterator::increment (  )  [inline, private]

Definition at line 78 of file packet_iterator.hpp.

References m_base.

char const& libtorrent::dht::packet_iterator::dereference (  )  const [inline, private]

Definition at line 81 of file packet_iterator.hpp.

References m_base, m_end, and m_msg.


Friends And Related Function Documentation

friend class boost::iterator_core_access [friend]

Definition at line 68 of file packet_iterator.hpp.


Member Data Documentation

Definition at line 87 of file packet_iterator.hpp.

Referenced by advance(), base(), dereference(), equal(), increment(), and left().

Definition at line 88 of file packet_iterator.hpp.

Referenced by dereference(), end(), and left().

Definition at line 89 of file packet_iterator.hpp.

Referenced by dereference().


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

Generated on Sun May 25 00:21:47 2008 by  doxygen 1.5.6