chunkedseq
container library for large in-memory data sets
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | List of all members
pasl::data::chunkedseq::iterator::random_access< Chunkedseq, Configuration > Class Template Reference

[random_access] More...

#include <iterator.hpp>

Public Types

STL-specific configuration types
using iterator_category = std::random_access_iterator_tag
 
using size_type = typename config_type::size_type
 
using difference_type = typename config_type::difference_type
 
Container-specific types
using self_type = random_access< chunkedseq_type, config_type >
 
using value_type = typename config_type::value_type
 
using pointer = value_type *
 
using const_pointer = const value_type *
 
using reference = value_type &
 
using const_reference = const value_type &
 
using segment_type = typename config_type::segment_type
 
Cached-measurement types
using cache_type = typename config_type::middle_cache_type
 
using measured_type = typename cache_type::measured_type
 
using algebra_type = typename cache_type::algebra_type
 
using measure_type = typename cache_type::measure_type
 

Public Member Functions

 random_access (const_chunkedseq_pointer seq, const measure_type &meas, position_type pos)
 
 random_access ()
 
ForwardIterator
bool operator== (const self_type &other) const
 
bool operator!= (const self_type &other) const
 
reference operator* () const
 
self_typeoperator++ ()
 
self_type operator++ (int)
 
self_typeoperator-- ()
 
self_type operator-- (int)
 
RandomAccessIterator
self_typeoperator+= (const size_type n)
 
self_type operator+ (const self_type &other) const
 
self_type operator+ (const size_type n) const
 
self_typeoperator-= (const size_type n)
 
difference_type operator- (const self_type &other) const
 
self_type operator- (const size_type n) const
 
reference operator[] (const size_type n) const
 
bool operator< (const self_type &other) const
 
bool operator> (const self_type &other) const
 
bool operator<= (const self_type &other) const
 
bool operator>= (const self_type &other) const
 
Item search
size_type size () const
 Returns the number of items preceding and including the item pointed to by the iterator. More...
 
template<class Pred >
void search_by (const Pred &p)
 
segment_type get_segment () const
 

Detailed Description

template<class Chunkedseq, class Configuration>
class pasl::data::chunkedseq::iterator::random_access< Chunkedseq, Configuration >

Random-access iterator

Implements the RandomAccessIterator category of the Standard Template Library.

Definition at line 139 of file iterator.hpp.

Member Typedef Documentation

template<class Chunkedseq , class Configuration >
using pasl::data::chunkedseq::iterator::random_access< Chunkedseq, Configuration >::algebra_type = typename cache_type::algebra_type

Definition at line 177 of file iterator.hpp.

template<class Chunkedseq , class Configuration >
using pasl::data::chunkedseq::iterator::random_access< Chunkedseq, Configuration >::cache_type = typename config_type::middle_cache_type

Definition at line 175 of file iterator.hpp.

template<class Chunkedseq , class Configuration >
using pasl::data::chunkedseq::iterator::random_access< Chunkedseq, Configuration >::const_pointer = const value_type*

Definition at line 165 of file iterator.hpp.

template<class Chunkedseq , class Configuration >
using pasl::data::chunkedseq::iterator::random_access< Chunkedseq, Configuration >::const_reference = const value_type&

Definition at line 167 of file iterator.hpp.

template<class Chunkedseq , class Configuration >
using pasl::data::chunkedseq::iterator::random_access< Chunkedseq, Configuration >::difference_type = typename config_type::difference_type

Definition at line 155 of file iterator.hpp.

template<class Chunkedseq , class Configuration >
using pasl::data::chunkedseq::iterator::random_access< Chunkedseq, Configuration >::iterator_category = std::random_access_iterator_tag

Definition at line 153 of file iterator.hpp.

template<class Chunkedseq , class Configuration >
using pasl::data::chunkedseq::iterator::random_access< Chunkedseq, Configuration >::measure_type = typename cache_type::measure_type

Definition at line 178 of file iterator.hpp.

template<class Chunkedseq , class Configuration >
using pasl::data::chunkedseq::iterator::random_access< Chunkedseq, Configuration >::measured_type = typename cache_type::measured_type

Definition at line 176 of file iterator.hpp.

template<class Chunkedseq , class Configuration >
using pasl::data::chunkedseq::iterator::random_access< Chunkedseq, Configuration >::pointer = value_type*

Definition at line 164 of file iterator.hpp.

template<class Chunkedseq , class Configuration >
using pasl::data::chunkedseq::iterator::random_access< Chunkedseq, Configuration >::reference = value_type&

Definition at line 166 of file iterator.hpp.

template<class Chunkedseq , class Configuration >
using pasl::data::chunkedseq::iterator::random_access< Chunkedseq, Configuration >::segment_type = typename config_type::segment_type

Definition at line 168 of file iterator.hpp.

template<class Chunkedseq , class Configuration >
using pasl::data::chunkedseq::iterator::random_access< Chunkedseq, Configuration >::self_type = random_access<chunkedseq_type, config_type>

Definition at line 162 of file iterator.hpp.

template<class Chunkedseq , class Configuration >
using pasl::data::chunkedseq::iterator::random_access< Chunkedseq, Configuration >::size_type = typename config_type::size_type

Definition at line 154 of file iterator.hpp.

template<class Chunkedseq , class Configuration >
using pasl::data::chunkedseq::iterator::random_access< Chunkedseq, Configuration >::value_type = typename config_type::value_type

