Public Member Functions | Private Member Functions | Private Attributes
PairMatchMultiIterator Class Reference

#include <PairMatchMultiIterator.h>

List of all members.

Public Member Functions

 PairMatchMultiIterator (const vcl_multimap_uint_uint::iterator &first, const vcl_multimap_uint_uint::iterator &last)
 Construct a PairMatchMultiIterator from two multimap iterators.
 PairMatchMultiIterator (PairMatchMulti const &pmm)
 Construct a PairMatchMultiIterator which will scan all matches in a PairMatchMulti.
 operator safe_bool () const
 Return true if the iterator is still valid.
bool operator! () const
 Return false if the iterator is still valid.
PairMatchMultiIteratoroperator++ ()
 Advance to the next match.
int get_i1 () const
 Return the first component of the match pointed to by the iterator.
int get_i2 () const
 Return the second component of the match pointed to by the iterator.

Private Member Functions

PairMatchMultiIterator operator++ (int)

Private Attributes

 VCL_SAFE_BOOL_DEFINE
vcl_multimap_uint_uint::const_iterator first_
vcl_multimap_uint_uint::const_iterator last_

Detailed Description

Definition at line 31 of file PairMatchMultiIterator.h.


Constructor & Destructor Documentation

PairMatchMultiIterator::PairMatchMultiIterator ( const vcl_multimap_uint_uint::iterator &  first,
const vcl_multimap_uint_uint::iterator &  last 
) [inline]

Construct a PairMatchMultiIterator from two multimap iterators.

Definition at line 38 of file PairMatchMultiIterator.h.

PairMatchMultiIterator::PairMatchMultiIterator ( PairMatchMulti const &  pmm)

Construct a PairMatchMultiIterator which will scan all matches in a PairMatchMulti.

Definition at line 9 of file PairMatchMultiIterator.cxx.


Member Function Documentation

int PairMatchMultiIterator::get_i1 ( ) const [inline]

Return the first component of the match pointed to by the iterator.

Definition at line 60 of file PairMatchMultiIterator.h.

int PairMatchMultiIterator::get_i2 ( ) const [inline]

Return the second component of the match pointed to by the iterator.

Definition at line 63 of file PairMatchMultiIterator.h.

PairMatchMultiIterator::operator safe_bool ( ) const [inline]

Return true if the iterator is still valid.

Definition at line 49 of file PairMatchMultiIterator.h.

bool PairMatchMultiIterator::operator! ( ) const [inline]

Return false if the iterator is still valid.

Definition at line 53 of file PairMatchMultiIterator.h.

PairMatchMultiIterator& PairMatchMultiIterator::operator++ ( ) [inline]

Advance to the next match.

Definition at line 57 of file PairMatchMultiIterator.h.

PairMatchMultiIterator PairMatchMultiIterator::operator++ ( int  ) [inline, private]

Definition at line 66 of file PairMatchMultiIterator.h.


Member Data Documentation

vcl_multimap_uint_uint::const_iterator PairMatchMultiIterator::first_ [private]

Definition at line 34 of file PairMatchMultiIterator.h.

vcl_multimap_uint_uint::const_iterator PairMatchMultiIterator::last_ [private]

Definition at line 35 of file PairMatchMultiIterator.h.

Definition at line 33 of file PairMatchMultiIterator.h.


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