Base class of all option types. More...
#include "IOption.hpp"
Public Member Functions | |
virtual Names | enumerator () const =0 |
The option name as enumerator. | |
virtual String | name () const =0 |
The option name as string. | |
virtual String | path () const =0 |
The option name as string, preceded by the names of its parents, if any, interspersed with '.'. | |
virtual String | shortDescription () const =0 |
One-liner that describes this option. | |
virtual String | longDescription () const =0 |
Longer text that describes this option in more detail. | |
virtual UsageLevel | minUsageLevel () const =0 |
For a leaf, this is its own usage level. Otherwise, this is the minimum usage level of all descendants: basic < mid < pro. | |
virtual Nodes | node () const =0 |
The node type of this option. | |
Base class of all option types.