Adobe Source Libraries 1.49.0
A collection of C++ libraries.
|
Classes | |
struct | chain |
chain 2 arg_streams together by calling the first stream until depleted, then calling the second. More... | |
struct | no_more_args |
struct | nonarg |
the empty-set arg stream has no arguments. Not sure what this might be useful for. More... | |
struct | result_type |
result_type<F>::type is the return type of the function f. More... | |
struct | signature |
returns the function signature of the callable object type F More... | |
struct | signature< std::function< F > > |
struct | single |
holds a single value, and returns it as an arg n (default 1) times More... | |
struct | traits |
defines any traits that help with the implementation of arg_stream::call() and/or helper objects like arg_stream::chain. More... | |
struct | traits< chain< S1, S2 > > |
struct | traits< nonarg > |
struct | traits< single< T > > |
struct | with_transform |
Functions | |
template<typename ArgStream> | |
bool | eof (ArgStream const &as) |
arg_stream::eof(argstream) returns true if there are no more args available. | |
template<typename R, typename ArgStream> | |
R | get_next_arg (ArgStream const &as) |
arg_stream::get_next_arg<T>(argstream) returns the next arg as a T | |
template<typename R, typename ArgStream> | |
R | get_next_arg (ArgStream &as) |
template<typename R, typename ArgStream> | |
R | get_next_arg (ArgStream *as) |
template<typename R, typename ArgStream> | |
R | get_next_arg (ArgStream const *as) |
template<typename F, typename ArgStream> | |
result_type< F >::type | call (F f, ArgStream &astream) |
Calls function/callable-object f with function arguments supplied by the arg_stream. | |
template<class T, typename F, typename ArgStream> | |
result_type< F >::type | call (T *that, F f, ArgStream &astream) |
specialization of arg_stream::call for handling member function calls. | |
template<typename ArgStreamFirst, typename ArgStreamSecond> | |
chain< ArgStreamFirst, ArgStreamSecond > | make_chain (ArgStreamFirst &first_stream, ArgStreamSecond &second_stream) |
given 2 arg_streams, returns an arg_stream of the 2 streams chained together | |
template<typename ArgStream, typename Transformer> | |
with_transform< ArgStream, Transformer > | make_transforming (ArgStream &as, Transformer &transformer) |
R get_next_arg | ( | ArgStream & | as | ) |
Definition at line 172 of file arg_stream.hpp.
R get_next_arg | ( | ArgStream * | as | ) |
Definition at line 176 of file arg_stream.hpp.
R get_next_arg | ( | ArgStream const * | as | ) |
Definition at line 180 of file arg_stream.hpp.
chain< ArgStreamFirst, ArgStreamSecond > make_chain | ( | ArgStreamFirst & | first_stream, |
ArgStreamSecond & | second_stream ) |
Definition at line 345 of file arg_stream.hpp.
with_transform< ArgStream, Transformer > make_transforming | ( | ArgStream & | as, |
Transformer & | transformer ) |
Definition at line 473 of file arg_stream.hpp.