wibble
1.1
|
Classes | |
struct | Append |
struct | Empty |
struct | Filtered |
struct | ListIterator |
struct | Map |
struct | Singular |
struct | Sorted |
struct | Take |
struct | Unique |
Functions | |
template<typename X > | |
Singular< X > | singular (const X &x) |
template<typename X , typename Y > | |
Append< X, Y > | append (const X &x, const Y &y) |
template<typename List > | |
size_t | count (List l) |
template<typename List , typename F > | |
void | foreach (List l, F f) |
template<typename List , template< typename > class F> | |
void | foreach (List l, F< typename List::Type > f) |
template<typename List , typename Pred > | |
Filtered< List, Pred > | filter (List l, Pred p) |
template<typename List , template< typename > class Pred> | |
Filtered< List, Pred< List > > | filter (List l, Pred< List > p) |
template<typename List , typename F > | |
Map< List, F > | map (const List &l, const F &f) |
template<typename List > | |
Sorted< List > | sort (List l) |
template<typename List > | |
Unique< List > | unique (List l) |
template<typename List > | |
Take< List > | take (int t, List l) |
template<typename List > | |
List | drop (int t, List l) |
template<typename List , typename Out > | |
void | output (List l, Out it) |
template<typename List > | |
ListIterator< List > | begin (List l) |
template<typename List > | |
ListIterator< List > | end (List) |
Append< X, Y > wibble::list::append | ( | const X & | x, |
const Y & | y | ||
) |
Referenced by TestList::append(), and TestList::appendCount().
ListIterator< List > wibble::list::begin | ( | List | l | ) |
References wibble::list::ListIterator< List >::l.
Referenced by wibble::commandline::Engine::add(), wibble::exception::AddContext::copyContext(), wibble::RangeMixin< T, GeneratedRange< T, _Advance, _End > >::empty(), TestCommandlineCore::eraseAndAdvance(), wibble::commandline::Option::Option(), wibble::RangeMixin< T, GeneratedRange< T, _Advance, _End > >::output(), wibble::commandline::Engine::parse(), wibble::commandline::BoolOption::parse(), wibble::commandline::Engine::parseFirstIfKnown(), wibble::commandline::Engine::parseKnownSwitches(), wibble::commandline::Engine::parseList(), TestList::stl(), and wibble::net::http::Params::~Params().
size_t wibble::list::count | ( | List | l | ) |
Referenced by TestList::appendCount(), TestList::count(), wibble::net::mime::Reader::discard_until_boundary(), TestList::filtered(), wibble::net::mime::Reader::read_line(), wibble::net::mime::Reader::read_until_boundary(), wibble::net::mime::Reader::readboundarytail(), TestList::sorted(), and TestList::unique().
List wibble::list::drop | ( | int | t, |
List | l | ||
) |
References wibble::list::ListIterator< List >::l.
ListIterator< List > wibble::list::end | ( | List | ) |
Referenced by wibble::net::http::Params::add(), Main::child(), wibble::exception::AddContext::copyContext(), wibble::RangeMixin< T, GeneratedRange< T, _Advance, _End > >::empty(), wibble::commandline::ArgList::eraseAndAdvance(), wibble::net::http::Params::field(), wibble::str::join(), wibble::net::http::Params::obtain_field(), wibble::Tokenizer::const_iterator::operator++(), wibble::str::Split::const_iterator::operator++(), wibble::RangeMixin< T, GeneratedRange< T, _Advance, _End > >::output(), wibble::net::http::Request::path_info_head(), wibble::net::http::Request::pop_path_info(), wibble::sys::fs::readFile(), TestList::stl(), wibble::str::trim(), and wibble::net::http::Params::~Params().
Filtered< List, Pred > wibble::list::filter | ( | List | l, |
Pred | p | ||
) |
References wibble::list::ListIterator< List >::l.
Referenced by TestList::filtered().
Filtered< List, Pred< List > > wibble::list::filter | ( | List | l, |
Pred< List > | p | ||
) |
References wibble::list::ListIterator< List >::l.
void wibble::list::foreach | ( | List | l, |
F | f | ||
) |
void wibble::list::foreach | ( | List | l, |
F< typename List::Type > | f | ||
) |
Map< List, F > wibble::list::map | ( | const List & | l, |
const F & | f | ||
) |
References wibble::list::ListIterator< List >::l.
Referenced by TestList::mul2add1(), TestMMapV2::read(), and TestMMap::simple().
void wibble::list::output | ( | List | l, |
Out | it | ||
) |
Referenced by wibble::commandline::Manpage::addHook().
Singular< X > wibble::list::singular | ( | const X & | x | ) |
Referenced by TestList::append(), and TestList::single().
Sorted< List > wibble::list::sort | ( | List | l | ) |
Take< List > wibble::list::take | ( | int | t, |
List | l | ||
) |
References wibble::list::ListIterator< List >::l.
Referenced by TestList::sorted().
Unique< List > wibble::list::unique | ( | List | l | ) |
References wibble::list::ListIterator< List >::l.
Referenced by TestList::unique().