Open Model Railroad Network (OpenMRN)
Loading...
Searching...
No Matches
openlcb::NumericConfigOptions Class Reference

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

#include <ConfigRenderer.hxx>

Inheritance diagram for openlcb::NumericConfigOptions:
OptionalArg< Decl, Args >

Public Member Functions

 INHERIT_CONSTEXPR_CONSTRUCTOR (NumericConfigOptions, NumericConfigDefs::Base)
 
 DEFINE_OPTIONALARG (Name, name, const char *)
 Represent the value enclosed in the "<name>" tag of the data element.
 
 DEFINE_OPTIONALARG (Description, description, const char *)
 Represent the value enclosed in the tag of the data element.
 
 DEFINE_OPTIONALARG (MapValues, mapvalues, const char *)
 Represent the value enclosed in the <map> tag of the data element.
 
 DEFINE_OPTIONALARG (Hints, hints, const char *)
 Represent the value enclosed in the <hints> tag of the data element.
 
 DEFINE_OPTIONALARG (Min, minvalue, int)
 
 DEFINE_OPTIONALARG (Max, maxvalue, int)
 
 DEFINE_OPTIONALARG (Default, defaultvalue, int)
 
 DEFINE_OPTIONALARG (SkipInit, skip_init, int)
 
 DEFINE_OPTIONALARG (Offset, offset, int)
 
void render_cdi (std::string *r) const
 
int clip (int value)
 

Detailed Description

Definitions for the options for numeric CDI entries.

Definition at line 162 of file ConfigRenderer.hxx.

Member Function Documentation

◆ clip()

int openlcb::NumericConfigOptions::clip ( int  value)
inline

Definition at line 216 of file ConfigRenderer.hxx.

◆ render_cdi()

void openlcb::NumericConfigOptions::render_cdi ( std::string *  r) const
inline

Definition at line 183 of file ConfigRenderer.hxx.


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