chain< ArgStreamFirst, ArgStreamSecond > Struct Template Referencechain 2 arg_streams together by calling the first stream until depleted, then calling the second.
More...
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Public Types | |
| typedef ArgStreamFirst | first_type |
| typedef ArgStreamSecond | second_type |
Public Member Functions | |
| chain (ArgStreamFirst &first_stream, ArgStreamSecond &second_stream) | |
| bool | eof () const |
| template<class ArgStream > | |
| bool | eof (ArgStream *as) |
| template<typename T > | |
| T | get_next_arg () |
Public Attributes | |
| ArgStreamFirst * | first |
| ArgStreamSecond * | second |
Detailed Description
template<typename ArgStreamFirst, typename ArgStreamSecond>
struct adobe::arg_stream::chain< ArgStreamFirst, ArgStreamSecond >
- note that with repeated application you can chain any nunber of arg_streams together.
- (chain<AS1, chain<AS2, chain<AS3, AS4> > >, etc)
Definition at line 339 of file arg_stream.hpp.
Member Typedef Documentation
| typedef ArgStreamFirst first_type |
Definition at line 347 of file arg_stream.hpp.
| typedef ArgStreamSecond second_type |
Definition at line 348 of file arg_stream.hpp.
Constructor & Destructor Documentation
| chain | ( | ArgStreamFirst & | first_stream, | |
| ArgStreamSecond & | second_stream | |||
| ) |
Definition at line 352 of file arg_stream.hpp.
Member Function Documentation
| bool eof | ( | ) | const |
Definition at line 377 of file arg_stream.hpp.
| bool eof | ( | ArgStream * | as | ) |
Definition at line 342 of file arg_stream.hpp.
| T get_next_arg | ( | ) |
Definition at line 360 of file arg_stream.hpp.
Member Data Documentation
| ArgStreamFirst* first |
Definition at line 349 of file arg_stream.hpp.
| ArgStreamSecond* second |
Definition at line 350 of file arg_stream.hpp.

