chain 2 arg_streams together by calling the first stream until depleted, then calling the second.
More...
#include <arg_stream.hpp>
List of all members.
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
Constructor & Destructor Documentation
chain |
( |
ArgStreamFirst & |
first_stream, |
|
|
ArgStreamSecond & |
second_stream |
|
) |
| |
Member Function Documentation
bool eof |
( |
ArgStream * |
as ) |
|
Member Data Documentation