Adobe Systems Incorporated

dictionary_arg_stream< Dictionary, InputRange, NoThrow > Struct Template Reference

dictionary_arg_stream implements the arg_stream interface More...

#include <dictionary_arg_stream.hpp>

List of all members.

Public Types

< Dictionary, InputRange > 
typedef Dictionary dictionary_type
typedef InputRange range_type

Public Member Functions

 dictionary_arg_stream (Dictionary &d, InputRange const &key_range)
template<typename R >
get_next_arg ()

Detailed Description

template<typename Dictionary, typename InputRange, typename NoThrow = void>
struct adobe::dictionary_arg_stream< Dictionary, InputRange, NoThrow >

This works with any dictionary type that implements get_dictionary_entry(dict, key)
Template Parameters:
  • Dictionary - A dictionary which implements adobe::get_entry
  • Inputrange - models stldoc_InputRange
  • NoThrow - if std::nothrow_t, then the arg_stream will NOT throw if the key is not in the dictionary (it will instead return a default initialized argument)
    • if it is NOT std::nothrow_t, it will likely throw if the key is not in the dictionary

Definition at line 115 of file dictionary_arg_stream.hpp.

Member Typedef Documentation

typedef dictionary_arg_stream_base<Dictionary, InputRange> _inherited

Definition at line 119 of file dictionary_arg_stream.hpp.

typedef Dictionary dictionary_type

Definition at line 69 of file dictionary_arg_stream.hpp.

typedef InputRange range_type

Definition at line 70 of file dictionary_arg_stream.hpp.

Constructor & Destructor Documentation

dictionary_arg_stream ( Dictionary &  d,
InputRange const &  key_range 

d - dictionary from with to retrieve arguments key_range define a range of keys each key (in order) is used to retrieve an argument of the arg_stream

Definition at line 131 of file dictionary_arg_stream.hpp.

Member Function Documentation

R get_next_arg (  )

Definition at line 137 of file dictionary_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