|
Honeycomb
0.1
Component-Model Framework
|
Iter for permutations of a list. More...
#include <Permute.h>
Public Types | |
| typedef std::forward_iterator_tag | iterator_category |
| typedef const vector< const T * > | value_type |
| typedef sdt | difference_type |
| typedef const vector< const T * > * | pointer |
| typedef const vector< const T * > & | reference |
Public Member Functions | |
| Iter ()=default | |
| Iter (SharedPtr< State > state) | |
| Iter & | operator++ () |
| Iter | operator++ (int) |
| bool | operator== (const Iter &rhs) const |
| bool | operator!= (const Iter &rhs) const |
| vector< const T * > & | operator* () const |
| Get current permutation list. More... | |
| vector< const T * > * | operator-> () const |
| sdt | count () const |
| Get current permutation number. Every perm has a unique associated number: the first perm is 1, the last perm is countMax() More... | |
| sdt | countMax () const |
| Get total number of permutations for this list. More... | |
Friends | |
| class | Permute_ |
Iter for permutations of a list.
| typedef sdt honey::Permute_< Real >::Iter< T >::difference_type |
| typedef std::forward_iterator_tag honey::Permute_< Real >::Iter< T >::iterator_category |
| typedef const vector<const T*>* honey::Permute_< Real >::Iter< T >::pointer |
| typedef const vector<const T*>& honey::Permute_< Real >::Iter< T >::reference |
| typedef const vector<const T*> honey::Permute_< Real >::Iter< T >::value_type |
| honey::Permute_< Real >::Iter< T >::Iter | ( | SharedPtr< State > | state | ) |
|
inline |
Get current permutation number. Every perm has a unique associated number: the first perm is 1, the last perm is countMax()
|
inline |
Get total number of permutations for this list.
|
inline |
|
inline |
Get current permutation list.
| Permute_< Real >::template Iter< T > & honey::Permute_< Real >::Iter< T >::operator++ | ( | ) |
|
inline |
|
inline |
| bool honey::Permute_< Real >::Iter< T >::operator== | ( | const Iter< T > & | rhs | ) | const |
1.8.10