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

This is an old version of boost. Click here for the latest version's documentation home page.
PrevUpHomeNext

Class options_description_easy_init

boost::program_options::options_description_easy_init

Synopsis

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


class options_description_easy_init {
public:
  // construct/copy/destruct
  options_description_easy_init(options_description *);

  // public member functions
  options_description_easy_init & operator()(const char *, const char *) ;
  options_description_easy_init & 
  operator()(const char *, const value_semantic *) ;
  options_description_easy_init & 
  operator()(const char *, const value_semantic *, const char *) ;
};

Description

Class which provides convenient creation syntax to option_description.

options_description_easy_init public construct/copy/destruct

  1. options_description_easy_init(options_description * owner);

options_description_easy_init public member functions

  1. options_description_easy_init & 
    operator()(const char * name, const char * description) ;
  2. options_description_easy_init & 
    operator()(const char * name, const value_semantic * s) ;
  3. options_description_easy_init & 
    operator()(const char * name, const value_semantic * s, 
               const char * description) ;

PrevUpHomeNext