|
Open Model Railroad Network (OpenMRN)
|
Class representing a particular location in the configuration space. More...
#include <ConfigEntry.hxx>
Public Member Functions | |
| constexpr | ConfigReference (unsigned offset) |
| Initializes the config reference from a configuration space offset. | |
| constexpr | ConfigReference (const ConfigReference &ref) |
| Initializes the config reference from an existing config reference. | |
| constexpr unsigned | offset () const |
Protected Attributes | |
| unsigned | offset_ |
| zero-based offset from the beginning of the configuration file. | |
Class representing a particular location in the configuration space.
All typed configuration objects (atoms as well as groups) will be subclasses of this.
Definition at line 53 of file ConfigEntry.hxx.
|
inlineexplicitconstexpr |
Initializes the config reference from a configuration space offset.
| offset | is the integer offset (0-based) in the address space for configuration. |
Definition at line 60 of file ConfigEntry.hxx.
|
inlineexplicitconstexpr |
Initializes the config reference from an existing config reference.
| ref | is the existing (or saved) config reference. |
Definition at line 68 of file ConfigEntry.hxx.
|
inlineconstexpr |
Definition at line 73 of file ConfigEntry.hxx.
|
protected |
zero-based offset from the beginning of the configuration file.
Definition at line 80 of file ConfigEntry.hxx.