#include <PairMatchSet.h>
Public Member Functions | |
iterator (bool full_only=true) | |
Construct an empty iterator. | |
iterator (const PairMatchSet &ccc, bool full_only=true) | |
Construct an iterator which will enumerate the matches in PairMatchSet cc. | |
iterator & | operator= (const PairMatchSet &ccc) |
Set an iterator to enumerate the matches in PairMatchSet cc. | |
int | get_i1 () const |
int | get_i2 () const |
bool | next () |
Advance the iterator, returning false if all matches have been enumerated. | |
iterator & | operator++ () |
bool | isfull () const |
Return true if neither of the indices of the match pointed to by the iterator is NoMatch. | |
operator safe_bool () const | |
Return true if the iterator has not yet enumerated all matches. | |
bool | operator! () const |
Return false if the iterator has not yet enumerated all matches. | |
Private Member Functions | |
iterator | operator++ (int) |
Private Attributes | |
VCL_SAFE_BOOL_DEFINE | |
const PairMatchSet * | c_ |
int | match_index_ |
int | i1 |
int | i2 |
bool | full_only_ |
Definition at line 75 of file PairMatchSet.h.
PairMatchSet::iterator::iterator | ( | bool | full_only = true | ) |
Construct an empty iterator.
Definition at line 274 of file PairMatchSet.cxx.
PairMatchSet::iterator::iterator | ( | const PairMatchSet & | ccc, |
bool | full_only = true |
||
) |
Construct an iterator which will enumerate the matches in PairMatchSet cc.
Definition at line 282 of file PairMatchSet.cxx.
int PairMatchSet::iterator::get_i1 | ( | ) | const [inline] |
Definition at line 86 of file PairMatchSet.h.
int PairMatchSet::iterator::get_i2 | ( | ) | const [inline] |
Definition at line 87 of file PairMatchSet.h.
bool PairMatchSet::iterator::isfull | ( | ) | const |
Return true if neither of the indices of the match pointed to by the iterator is NoMatch.
[Users should not need this]
Definition at line 328 of file PairMatchSet.cxx.
bool PairMatchSet::iterator::next | ( | ) |
Advance the iterator, returning false if all matches have been enumerated.
Definition at line 301 of file PairMatchSet.cxx.
PairMatchSet::iterator::operator safe_bool | ( | ) | const [inline] |
Return true if the iterator has not yet enumerated all matches.
Definition at line 92 of file PairMatchSet.h.
bool PairMatchSet::iterator::operator! | ( | ) | const [inline] |
Return false if the iterator has not yet enumerated all matches.
Definition at line 94 of file PairMatchSet.h.
iterator& PairMatchSet::iterator::operator++ | ( | ) | [inline] |
Definition at line 89 of file PairMatchSet.h.
PairMatchSet::iterator PairMatchSet::iterator::operator++ | ( | int | ) | [private] |
Definition at line 17 of file PairMatchSet.cxx.
PairMatchSet::iterator & PairMatchSet::iterator::operator= | ( | const PairMatchSet & | ccc | ) |
Set an iterator to enumerate the matches in PairMatchSet cc.
Definition at line 292 of file PairMatchSet.cxx.
const PairMatchSet* PairMatchSet::iterator::c_ [private] |
Definition at line 78 of file PairMatchSet.h.
bool PairMatchSet::iterator::full_only_ [private] |
Definition at line 81 of file PairMatchSet.h.
int PairMatchSet::iterator::i1 [private] |
Definition at line 80 of file PairMatchSet.h.
int PairMatchSet::iterator::i2 [private] |
Definition at line 80 of file PairMatchSet.h.
int PairMatchSet::iterator::match_index_ [private] |
Definition at line 79 of file PairMatchSet.h.
Definition at line 77 of file PairMatchSet.h.