Adobe Source Libraries 1.49.0
A collection of C++ libraries.
Loading...
Searching...
No Matches
arg_stream.hpp File Reference

Go to the source code of this file.

Classes

struct  no_more_args
struct  traits< T >
 defines any traits that help with the implementation of arg_stream::call() and/or helper objects like arg_stream::chain. More...
struct  signature< F >
 returns the function signature of the callable object type F More...
struct  signature< std::function< F > >
struct  result_type< F >
 result_type<F>::type is the return type of the function f. More...
struct  chain< ArgStreamFirst, ArgStreamSecond >
 chain 2 arg_streams together by calling the first stream until depleted, then calling the second. More...
struct  traits< chain< S1, S2 > >
struct  nonarg
 the empty-set arg stream has no arguments. Not sure what this might be useful for. More...
struct  traits< nonarg >
struct  single< T >
 holds a single value, and returns it as an arg n (default 1) times More...
struct  traits< single< T > >
struct  with_transform< ArgStream, Transformer >
struct  with_transform< ArgStream, Transformer >::has_inverse_lookup< Class >
struct  with_transform< ArgStream, Transformer >::has_entry_if_has_inverse_lookup< Class, R, bool >
struct  with_transform< ArgStream, Transformer >::has_entry_if_has_inverse_lookup< Class, R, true >
struct  with_transform< ArgStream, Transformer >::has_transform< Class, R >

Namespaces

namespace  adobe
namespace  adobe::arg_stream

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>
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>
get_next_arg (ArgStream &as)
template<typename R, typename ArgStream>
get_next_arg (ArgStream *as)
template<typename R, typename ArgStream>
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)