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

Allocation data we hold about a Data Element in its userinfo structure. More...

#include <CDIUtils.hxx>

Public Attributes

int offset_from_parent = 0
 Offset of the address of this element from the address of the parent group element.
 
int size = 0
 Total number of bytes that this element occupies.
 

Detailed Description

Allocation data we hold about a Data Element in its userinfo structure.

Definition at line 230 of file CDIUtils.hxx.

Member Data Documentation

◆ offset_from_parent

int openlcb::CDIUtils::NodeInfo::offset_from_parent = 0

Offset of the address of this element from the address of the parent group element.

This is the sum of size values of the preceding elements within the given group. Inside a repeated group these offsets are counted from the current repetition start offset.

Definition at line 236 of file CDIUtils.hxx.

◆ size

int openlcb::CDIUtils::NodeInfo::size = 0

Total number of bytes that this element occupies.

This includes all repetitions for a repeated group.

Definition at line 239 of file CDIUtils.hxx.


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