#include <vnl_scalar_join_iterator.h>
Public Methods | |
vnl_scalar_join_iterator (const vnl_matrix< T > &relation1, unsigned column1, const vnl_matrix< T > &relation2, unsigned column2) | |
~vnl_scalar_join_iterator () | |
operator bool () | |
vnl_scalar_join_iterator< T > & | operator++ () |
bool | done () |
void | next () |
unsigned | row1 () |
unsigned | row2 () |
Protected Attributes | |
unsigned | n1 |
unsigned | n2 |
vcl_list< vnl_scalar_join_iterator_indexed_pair< T > > * | pI1 |
vcl_list< vnl_scalar_join_iterator_indexed_pair< T > > * | pI2 |
vcl_list< vnl_scalar_join_iterator_indexed_pair< T > > & | I1 |
vcl_list< vnl_scalar_join_iterator_indexed_pair< T > > & | I2 |
vcl_list< vnl_scalar_join_iterator_indexed_pair< T > >::iterator | index1 |
vcl_list< vnl_scalar_join_iterator_indexed_pair< T > >::iterator | index2 |
Definition at line 47 of file vnl_scalar_join_iterator.h.
|
Initialize this iterator to the join of. relation1(:,column1) and relation2(:,column2). The algorithm sorts an array of pointers to each row and traversal of the iterator runs through these to produce the join. After construction the row1() and row2() methods indicate the first pair. |
|
|
|
|
|
|
|
Return true if all pairs have been seen. Definition at line 64 of file vnl_scalar_join_iterator.h. |
|
Advance to the next pair.\ This is prefix ++. Definition at line 68 of file vnl_scalar_join_iterator.h. References vnl_scalar_join_iterator< T >::I1, vnl_scalar_join_iterator< T >::I2, vnl_scalar_join_iterator< T >::index1, vnl_scalar_join_iterator< T >::n1, vnl_scalar_join_iterator< T >::n2, vnl_scalar_join_iterator< T >::pI1, and vnl_scalar_join_iterator< T >::pI2. |
|
Return the indices of the current rows in the first and second relations. |
|
Return the indices of the current rows in the first and second relations. |
|
Definition at line 92 of file vnl_scalar_join_iterator.h. Referenced by vnl_scalar_join_iterator< T >::operator++(). |
|
Definition at line 93 of file vnl_scalar_join_iterator.h. Referenced by vnl_scalar_join_iterator< T >::operator++(). |
|
Definition at line 94 of file vnl_scalar_join_iterator.h. Referenced by vnl_scalar_join_iterator< T >::operator++(). |
|
Definition at line 95 of file vnl_scalar_join_iterator.h. |
|
Definition at line 88 of file vnl_scalar_join_iterator.h. Referenced by vnl_scalar_join_iterator< T >::operator++(). |
|
Definition at line 89 of file vnl_scalar_join_iterator.h. Referenced by vnl_scalar_join_iterator< T >::operator++(). |
|
Definition at line 90 of file vnl_scalar_join_iterator.h. Referenced by vnl_scalar_join_iterator< T >::operator++(). |
|
Definition at line 91 of file vnl_scalar_join_iterator.h. Referenced by vnl_scalar_join_iterator< T >::operator++(). |