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

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

#include <Generators.hpp>

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

Friends

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

Additional Inherited Members

- Public Member Functions inherited from FactoryGenerator< CombinationGenerator::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...
 
CombinationGenerator::ConstIteratoroperator++ ()
 Generates next element. More...
 
- Static Public Member Functions inherited from FactoryGenerator< CombinationGenerator::ConstIterator, std::vector< T > >
static CombinationGenerator::ConstIterator end ()
 Terminal iterator. More...
 
- Protected Attributes inherited from FactoryGenerator< CombinationGenerator::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::CombinationGenerator< T >::ConstIterator

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

Warning
Non const version is illegal

Friends And Related Function Documentation

◆ CombinationGenerator

friend class CombinationGenerator
friend

Befriending outer class.

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

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

Befriending parent.


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