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 | Public Attributes | List of all members
cpplinq::linq_take< Collection > Struct Template Reference

#include <linq_take.hpp>

Public Types

typedef std::conditional< util::less_or_equal_cursor_category< random_access_cursor_tag, typename Collection::cursor::cursor_category >::value, typename Collection::cursor, linq_take_cursor< typename Collection::cursor > >::type cursor
 

Public Member Functions

 linq_take (const Collection &c, std::size_t n)
 
cursor get_cursor () const
 

Public Attributes

Collection c
 
std::size_t n
 

Member Typedef Documentation

template<class Collection>
typedef std::conditional< util::less_or_equal_cursor_category< random_access_cursor_tag, typename Collection::cursor::cursor_category>::value, typename Collection::cursor, linq_take_cursor<typename Collection::cursor> >::type cpplinq::linq_take< Collection >::cursor

Constructor & Destructor Documentation

template<class Collection>
cpplinq::linq_take< Collection >::linq_take ( const Collection &  c,
std::size_t  n 
)
inline

Member Function Documentation

template<class Collection>
cursor cpplinq::linq_take< Collection >::get_cursor ( ) const
inline

Member Data Documentation

template<class Collection>
Collection cpplinq::linq_take< Collection >::c
template<class Collection>
std::size_t cpplinq::linq_take< Collection >::n

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