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::linq_select< Collection, Selector >::cursor Struct Reference

#include <linq_select.hpp>

Public Types

typedef util::result_of< Selector(typename inner_cursor::element_type)>::type reference_type
 
typedef std::remove_reference< reference_type >::type element_type
 
typedef inner_cursor::cursor_category cursor_category
 

Public Member Functions

 cursor (const inner_cursor &cur, Selector sel)
 
void forget ()
 
bool empty () const
 
void inc ()
 
reference_type get () const
 
bool atbegin () const
 
void dec ()
 
void skip (std::size_t n)
 
std::size_t position () const
 
std::size_t size () const
 

Member Typedef Documentation

template<class Collection, class Selector>
typedef inner_cursor::cursor_category cpplinq::linq_select< Collection, Selector >::cursor::cursor_category
template<class Collection, class Selector>
typedef std::remove_reference<reference_type>::type cpplinq::linq_select< Collection, Selector >::cursor::element_type
template<class Collection, class Selector>
typedef util::result_of<Selector(typename inner_cursor::element_type)>::type cpplinq::linq_select< Collection, Selector >::cursor::reference_type

Constructor & Destructor Documentation

template<class Collection, class Selector>
cpplinq::linq_select< Collection, Selector >::cursor::cursor ( const inner_cursor &  cur,
Selector  sel 
)
inline

Member Function Documentation

template<class Collection, class Selector>
bool cpplinq::linq_select< Collection, Selector >::cursor::atbegin ( ) const
inline
template<class Collection, class Selector>
void cpplinq::linq_select< Collection, Selector >::cursor::dec ( )
inline
template<class Collection, class Selector>
bool cpplinq::linq_select< Collection, Selector >::cursor::empty ( ) const
inline
template<class Collection, class Selector>
void cpplinq::linq_select< Collection, Selector >::cursor::forget ( )
inline
template<class Collection, class Selector>
reference_type cpplinq::linq_select< Collection, Selector >::cursor::get ( ) const
inline
template<class Collection, class Selector>
void cpplinq::linq_select< Collection, Selector >::cursor::inc ( )
inline
template<class Collection, class Selector>
std::size_t cpplinq::linq_select< Collection, Selector >::cursor::position ( ) const
inline
template<class Collection, class Selector>
std::size_t cpplinq::linq_select< Collection, Selector >::cursor::size ( ) const
inline
template<class Collection, class Selector>
void cpplinq::linq_select< Collection, Selector >::cursor::skip ( std::size_t  n)
inline

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