DataManagerSnapshot
DataManagerSnapshot
Lightweight summary of a DataManager’s state. More…
#include <DataManagerSnapshot.hpp>
Public Attributes
| Name | |
|---|---|
| std::map< std::string, std::string > | key_type Map of data key → type name string (e.g. “line”, “points”, “analog”). |
| std::map< std::string, std::size_t > | key_entity_count Map of data key → number of entities/elements. |
| std::map< std::string, std::string > | key_content_hash Map of data key → deterministic content hash (hex string). |
Friends
| Name | |
|---|---|
| bool | operator==(DataManagerSnapshot const & , DataManagerSnapshot const & ) |
Detailed Description
struct DataManagerSnapshot;Lightweight summary of a DataManager’s state.
Captures the key→type mapping, entity/element counts, and a deterministic content hash per key. Designed for golden trace tests: replay a command sequence, snapshot the result, and compare against an expected snapshot.
Public Attributes Documentation
variable key_type
std::map< std::string, std::string > key_type;Map of data key → type name string (e.g. “line”, “points”, “analog”).
variable key_entity_count
std::map< std::string, std::size_t > key_entity_count;Map of data key → number of entities/elements.
variable key_content_hash
std::map< std::string, std::string > key_content_hash;Map of data key → deterministic content hash (hex string).
Friends
friend operator==
friend bool operator==(
DataManagerSnapshot const & ,
DataManagerSnapshot const &
);Updated on 2026-11-13 at 20:25:39 +0000