|
powerd++
0.4.4
|
Not invented here namespace, for code that substitutes already commonly available functionality. More...
Classes | |
| struct | enum_has_members |
| Tests whether the given enum provides all the required definitions. More... | |
| class | Options |
| An instance of this class offers operators to retrieve command line options and arguments. More... | |
| struct | Parameter |
| Container for an option definition. More... | |
Functions | |
| template<class OptionT > | |
| size_t | argCount (Parameter< OptionT > const &def) |
| Retrieves the count of arguments in an option definition. More... | |
Not invented here namespace, for code that substitutes already commonly available functionality.
| struct nih::Parameter |
Container for an option definition.
Aliases can be defined by creating definitions with the same option member.
The lparam, args and usage members have to be 0 terminated, using string literals is safe.
| OptionT | An enum or enum class representing the available options |
| size_t nih::argCount | ( | Parameter< OptionT > const & | def | ) |
Retrieves the count of arguments in an option definition.
| OptionT | An enum or enum class representing the available options |
| def | The parameter definition |
1.8.17