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

Helper class for rendering an empty group of a given size into the cdi.xml. More...

#include <ConfigRenderer.hxx>

Public Types

enum  { SKIP_SIZE = 0xffffffff }
 
typedef GroupConfigOptions OptionsType
 

Public Member Functions

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

Private Attributes

int size_
 The number of bytes this group has to skip.
 

Detailed Description

Helper class for rendering an empty group of a given size into the cdi.xml.

Definition at line 402 of file ConfigRenderer.hxx.

Member Typedef Documentation

◆ OptionsType

Member Enumeration Documentation

◆ anonymous enum

anonymous enum

Definition at line 405 of file ConfigRenderer.hxx.

Constructor & Destructor Documentation

◆ EmptyGroupConfigRenderer()

constexpr openlcb::EmptyGroupConfigRenderer::EmptyGroupConfigRenderer ( int  size)
inlineconstexpr

Definition at line 412 of file ConfigRenderer.hxx.

Member Function Documentation

◆ render_cdi()

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

Definition at line 417 of file ConfigRenderer.hxx.

Member Data Documentation

◆ size_

int openlcb::EmptyGroupConfigRenderer::size_
private

The number of bytes this group has to skip.

Definition at line 424 of file ConfigRenderer.hxx.


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