RxCpp
The Reactive Extensions for Native (RxCpp) is a library for composing asynchronous and event-based programs using observable sequences and LINQ-style query operators in both C and C++.
Public Types | Public Member Functions | List of all members
cpplinq::iter_cursor< Iterator > Class Template Reference

#include <linq_cursor.hpp>

Inheritance diagram for cpplinq::iter_cursor< Iterator >:
Inheritance graph
[legend]
Collaboration diagram for cpplinq::iter_cursor< Iterator >:
Collaboration graph
[legend]

Public Types

typedef iter_cursor cursor
 
typedef std::remove_reference< typename std::iterator_traits< Iterator >::value_type >::type element_type
 
typedef std::iterator_traits< Iterator >::reference reference_type
 
typedef util::iter_to_cursor_category< Iterator >::type cursor_category
 

Public Member Functions

void forget ()
 
bool empty () const
 
void inc ()
 
std::iterator_traits< Iterator >::reference get () const
 
bool atbegin () const
 
void dec ()
 
void skip (std::ptrdiff_t n)
 
std::size_t size ()
 
void position ()
 
void truncate (std::size_t n)
 
 iter_cursor (Iterator start, Iterator fin)
 
 iter_cursor (Iterator start, Iterator fin, Iterator current)
 
iter_cursor get_cursor () const
 

Member Typedef Documentation

◆ cursor

template<class Iterator>
typedef iter_cursor cpplinq::iter_cursor< Iterator >::cursor

◆ cursor_category

template<class Iterator>
typedef util::iter_to_cursor_category<Iterator>::type cpplinq::iter_cursor< Iterator >::cursor_category

◆ element_type

template<class Iterator>
typedef std::remove_reference<typename std::iterator_traits<Iterator>::value_type>::type cpplinq::iter_cursor< Iterator >::element_type

◆ reference_type

template<class Iterator>
typedef std::iterator_traits<Iterator>::reference cpplinq::iter_cursor< Iterator >::reference_type

Constructor & Destructor Documentation

◆ iter_cursor() [1/2]

template<class Iterator>
cpplinq::iter_cursor< Iterator >::iter_cursor ( Iterator  start,
Iterator  fin 
)
inline

◆ iter_cursor() [2/2]

template<class Iterator>
cpplinq::iter_cursor< Iterator >::iter_cursor ( Iterator  start,
Iterator  fin,
Iterator  current 
)
inline

Member Function Documentation

◆ atbegin()

template<class Iterator>
bool cpplinq::iter_cursor< Iterator >::atbegin ( ) const
inline

◆ dec()

template<class Iterator>
void cpplinq::iter_cursor< Iterator >::dec ( )
inline

◆ empty()

template<class Iterator>
bool cpplinq::iter_cursor< Iterator >::empty ( ) const
inline

◆ forget()

template<class Iterator>
void cpplinq::iter_cursor< Iterator >::forget ( )
inline

◆ get()

template<class Iterator>
std::iterator_traits<Iterator>::reference cpplinq::iter_cursor< Iterator >::get ( ) const
inline

◆ get_cursor()

template<class Iterator>
iter_cursor cpplinq::iter_cursor< Iterator >::get_cursor ( ) const
inline

◆ inc()

template<class Iterator>
void cpplinq::iter_cursor< Iterator >::inc ( )
inline

◆ position()

template<class Iterator>
void cpplinq::iter_cursor< Iterator >::position ( )
inline

◆ size()

template<class Iterator>
std::size_t cpplinq::iter_cursor< Iterator >::size ( )
inline

◆ skip()

template<class Iterator>
void cpplinq::iter_cursor< Iterator >::skip ( std::ptrdiff_t  n)
inline

◆ truncate()

template<class Iterator>
void cpplinq::iter_cursor< Iterator >::truncate ( std::size_t  n)
inline

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