Template Struct ReferenceNodeScope¶
Defined in File ReferenceNodeScope.hpp
Struct Documentation¶
-
template<NodeGenerator G = RandomIdGenerator>
struct ReferenceNodeScope¶ Public Functions
-
template<typename ...GenArgs>
inline ReferenceNodeScope(GenArgs&&... gen_args) noexcept(std::is_nothrow_constructible_v<G, decltype(std::forward<GenArgs>(gen_args))...>)¶
-
inline Node generate_node(storage::DynNodeStoragePtr node_storage = storage::default_node_storage)¶
-
inline Node get_or_generate_node(std::string_view label, storage::DynNodeStoragePtr node_storage = storage::default_node_storage)¶
-
inline void clear() noexcept¶
Clear the mappings from this scope
Note
does not delete nodes from node storage
-
template<typename ...GenArgs>