Adobe Systems Incorporated

chain< ArgStreamFirst, ArgStreamSecond > Struct Template Reference

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 >
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 ( ArgStream *  as )

Definition at line 342 of file arg_stream.hpp.

bool eof (  ) const

Definition at line 377 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.

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