Definition at line 163 of file iterator.hpp.

Constructor & Destructor Documentation

template<class Chunkedseq , class Configuration >
pasl::data::chunkedseq::iterator::random_access< Chunkedseq, Configuration >::random_access ( const_chunkedseq_pointer  seq,
const measure_type meas,
position_type  pos 
)
inline

Definition at line 324 of file iterator.hpp.

template<class Chunkedseq , class Configuration >
pasl::data::chunkedseq::iterator::random_access< Chunkedseq, Configuration >::random_access ( )
inline

Definition at line 340 of file iterator.hpp.

Member Function Documentation

template<class Chunkedseq , class Configuration >
segment_type pasl::data::chunkedseq::iterator::random_access< Chunkedseq, Configuration >::get_segment ( ) const
inline

Definition at line 471 of file iterator.hpp.

template<class Chunkedseq , class Configuration >
bool pasl::data::chunkedseq::iterator::random_access< Chunkedseq, Configuration >::operator!= ( const self_type other) const
inline

Definition at line 359 of file iterator.hpp.

template<class Chunkedseq , class Configuration >
reference pasl::data::chunkedseq::iterator::random_access< Chunkedseq, Configuration >::operator* ( ) const
inline

Definition at line 363 of file iterator.hpp.

template<class Chunkedseq , class Configuration >
self_type pasl::data::chunkedseq::iterator::random_access< Chunkedseq, Configuration >::operator+ ( const self_type other) const
inline

Definition at line 402 of file iterator.hpp.

template<class Chunkedseq , class Configuration >
self_type pasl::data::chunkedseq::iterator::random_access< Chunkedseq, Configuration >::operator+ ( const size_type  n) const
inline

Definition at line 406 of file iterator.hpp.

template<class Chunkedseq , class Configuration >
self_type& pasl::data::chunkedseq::iterator::random_access< Chunkedseq, Configuration >::operator++ ( )
inline

Definition at line 368 of file iterator.hpp.

template<class Chunkedseq , class Configuration >
self_type pasl::data::chunkedseq::iterator::random_access< Chunkedseq, Configuration >::operator++ ( int  )
inline

Definition at line 373 of file iterator.hpp.

template<class Chunkedseq , class Configuration >
self_type& pasl::data::chunkedseq::iterator::random_access< Chunkedseq, Configuration >::operator+= ( const size_type  n)
inline

Definition at line 398 of file iterator.hpp.

template<class Chunkedseq , class Configuration >
difference_type pasl::data::chunkedseq::iterator::random_access< Chunkedseq, Configuration >::operator- ( const self_type other) const
inline

Definition at line 414 of file iterator.hpp.

template<class Chunkedseq , class Configuration >
self_type pasl::data::chunkedseq::iterator::random_access< Chunkedseq, Configuration >::operator- ( const size_type  n) const
inline

Definition at line 418 of file iterator.hpp.

template<class Chunkedseq , class Configuration >
self_type& pasl::data::chunkedseq::iterator::random_access< Chunkedseq, Configuration >::operator-- ( )
inline

Definition at line 380 of file iterator.hpp.

template<class Chunkedseq , class Configuration >
self_type pasl::data::chunkedseq::iterator::random_access< Chunkedseq, Configuration >::operator-- ( int  )
inline

Definition at line 385 of file iterator.hpp.

template<class Chunkedseq , class Configuration >
self_type& pasl::data::chunkedseq::iterator::random_access< Chunkedseq, Configuration >::operator-= ( const size_type  n)
inline

Definition at line 410 of file iterator.hpp.

template<class Chunkedseq , class Configuration >
bool pasl::data::chunkedseq::iterator::random_access< Chunkedseq, Configuration >::operator< ( const self_type other) const
inline

Definition at line 428 of file iterator.hpp.

template<class Chunkedseq , class Configuration >
bool pasl::data::chunkedseq::iterator::random_access< Chunkedseq, Configuration >::operator<= ( const self_type other) const
inline

Definition at line 436 of file iterator.hpp.

template<class Chunkedseq , class Configuration >
bool pasl::data::chunkedseq::iterator::random_access< Chunkedseq, Configuration >::operator== ( const self_type other) const
inline

Definition at line 347 of file iterator.hpp.

template<class Chunkedseq , class Configuration >
bool pasl::data::chunkedseq::iterator::random_access< Chunkedseq, Configuration >::operator> ( const self_type other) const
inline

Definition at line 432 of file iterator.hpp.

template<class Chunkedseq , class Configuration >
bool pasl::data::chunkedseq::iterator::random_access< Chunkedseq, Configuration >::operator>= ( const self_type other) const
inline

Definition at line 440 of file iterator.hpp.

template<class Chunkedseq , class Configuration >
reference pasl::data::chunkedseq::iterator::random_access< Chunkedseq, Configuration >::operator[] ( const size_type  n) const
inline

Definition at line 424 of file iterator.hpp.

template<class Chunkedseq , class Configuration >
template<class Pred >
void pasl::data::chunkedseq::iterator::random_access< Chunkedseq, Configuration >::search_by ( const Pred &  p)
inline

Definition at line 464 of file iterator.hpp.

template<class Chunkedseq , class Configuration >
size_type pasl::data::chunkedseq::iterator::random_access< Chunkedseq, Configuration >::size ( ) const
inline

Complexity

Constant time.

Definition at line 459 of file iterator.hpp.


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