|
Open Model Railroad Network (OpenMRN)
|
Used as an argument to the constructor of the OptionalArg implementation to represent that a specific argument has to be overridden with a given value. More...
#include <OptionalArgs.hxx>
Public Types | |
| typedef Fetcher< DATA_TYPE, N > | FetcherType |
| Type link to the respective fetcher. | |
| typedef DATA_TYPE | data_type |
| Type of data held internally. | |
Public Member Functions | |
| constexpr | Specifier (const DATA_TYPE d) |
| Constructor. | |
Static Public Member Functions | |
| static constexpr DATA_TYPE | default_value () |
| Default value when the customer does not specify it. | |
Public Attributes | |
| DATA_TYPE | d_ |
| Shuttled argument value. | |
Used as an argument to the constructor of the OptionalArg implementation to represent that a specific argument has to be overridden with a given value.
Definition at line 51 of file OptionalArgs.hxx.
| typedef DATA_TYPE Specifier< DATA_TYPE, N, defval >::data_type |
Type of data held internally.
Definition at line 64 of file OptionalArgs.hxx.
| typedef Fetcher<DATA_TYPE, N> Specifier< DATA_TYPE, N, defval >::FetcherType |
Type link to the respective fetcher.
Definition at line 62 of file OptionalArgs.hxx.
|
inlineconstexpr |
Constructor.
Specifies a particular value.
| d | is the value the client tells us. |
Definition at line 56 of file OptionalArgs.hxx.
|
inlinestaticconstexpr |
Default value when the customer does not specify it.
Definition at line 66 of file OptionalArgs.hxx.
| DATA_TYPE Specifier< DATA_TYPE, N, defval >::d_ |
Shuttled argument value.
Definition at line 71 of file OptionalArgs.hxx.