All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends Macros Pages
Public Member Functions | Protected Member Functions | Friends | List of all members
paal::data_structures::subsets_iterator_engine< 0, Iterator > Class Template Reference

specialization for k==0 for boundary cases. This class stores iterator pointing to the end of the input collection More...

#include <subset_iterator.hpp>

Public Member Functions

bool next () const
 boundary case, does nothing More...
 
template<typename F , typename... Args>
auto call (F f, Args &&...args) const -> decltype(f(std::forward< Args >(args)...))
 actually calls f for given arguments More...
 

Protected Member Functions

 subsets_iterator_engine (Iterator begin, Iterator end)
 constructor More...
 
Iterator get_begin ()
 get_begin, fake returns m_end More...
 
Iterator get_end ()
 get_end, returns end of the input collection More...
 
void set_to_end ()
 boundary case, does nothing
 

Friends

bool operator== (const subsets_iterator_engine &left, const subsets_iterator_engine &right)
 operator==, always true More...
 

Detailed Description

template<typename Iterator>
class paal::data_structures::subsets_iterator_engine< 0, Iterator >

specialization for k==0 for boundary cases. This class stores iterator pointing to the end of the input collection

Template Parameters
Iterator

Definition at line 151 of file subset_iterator.hpp.

Constructor & Destructor Documentation

template<typename Iterator >
paal::data_structures::subsets_iterator_engine< 0, Iterator >::subsets_iterator_engine ( Iterator  begin,
Iterator  end 
)
inlineprotected

constructor

Parameters
begin
end

Definition at line 159 of file subset_iterator.hpp.

Member Function Documentation

template<typename Iterator >
template<typename F , typename... Args>
auto paal::data_structures::subsets_iterator_engine< 0, Iterator >::call ( F  f,
Args &&...  args 
) const -> decltype(f(std::forward<Args>(args)...))
inline

actually calls f for given arguments

Template Parameters
F
Args
Parameters
f
args
Returns

Definition at line 201 of file subset_iterator.hpp.

template<typename Iterator >
Iterator paal::data_structures::subsets_iterator_engine< 0, Iterator >::get_begin ( )
inlineprotected

get_begin, fake returns m_end

Returns

Definition at line 168 of file subset_iterator.hpp.

template<typename Iterator >
Iterator paal::data_structures::subsets_iterator_engine< 0, Iterator >::get_end ( )
inlineprotected

get_end, returns end of the input collection

Returns

Definition at line 175 of file subset_iterator.hpp.

template<typename Iterator >
bool paal::data_structures::subsets_iterator_engine< 0, Iterator >::next ( ) const
inline

boundary case, does nothing

Returns

Definition at line 188 of file subset_iterator.hpp.

Friends And Related Function Documentation

template<typename Iterator >
bool operator== ( const subsets_iterator_engine< 0, Iterator > &  left,
const subsets_iterator_engine< 0, Iterator > &  right 
)
friend

operator==, always true

Parameters
left
right
Returns

Definition at line 214 of file subset_iterator.hpp.


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