Adobe Source Libraries 1.49.0
A collection of C++ libraries.
|
holds a single value, and returns it as an arg n (default 1) times More...
#include <arg_stream.hpp>
Public Types | |
typedef T | value_type |
Public Member Functions | |
single (typename boost::add_reference< T const >::type t, unsigned int count=1) | |
bool | eof () |
template<typename R> | |
R | convert_or_throw (value_type &value, typename boost::enable_if< boost::is_convertible< value_type, R > >::type *dummy=0) |
template<typename R> | |
R | convert_or_throw (value_type &value, typename boost::disable_if< boost::is_convertible< value_type, R > >::type *dummy=0) |
template<typename R> | |
R | get_next_arg () |
Public Attributes | |
T | value |
unsigned int | repeat |
Definition at line 377 of file arg_stream.hpp.
typedef T value_type |
Definition at line 378 of file arg_stream.hpp.
single | ( | typename boost::add_reference< T const >::type | t, |
unsigned int | count = 1 ) |
Definition at line 383 of file arg_stream.hpp.
bool eof | ( | ) |
Definition at line 386 of file arg_stream.hpp.
R convert_or_throw | ( | value_type & | value, |
typename boost::enable_if< boost::is_convertible< value_type, R > >::type * | dummy = 0 ) |
Definition at line 389 of file arg_stream.hpp.
R convert_or_throw | ( | value_type & | value, |
typename boost::disable_if< boost::is_convertible< value_type, R > >::type * | dummy = 0 ) |
Definition at line 395 of file arg_stream.hpp.
R get_next_arg | ( | ) |
Definition at line 403 of file arg_stream.hpp.
T value |
Definition at line 380 of file arg_stream.hpp.
unsigned int repeat |
Definition at line 381 of file arg_stream.hpp.