|
Open Model Railroad Network (OpenMRN)
|
Helper class for rendering a numeric data element into the cdi.xml. More...
#include <ConfigRenderer.hxx>
Public Types | |
| enum | { SKIP_SIZE = 0xffffffff } |
| typedef NumericConfigOptions | OptionsType |
Public Member Functions | |
| constexpr | NumericConfigRenderer (const char *tag, unsigned size) |
| template<typename... Args> | |
| void | render_cdi (string *s, Args... args) const |
Private Attributes | |
| const char * | tag_ |
| XML tag for this atom. | |
| unsigned | size_ |
| The size attribute of the configuration atom. | |
Helper class for rendering a numeric data element into the cdi.xml.
Definition at line 228 of file ConfigRenderer.hxx.
Definition at line 236 of file ConfigRenderer.hxx.
| anonymous enum |
Definition at line 231 of file ConfigRenderer.hxx.
|
inlineconstexpr |
Definition at line 238 of file ConfigRenderer.hxx.
|
inline |
Definition at line 244 of file ConfigRenderer.hxx.
|
private |
The size attribute of the configuration atom.
Definition at line 265 of file ConfigRenderer.hxx.
|
private |
XML tag for this atom.
Definition at line 263 of file ConfigRenderer.hxx.