Public Member Functions | Private Attributes
ProgramOptions::OptionOutputImpl< Writer, Formatter > Class Template Reference

Implementation class for printing options. More...

#include <program_options.h>

Inheritance diagram for ProgramOptions::OptionOutputImpl< Writer, Formatter >:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 OptionOutputImpl (const Writer &w=Writer(), const Formatter &form=Formatter())
bool printContext (const OptionContext &ctx)
bool printGroup (const OptionGroup &group)
bool printOption (const Option &opt, std::size_t maxW)

Private Attributes

std::vector< char > buffer_
Formatter formatter_
Writer writer_

Detailed Description

template<class Writer, class Formatter = DefaultFormat>
class ProgramOptions::OptionOutputImpl< Writer, Formatter >

Implementation class for printing options.

Definition at line 397 of file program_options.h.


Constructor & Destructor Documentation

template<class Writer , class Formatter = DefaultFormat>
ProgramOptions::OptionOutputImpl< Writer, Formatter >::OptionOutputImpl ( const Writer &  w = Writer(),
const Formatter &  form = Formatter() 
) [inline]

Definition at line 399 of file program_options.h.


Member Function Documentation

template<class Writer , class Formatter = DefaultFormat>
bool ProgramOptions::OptionOutputImpl< Writer, Formatter >::printContext ( const OptionContext ctx) [inline, virtual]

Implements ProgramOptions::OptionOutput.

Definition at line 402 of file program_options.h.

template<class Writer , class Formatter = DefaultFormat>
bool ProgramOptions::OptionOutputImpl< Writer, Formatter >::printGroup ( const OptionGroup group) [inline, virtual]

Implements ProgramOptions::OptionOutput.

Definition at line 406 of file program_options.h.

template<class Writer , class Formatter = DefaultFormat>
bool ProgramOptions::OptionOutputImpl< Writer, Formatter >::printOption ( const Option opt,
std::size_t  maxW 
) [inline, virtual]

Implements ProgramOptions::OptionOutput.

Definition at line 410 of file program_options.h.


Member Data Documentation

template<class Writer , class Formatter = DefaultFormat>
std::vector<char> ProgramOptions::OptionOutputImpl< Writer, Formatter >::buffer_ [private]

Definition at line 416 of file program_options.h.

template<class Writer , class Formatter = DefaultFormat>
Formatter ProgramOptions::OptionOutputImpl< Writer, Formatter >::formatter_ [private]

Definition at line 418 of file program_options.h.

template<class Writer , class Formatter = DefaultFormat>
Writer ProgramOptions::OptionOutputImpl< Writer, Formatter >::writer_ [private]

Definition at line 417 of file program_options.h.


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


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