• Home
  • Raw
  • Download

Lines Matching refs:Collection

217 template <class Collection>
220 typedef typename Collection::cursor::element_type
222 typedef typename Collection::cursor::reference_type
225 typedef cursor_iterator<typename Collection::cursor>
228 linq_driver(Collection c) : c(c) {} in linq_driver()
234 linq_driver< linq_groupby<Collection, KeyFn> > groupby(KeyFn fn) in groupby()
236 return linq_groupby<Collection, KeyFn>(c, std::move(fn) ); in groupby()
244 linq_driver< linq_select<Collection, Selector> > select(Selector sel) const { in select()
245 return linq_select<Collection, Selector>(c, std::move(sel) ); in select()
249 linq_driver< linq_select_many<Collection, Fn, detail::default_select_many_selector> >
252 …return linq_select_many<Collection, Fn, detail::default_select_many_selector>(c, fn, detail::defau… in select_many()
256 linq_driver< linq_select_many<Collection, Fn, Fn2> > select_many(Fn fn, Fn2 fn2) const in select_many()
258 return linq_select_many<Collection, Fn, Fn2>(c, fn, fn2); in select_many()
262 linq_driver< linq_where<Collection, Predicate> > where(Predicate p) const { in where()
263 return linq_where<Collection, Predicate>(c, std::move(p) ); in where()
316 bool contains(const typename Collection::cursor::element_type& value) const { in contains()
400 typename Collection::cursor::cursor_category,
406 return linq_last_(c.get_cursor(), typename Collection::cursor::cursor_category()); in last()
418 … return linq_last_or_default_(c.get_cursor(), typename Collection::cursor::cursor_category()); in last_or_default()
468 linq_driver<linq_skip<Collection>> skip(std::size_t n) const { in skip()
469 return linq_skip<Collection>(c, n); in skip()
494 linq_driver<linq_take<Collection>> take(std::size_t n) const { in take()
495 return linq_take<Collection>(c, n); in take()
511 std::vector<typename Collection::cursor::element_type> to_vector() const in to_vector()
513 return std::vector<typename Collection::cursor::element_type>(begin(), end()); in to_vector()
516 std::list<typename Collection::cursor::element_type> to_list() const in to_list()
518 return std::list<typename Collection::cursor::element_type>(begin(), end()); in to_list()
521 std::set<typename Collection::cursor::element_type> to_set() const in to_set()
523 return std::set<typename Collection::cursor::element_type>(begin(), end()); in to_set()
541 typedef typename Collection::cursor cursor;
544 linq_driver< dynamic_collection<typename Collection::cursor::reference_type> >
547 return dynamic_collection<typename Collection::cursor::reference_type>(c); in late_bind()
551 Collection c;