Open Model Railroad Network (OpenMRN)
Loading...
Searching...
No Matches
openlcb::NumericConfigDefs Struct Reference

Declarations for the options for numeric CDI entries. More...

#include <ConfigRenderer.hxx>

Inheritance diagram for openlcb::NumericConfigDefs:
openlcb::AtomConfigDefs

Public Types

using Base = OptionalArg< NumericConfigDefs, Name, Description, MapValues, Hints, Min, Max, Default, SkipInit, Offset >
 
- Public Types inherited from openlcb::AtomConfigDefs
using Base = OptionalArg< AtomConfigDefs, Name, Description, MapValues, Hints, SkipInit, Offset >
 

Public Member Functions

 DECLARE_OPTIONALARG (Min, minvalue, int, 6, INT_MAX)
 
 DECLARE_OPTIONALARG (Max, maxvalue, int, 7, INT_MAX)
 
 DECLARE_OPTIONALARG (Default, defaultvalue, int, 8, INT_MAX)
 
- Public Member Functions inherited from openlcb::AtomConfigDefs
 DECLARE_OPTIONALARG (Name, name, const char *, 0, nullptr)
 
 DECLARE_OPTIONALARG (Description, description, const char *, 1, nullptr)
 
 DECLARE_OPTIONALARG (MapValues, mapvalues, const char *, 2, nullptr)
 
 DECLARE_OPTIONALARG (Hints, hints, const char *, 3, nullptr)
 
 DECLARE_OPTIONALARG (SkipInit, skip_init, int, 15, 0)
 
 DECLARE_OPTIONALARG (Offset, offset, int, 10, 0)
 

Detailed Description

Declarations for the options for numeric CDI entries.

Definition at line 150 of file ConfigRenderer.hxx.

Member Typedef Documentation

◆ Base

using openlcb::NumericConfigDefs::Base = OptionalArg<NumericConfigDefs, Name, Description, MapValues, Hints, Min, Max, Default, SkipInit, Offset>

Definition at line 157 of file ConfigRenderer.hxx.


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