nf_hist::tracked_element

Extended to provide mutable/returnable tracked sub‐elements from your source data

Synopsis

Declared in <nf/hist.h>

template<
    typename T,
    typename Path_to_elem,
    typename Editor_type = Path_to_elem::editor_type,
    typename Read_edit_pair = decltype(std::declval<typename Path_to_elem::editor_type>().edit_from_path(Path_to_elem{}))>
class tracked_element
    : public Read_edit_pair

Base Classes

Name

Description

Read_edit_pair

Member Functions

Name

Description

tracked_element [constructor]

Move constructor

tracked_element [constructor]

tracked_element [constructor]

operator()

operator‐>

Data Members

Name

action

view

Template Parameters

Name

Description

T

the type of the sub‐element from the source data

Path_to_elem

a path to the sub‐element from the source data

Editor_type

(leave as default, evaluates to Path_to_elem::editor_type)

Read_edit_pair

(leave as default, evaluates to struct { const T & read; an_editor & edit; })

Created with MrDocs