Mackey  V3.3
A C++ library for computing RO(G) graded homology
PermutationGenerator< T >::ConstIterator Class Reference

Constant iterator that is used in a ranged for loop to generate the permutations. More...

#include <Generators.hpp>

Inheritance diagram for PermutationGenerator< T >::ConstIterator:
[legend]
Collaboration diagram for PermutationGenerator< T >::ConstIterator:
[legend]

Friends

class PermutationGenerator
 Befriending outer class. More...
 
class FactoryGenerator< PermutationGenerator::ConstIterator, std::vector< T > >
 Befriending parent. More...
 

Additional Inherited Members

- Public Member Functions inherited from FactoryGenerator< PermutationGenerator::ConstIterator, std::vector< T > >
const std::vector< T > & operator* () const
 Returns the generated element. More...
 
bool operator!= (const FactoryGenerator &other) const
 Inequality of iterators (used to detect if generation has been completed) More...
 
PermutationGenerator::ConstIteratoroperator++ ()
 Generates next element. More...
 
- Static Public Member Functions inherited from FactoryGenerator< PermutationGenerator::ConstIterator, std::vector< T > >
static PermutationGenerator::ConstIterator end ()
 Terminal iterator. More...
 
- Protected Attributes inherited from FactoryGenerator< PermutationGenerator::ConstIterator, std::vector< T > >
bool completed
 1 if the iterator is end() i.e. if all elements have been generated More...
 
std::vector< T > generated
 The currently generated element. More...
 

Detailed Description

template<class T>
class mackey::PermutationGenerator< T >::ConstIterator

Constant iterator that is used in a ranged for loop to generate the permutations.

Warning
Non constant version is illegal

Friends And Related Function Documentation

◆ PermutationGenerator

friend class PermutationGenerator
friend

Befriending outer class.

◆ FactoryGenerator< PermutationGenerator::ConstIterator, std::vector< T > >

friend class FactoryGenerator< PermutationGenerator::ConstIterator, std::vector< T > >
friend

Befriending parent.


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