Public Types | Public Member Functions | Public Attributes | Private Attributes
ProgramOptions::ParsedValues Class Reference

#include <program_options.h>

List of all members.

Public Types

typedef Values::const_iterator iterator
typedef std::pair
< SharedOptPtr, std::string > 
OptionAndValue
typedef std::vector
< OptionAndValue
Values

Public Member Functions

void add (const std::string &opt, const std::string &value)
 Adds a value for option opt.
void add (const SharedOptPtr &opt, const std::string &value)
iterator begin () const
void clear ()
iterator end () const
 ParsedValues (const OptionContext &a_ctx)

Public Attributes

const OptionContextctx

Private Attributes

Values parsed_

Detailed Description

Container of option-value-pairs representing values found by a parser.

Definition at line 316 of file program_options.h.


Member Typedef Documentation

typedef Values::const_iterator ProgramOptions::ParsedValues::iterator

Definition at line 320 of file program_options.h.

Definition at line 318 of file program_options.h.

Definition at line 319 of file program_options.h.


Constructor & Destructor Documentation

ProgramOptions::ParsedValues::ParsedValues ( const OptionContext a_ctx) [inline, explicit]
Parameters:
a_ctxThe OptionContext for which this object stores raw-values.

Definition at line 325 of file program_options.h.


Member Function Documentation

void ProgramOptions::ParsedValues::add ( const std::string &  opt,
const std::string &  value 
)

Adds a value for option opt.

Definition at line 555 of file program_options.cpp.

void ProgramOptions::ParsedValues::add ( const SharedOptPtr opt,
const std::string &  value 
) [inline]

Definition at line 332 of file program_options.h.

Definition at line 336 of file program_options.h.

Definition at line 339 of file program_options.h.

Definition at line 337 of file program_options.h.


Member Data Documentation

Definition at line 328 of file program_options.h.

Definition at line 341 of file program_options.h.


The documentation for this class was generated from the following files:


clasp
Author(s): Benjamin Kaufmann
autogenerated on Thu Aug 27 2015 12:41:41