#include <SgVector.h>
Inheritance diagram for SgVectorPairIteratorOf< T >:

with list = e1, e2,...en the returned pairs are (in order): (e1,e2), (e1,e3), ... (e1,en), (e2,e3),...(e(n-1),en)
Definition at line 808 of file SgVector.h.
Public Member Functions | |
| SgVectorPairIteratorOf (const SgVectorOf< T > &list) | |
| Create an iterator to iterate through all possible pairs of list elements. | |
| bool | NextPair (T *&elt1, T *&elt2) |
| Find the next pair of data elements. | |
| bool | NextPair (void *&elt1, void *&elt2) |
| Find the next pair of data elements. | |
| SgVectorPairIteratorOf< T >::SgVectorPairIteratorOf | ( | const SgVectorOf< T > & | list | ) |
Create an iterator to iterate through all possible pairs of list elements.
Definition at line 815 of file SgVector.h.
| bool SgVectorPairIterator< void * >::NextPair | ( | void * & | elt1, | |
| void * & | elt2 | |||
| ) | [inherited] |
Find the next pair of data elements.
Return true and change elt1 and elt2 if not reached the end of the vector; return false and don't touch the parameters if at the end of the vector.
| bool SgVectorPairIteratorOf< T >::NextPair | ( | T *& | elt1, | |
| T *& | elt2 | |||
| ) |
Find the next pair of data elements.
Return true and change elt1 and elt2 if not reached the end of the list; return false and don't touch the parameters if at the end of the list.
Definition at line 825 of file SgVector.h.