wibble
1.1
|
Namespaces | |
commandline | |
exception | |
grcal | |
list | |
log | |
mixin | |
net | |
operators | |
param | |
str | |
stream | |
sys | |
tests | |
text | |
Typedefs | |
typedef bool | SortabilityTag |
template<typename E > | |
using | is_enum_class = std::integral_constant< bool, std::is_enum< E >::value &&!std::is_convertible< E, int >::value > |
Functions | |
template<typename T , typename X > | |
X::template Convert< T >::type & | downcast (const X &a) |
template<typename T , typename X > | |
T & | downcast (X *v) |
template<typename T > | |
T::WrappedType & | unwrap (const T &x) |
template<typename T > | |
T & | unwrap (T &x) |
template<typename R > | |
Consumer< typename R::ConsumedType > | consumerMorph (R r) |
template<typename Out > | |
Consumer< typename Out::container_type::value_type > | consumer (Out out) |
template<typename T > | |
IsType< Consumer< typename T::value_type >, typename T::iterator >::T | consumer (T &c) |
template<typename T > | |
Consumer< T > | consumer (const ConsumerInterface< T > &t) |
template<typename T , typename I > | |
IteratorTraits< T, I >::Unsorted | isSortedT (I, I) |
template<typename T , typename I > | |
IteratorTraits< T, I >::Sorted | isSortedT (I, I) |
template<typename I > | |
Iterator< typename I::value_type > | iterator (I i) |
template<typename X , typename Y > | |
std::ostream & | operator<< (std::ostream &o, const std::pair< X, Y > &x) |
template<typename T , typename C > | |
Range< T > | castedRange (C r) |
template<typename T , typename C > | |
Range< T > | upcastRange (C r) |
template<typename In > | |
Range< typename In::value_type > | range (In b, In e) |
template<typename C > | |
Range< typename C::iterator::value_type > | range (C &c) |
template<typename R > | |
IntersectionRange< typename R::ElementType > | intersectionRange (R r1, R r2) |
template<typename R , typename Pred > | |
FilteredRange< R, Pred > | filteredRange (R r, Pred p) |
template<typename R > | |
UniqueRange< typename R::ElementType > | uniqueRange (R r1) |
template<typename Trans > | |
TransformedRange< Trans > | transformedRange (Range< typename Trans::argument_type > r, Trans t) |
template<typename T , typename A , typename E > | |
GeneratedRange< T, A, E > | generatedRange (T t, A a, E e) |
template<typename T > | |
Singleton< T > | singleton (const T &value) |
template<typename Self , typename = typename std::enable_if< is_enum_class< Self >::value >::type> | |
constexpr StrongEnumFlags< Self > | operator| (Self a, Self b) noexcept |
template<typename Self , typename = typename std::enable_if< is_enum_class< Self >::value >::type> | |
constexpr StrongEnumFlags< Self > | operator& (Self a, Self b) noexcept |
void | assert_die_fn (Location l) |
template<typename X > | |
AssertFailed & | operator<< (AssertFailed &f, X x) |
template<typename X > | |
void | assert_fn (Location l, X x) |
template<typename X , typename Y > | |
void | assert_eq_fn (Location l, X x, Y y) |
template<typename X , typename Y > | |
void | assert_leq_fn (Location l, X x, Y y) |
template<typename X > | |
void | assert_pred_fn (Location l, X x, bool p) |
template<typename X > | |
void | assert_list_eq_fn (Location loc, int c, X l, const typename X::Type check[]) |
template<typename X , typename Y > | |
void | assert_neq_fn (Location l, X x, Y y) |
void | beginAssertFailure () |
void | endAssertFailure () |
Variables | |
int | assertFailure = 0 |
using wibble::is_enum_class = typedef std::integral_constant< bool, std::is_enum< E >::value && !std::is_convertible< E, int >::value > |
typedef bool wibble::SortabilityTag |
void wibble::assert_die_fn | ( | Location | l | ) |
void wibble::assert_eq_fn | ( | Location | l, |
X | x, | ||
Y | y | ||
) |
void wibble::assert_fn | ( | Location | l, |
X | x | ||
) |
void wibble::assert_leq_fn | ( | Location | l, |
X | x, | ||
Y | y | ||
) |
void wibble::assert_list_eq_fn | ( | Location | loc, |
int | c, | ||
X | l, | ||
const typename X::Type | check[] | ||
) |
References wibble::str::fmt().
void wibble::assert_neq_fn | ( | Location | l, |
X | x, | ||
Y | y | ||
) |
void wibble::assert_pred_fn | ( | Location | l, |
X | x, | ||
bool | p | ||
) |
|
inline |
References assertFailure.
Referenced by wibble::ExpectFailure::ExpectFailure().
Range< T > wibble::castedRange | ( | C | r | ) |
Consumer< T > wibble::consumer | ( | const ConsumerInterface< T > & | t | ) |
Consumer< typename Out::container_type::value_type > wibble::consumer | ( | Out | out | ) |
References consumerMorph().
Referenced by consumer().
IsType< Consumer< typename T::value_type >, typename T::iterator >::T wibble::consumer | ( | T & | c | ) |
References consumer().
Consumer< typename R::ConsumedType > wibble::consumerMorph | ( | R | r | ) |
Referenced by consumer().
X::template Convert<T>::type& wibble::downcast | ( | const X & | a | ) |
T& wibble::downcast | ( | X * | v | ) |
|
inline |
References assert, and assertFailure.
Referenced by wibble::ExpectFailure::~ExpectFailure().
FilteredRange< R, Pred > wibble::filteredRange | ( | R | r, |
Pred | p | ||
) |
GeneratedRange< T, A, E > wibble::generatedRange | ( | T | t, |
A | a, | ||
E | e | ||
) |
IntersectionRange< typename R::ElementType > wibble::intersectionRange | ( | R | r1, |
R | r2 | ||
) |
IteratorTraits< T, I >::Unsorted wibble::isSortedT | ( | I | , |
I | |||
) |
IteratorTraits< T, I >::Sorted wibble::isSortedT | ( | I | , |
I | |||
) |
Iterator< typename I::value_type > wibble::iterator | ( | I | i | ) |
Referenced by wibble::commandline::Engine::add(), wibble::net::http::Params::add(), wibble::commandline::Engine::addWithoutAna(), wibble::Empty< T >::begin(), wibble::Singleton< T >::begin(), TestCommandlineEngine::clusteredShortOpts(), TestCommandlineEngine::commandsWithoutCommand(), TestCommandlineEngine::commandsWithOverlappingArgs(), TestCommandlineEngine::commandWithArg(), wibble::Lexer< Token, Stream >::consume(), TestCommandlineEngine::creationShortcuts(), wibble::Empty< T >::end(), wibble::Singleton< T >::end(), TestCommandlineCore::eraseAndAdvance(), wibble::commandline::ArgList::eraseAndAdvance(), wibble::ParseContext< Token, Stream >::errors(), wibble::net::http::Params::field(), wibble::net::http::Params::file_field(), TestCommandlineEngine::longOptsWithArgs(), TestCommandlineEngine::longOptsWithDashes(), wibble::Lexer< Token, Stream >::match(), wibble::sys::Pipe::nextLine(), TestCommandlineEngine::noSwitchesAfterFirstArg(), wibble::net::http::Params::obtain_field(), wibble::net::http::Params::obtain_file_field(), wibble::operators::operator&=(), wibble::operators::operator-=(), TestCommandlineEngine::optsAndArgs(), TestCommandlineEngine::optsOnly(), wibble::commandline::Engine::parse(), wibble::commandline::Engine::parseFirstIfKnown(), wibble::commandline::Engine::parseKnownSwitches(), wibble::net::http::FileParam::FileInfo::read(), wibble::net::mime::Reader::read_headers(), tut::test_runner::register_group(), wibble::log::Tee::send(), wibble::Lexer< Token, Stream >::window(), and wibble::net::http::Params::~Params().
|
constexprnoexcept |
|
inline |
References wibble::AssertFailed::str.
|
inline |
|
constexprnoexcept |
Range< typename C::iterator::value_type > wibble::range | ( | C & | c | ) |
References range().
Range< typename In::value_type > wibble::range | ( | In | b, |
In | e | ||
) |
Referenced by range().
Singleton<T> wibble::singleton | ( | const T & | value | ) |
TransformedRange< Trans > wibble::transformedRange | ( | Range< typename Trans::argument_type > | r, |
Trans | t | ||
) |
UniqueRange< typename R::ElementType > wibble::uniqueRange | ( | R | r1 | ) |
T::WrappedType& wibble::unwrap | ( | const T & | x | ) |
T& wibble::unwrap | ( | T & | x | ) |
Range< T > wibble::upcastRange | ( | C | r | ) |
int wibble::assertFailure = 0 |