lppl
v2.0.0
|
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. | |
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. |