Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

Click here to view the latest version of this page.
PrevUpHomeNext

Class template basic_parsed_options

boost::program_options::basic_parsed_options

Synopsis

// In header: <boost/program_options/parsers.hpp>

template<typename charT> 
class basic_parsed_options {
public:
  // construct/copy/destruct
  explicit basic_parsed_options(const options_description *);

  // public data members
  std::vector< basic_option< charT > > options;
  const options_description * description;
};

Description

Results of parsing an input source. The primary use of this class is passing information from parsers component to value storage component. This class does not makes much sense itself.

basic_parsed_options public construct/copy/destruct

  1. explicit basic_parsed_options(const options_description * xdescription);

basic_parsed_options public public data members

  1. std::vector< basic_option< charT > > options;

    Options found in the source.

  2. const options_description * description;

    Options description that was used for parsing. Parsers should return pointer to the instance of option_description passed to them, and issues of lifetime are up to the caller. Can be NULL.


PrevUpHomeNext