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

Helper class for rendering the "<identification>" tag. More...

#include <ConfigRenderer.hxx>

Public Types

typedef IdentificationConfigOptions OptionsType
 

Public Member Functions

template<typename... Args>
void render_cdi (string *s, Args... args) const
 

Static Public Member Functions

static void render_tag (const char *tag, const char *value, string *s)
 
static const char * alt (const char *opt, const char *def)
 

Detailed Description

Helper class for rendering the "<identification>" tag.

Definition at line 556 of file ConfigRenderer.hxx.

Member Typedef Documentation

◆ OptionsType

Constructor & Destructor Documentation

◆ IdentificationRenderer()

constexpr openlcb::IdentificationRenderer::IdentificationRenderer ( )
inlineconstexpr

Definition at line 561 of file ConfigRenderer.hxx.

Member Function Documentation

◆ alt()

static const char * openlcb::IdentificationRenderer::alt ( const char *  opt,
const char *  def 
)
inlinestatic

Definition at line 570 of file ConfigRenderer.hxx.

◆ render_cdi()

template<typename... Args>
void openlcb::IdentificationRenderer::render_cdi ( string *  s,
Args...  args 
) const
inline

Definition at line 577 of file ConfigRenderer.hxx.

◆ render_tag()

static void openlcb::IdentificationRenderer::render_tag ( const char *  tag,
const char *  value,
string *  s 
)
inlinestatic

Definition at line 565 of file ConfigRenderer.hxx.


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