libpsynth 0.2.1
Public Member Functions
psynth::base::option_flag Class Reference

A boolan option that is set to true if the option exists. More...

#include <arg_parser.hpp>

Inheritance diagram for psynth::base::option_flag:
Inheritance graph
[legend]
Collaboration diagram for psynth::base::option_flag:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 option_flag (bool *f)
 Constructor.
bool parse ()
 Sets to true.

Detailed Description

A boolan option that is set to true if the option exists.


Constructor & Destructor Documentation

psynth::base::option_flag::option_flag ( bool *  f) [inline]

Constructor.

Parameters:
fWhere to notify if it was found.

Member Function Documentation

bool psynth::base::option_flag::parse ( ) [inline, virtual]

Sets to true.

Returns:
true.

Reimplemented from psynth::base::option.


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