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

this collection stores some range and expose set_last_change function each time begin and end is called this class returns range which starts from last change place More...

#include <collection_starts_from_last_change.hpp>

Public Types

typedef JoinedIterator ResultIterator
 

Public Member Functions

 collection_starts_from_last_change (Iterator begin, Iterator end)
 constructor More...
 
void set_last_change (const Element &el)
 one can set the place of the last change (future start position of the range) More...
 
JoinedIterator begin ()
 begin More...
 
JoinedIterator end ()
 end More...
 

Detailed Description

template<typename Iterator, typename hash = std::hash<typename std::iterator_traits<Iterator>::value_type>>
class paal::data_structures::collection_starts_from_last_change< Iterator, hash >

this collection stores some range and expose set_last_change function each time begin and end is called this class returns range which starts from last change place

Template Parameters
Iterator
hash

Definition at line 36 of file collection_starts_from_last_change.hpp.

Constructor & Destructor Documentation

template<typename Iterator , typename hash = std::hash<typename std::iterator_traits<Iterator>::value_type>>
paal::data_structures::collection_starts_from_last_change< Iterator, hash >::collection_starts_from_last_change ( Iterator  begin,
Iterator  end 
)
inline

constructor

Parameters
begin
end

Definition at line 54 of file collection_starts_from_last_change.hpp.

Member Function Documentation

template<typename Iterator , typename hash = std::hash<typename std::iterator_traits<Iterator>::value_type>>
JoinedIterator paal::data_structures::collection_starts_from_last_change< Iterator, hash >::begin ( )
inline

begin

Returns

Definition at line 80 of file collection_starts_from_last_change.hpp.

template<typename Iterator , typename hash = std::hash<typename std::iterator_traits<Iterator>::value_type>>
JoinedIterator paal::data_structures::collection_starts_from_last_change< Iterator, hash >::end ( )
inline

end

Returns

Definition at line 87 of file collection_starts_from_last_change.hpp.

template<typename Iterator , typename hash = std::hash<typename std::iterator_traits<Iterator>::value_type>>
void paal::data_structures::collection_starts_from_last_change< Iterator, hash >::set_last_change ( const Element &  el)
inline

one can set the place of the last change (future start position of the range)

Parameters
el

Definition at line 69 of file collection_starts_from_last_change.hpp.


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