- Test:
- maintain a sequence of data tuples in local storage, providing pre-configured type-safe data access.
- the initial block is just a tuple of data in local storage
- but further extension segments can be created elsewhere and attached to an existing chain
- a compile-time »overlay« of constructor- and accessor-functors is provided as guard rails to prevent out-of bounds access.
- See also
- lib::HeteroData
-
NodeBase_test::verify_TurnoutSystem()
Definition at line 52 of file hetero-data-test.cpp.
◆ verify_FrontBlock()
void verify_FrontBlock |
( |
| ) |
|
|
inlineprivate |
◆ verify_ChainBlock()
void verify_ChainBlock |
( |
| ) |
|
|
inlineprivate |
◆ verify_Accessors()
void verify_Accessors |
( |
| ) |
|
|
inlineprivate |
- Test:
- demonstrate elaborate storage layout with several chain frames
- follow-up frames shall be built using constructor types
- these can be defined prior to any data allocation
- individual data elements can be accessed type-safe through accessor functors
- Warning
- as demonstrated, this is a dangerous bare-bone memory layout without runtime checks!
Definition at line 185 of file hetero-data-test.cpp.
The documentation for this class was generated from the following file: