Implementation class for printing options. More...
#include <program_options.h>
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_ |
Implementation class for printing options.
Definition at line 397 of file program_options.h.
ProgramOptions::OptionOutputImpl< Writer, Formatter >::OptionOutputImpl | ( | const Writer & | w = Writer() , |
const Formatter & | form = Formatter() |
||
) | [inline] |
Definition at line 399 of file program_options.h.
bool ProgramOptions::OptionOutputImpl< Writer, Formatter >::printContext | ( | const OptionContext & | ctx | ) | [inline, virtual] |
Implements ProgramOptions::OptionOutput.
Definition at line 402 of file program_options.h.
bool ProgramOptions::OptionOutputImpl< Writer, Formatter >::printGroup | ( | const OptionGroup & | group | ) | [inline, virtual] |
Implements ProgramOptions::OptionOutput.
Definition at line 406 of file program_options.h.
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.
std::vector<char> ProgramOptions::OptionOutputImpl< Writer, Formatter >::buffer_ [private] |
Definition at line 416 of file program_options.h.
Formatter ProgramOptions::OptionOutputImpl< Writer, Formatter >::formatter_ [private] |
Definition at line 418 of file program_options.h.
Writer ProgramOptions::OptionOutputImpl< Writer, Formatter >::writer_ [private] |
Definition at line 417 of file program_options.h.