|
fmcs
v0.2.1
|
A fundamental data structure that holds a mapping from addresses to nodes, an insertion order, and a record-level interpretation. More...
#include "record.hpp"
Public Member Functions | |
| void | clear () |
| Clears the underlying map and insertion order. | |
| template<typename... Others> | |
| void | copy_from_other (record_t< DTypes< Others... >> &r) |
| Copies data from all nodes from the passed record into this record. More... | |
| template<typename... Others> | |
| void | copy_unobserved_from_other (record_t< DTypes< Others... >> &r) |
| Copies data from each unobserved sample node from the passed record into this record. More... | |
| template<typename... Others> | |
| void | insert (std::string &address, var_node_t< Others... > &node) |
| Insert the node into the record at the specified address. | |
| std::optional< var_node_t< Ts... > > | operator[] (std::string q) |
Public Attributes | |
| std::vector< std::string > | addresses |
| std::forward_list< record_interpretation > | interp |
| node_map_t< Ts... > | map |
A fundamental data structure that holds a mapping from addresses to nodes, an insertion order, and a record-level interpretation.
| Ts | types of all nodes contained in the record. |