stlab.adobe.com Adobe Systems Incorporated

adobe::arg_stream Namespace Reference

Namespaces

namespace  detail

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< boost::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 F , typename ArgStream >
result_type< F >::type call (F f, ArgStream &astream)
template<class T , typename F , typename ArgStream >
result_type< F >::type call (T *that, F f, ArgStream &astream)
template<typename ArgStream >
bool eof (ArgStream const &as)
template<typename R , typename ArgStream >
get_next_arg (ArgStream const &as)
template<typename R , typename ArgStream >
get_next_arg (ArgStream *as)
template<typename R , typename ArgStream >
get_next_arg (ArgStream const *as)
template<typename R , typename ArgStream >
get_next_arg (ArgStream &as)
template<typename ArgStreamFirst , typename ArgStreamSecond >
chain< ArgStreamFirst,
ArgStreamSecond > 
make_chain (ArgStreamFirst &first_stream, ArgStreamSecond &second_stream)
template<typename ArgStream , typename Transformer >
with_transform< ArgStream,
Transformer > 
make_transforming (ArgStream &as, Transformer &transformer)

Function Documentation

R adobe::arg_stream::get_next_arg ( ArgStream *  as )

Definition at line 197 of file arg_stream.hpp.

R adobe::arg_stream::get_next_arg ( ArgStream const *  as )

Definition at line 202 of file arg_stream.hpp.

R adobe::arg_stream::get_next_arg ( ArgStream &  as )

Definition at line 192 of file arg_stream.hpp.

chain<ArgStreamFirst, ArgStreamSecond> adobe::arg_stream::make_chain ( ArgStreamFirst &  first_stream,
ArgStreamSecond &  second_stream 
)

given 2 arg_streams, returns an arg_stream of the 2 streams chained together

Definition at line 393 of file arg_stream.hpp.

with_transform<ArgStream, Transformer> adobe::arg_stream::make_transforming ( ArgStream &  as,
Transformer &  transformer 
)

Definition at line 542 of file arg_stream.hpp.

Copyright © 2006-2007 Adobe Systems Incorporated.

Use of this website signifies your agreement to the Terms of Use and Online Privacy Policy.

Search powered by Google