RetroLinker
Linker for several 8-bit, 16-bit and 32-bit formats
|
A typeless option description, used as a base class for documenting typed options, as well as options that do not have a value (memory model specifications) More...
#include <options.h>
Public Member Functions | |
OptionDescription (std::string name, std::string description) | |
virtual std::string | type_name () |
Returns a textual representation of the type, to be displayed to the user. | |
Public Attributes | |
std::string | name |
The name of a command line option, as provided on the command line. | |
std::string | description |
Description printed when -h is issued. | |
A typeless option description, used as a base class for documenting typed options, as well as options that do not have a value (memory model specifications)
|
inlinevirtual |
Returns a textual representation of the type, to be displayed to the user.
This function only returns a meaningful value if the option has a type.
Reimplemented in Linker::Option< bool >, Linker::Option< std::vector< T > >, and Linker::Option< std::optional< T > >.