timemory 3.3.0
Modular C++ Toolkit for Performance Analysis and Logging. Profiling API and Tools for C, C++, CUDA, Fortran, and Python. The C++ template API is essentially a framework to creating tools: it is designed to provide a unifying interface for recording various performance measurements alongside data logging and interfaces to other tools.
|
A node in the graph, combining links to other nodes as well as the actual data. More...
#include "timemory/storage/graph.hpp"
Public Member Functions | |
tgraph_node ()=default | |
~tgraph_node ()=default | |
tgraph_node (const T &) | |
tgraph_node (T &&) noexcept | |
tgraph_node (const tgraph_node &)=delete | |
tgraph_node & | operator= (const tgraph_node &)=delete |
tgraph_node (tgraph_node &&)=default | |
tgraph_node & | operator= (tgraph_node &&)=default |
template<typename Archive > | |
void | serialize (Archive &ar, const unsigned int) |
Public Attributes | |
tgraph_node< T > * | parent = nullptr |
tgraph_node< T > * | first_child = nullptr |
tgraph_node< T > * | last_child = nullptr |
tgraph_node< T > * | prev_sibling = nullptr |
tgraph_node< T > * | next_sibling = nullptr |
T | data = T{} |
A node in the graph, combining links to other nodes as well as the actual data.
|
default |
|
default |
|
explicit |
|
explicitnoexcept |
|
delete |
|
default |
|
delete |
|
default |
|
inline |
Definition at line 88 of file graph.hpp.
References tim::tgraph_node< T >::data.
T tim::tgraph_node< T >::data = T{} |
Definition at line 83 of file graph.hpp.
Referenced by tim::tgraph_node< T >::serialize().
tgraph_node<T>* tim::tgraph_node< T >::first_child = nullptr |
Definition at line 79 of file graph.hpp.
Referenced by tim::graph< T, AllocatorT >::child(), tim::graph< T, AllocatorT >::erase_children(), tim::graph< T, AllocatorT >::flatten(), tim::graph< T, AllocatorT >::max_depth(), tim::graph< T, AllocatorT >::move_in_as_nth_child(), tim::graph< T, AllocatorT >::move_ontop(), tim::graph< T, AllocatorT >::number_of_children(), and tim::graph< T, AllocatorT >::swap().
tgraph_node<T>* tim::tgraph_node< T >::last_child = nullptr |
Definition at line 80 of file graph.hpp.
Referenced by tim::graph< T, AllocatorT >::erase_children(), tim::graph< T, AllocatorT >::move_in_as_nth_child(), tim::graph< T, AllocatorT >::move_ontop(), tim::graph< T, AllocatorT >::sibling_iterator::range_last(), tim::graph< T, AllocatorT >::reparent(), and tim::graph< T, AllocatorT >::swap().
tgraph_node<T>* tim::tgraph_node< T >::next_sibling = nullptr |
Definition at line 82 of file graph.hpp.
Referenced by tim::graph< T, AllocatorT >::begin(), tim::graph< T, AllocatorT >::child(), tim::graph< T, AllocatorT >::clear(), tim::graph< T, AllocatorT >::erase(), tim::graph< T, AllocatorT >::erase_children(), tim::graph< T, AllocatorT >::flatten(), tim::graph< T, AllocatorT >::index(), tim::graph< T, AllocatorT >::max_depth(), tim::graph< T, AllocatorT >::move_after(), tim::graph< T, AllocatorT >::move_before(), tim::graph< T, AllocatorT >::move_in(), tim::graph< T, AllocatorT >::move_in_as_nth_child(), tim::graph< T, AllocatorT >::move_ontop(), tim::graph< T, AllocatorT >::move_out(), tim::graph< T, AllocatorT >::reparent(), tim::graph< T, AllocatorT >::replace(), tim::graph< T, AllocatorT >::set_head(), tim::graph< T, AllocatorT >::sibling(), and tim::graph< T, AllocatorT >::swap().
tgraph_node<T>* tim::tgraph_node< T >::parent = nullptr |
Definition at line 78 of file graph.hpp.
Referenced by tim::graph< T, AllocatorT >::erase(), tim::graph< T, AllocatorT >::flatten(), tim::graph< T, AllocatorT >::index(), tim::graph< T, AllocatorT >::is_head(), tim::graph< T, AllocatorT >::max_depth(), tim::graph< T, AllocatorT >::move_after(), tim::graph< T, AllocatorT >::move_before(), tim::graph< T, AllocatorT >::move_in(), tim::graph< T, AllocatorT >::move_in_as_nth_child(), tim::graph< T, AllocatorT >::move_ontop(), tim::graph< T, AllocatorT >::move_out(), tim::graph< T, AllocatorT >::reparent(), tim::graph< T, AllocatorT >::sibling(), and tim::graph< T, AllocatorT >::swap().
tgraph_node<T>* tim::tgraph_node< T >::prev_sibling = nullptr |
Definition at line 81 of file graph.hpp.
Referenced by tim::graph< T, AllocatorT >::erase(), tim::graph< T, AllocatorT >::index(), tim::graph< T, AllocatorT >::move_after(), tim::graph< T, AllocatorT >::move_before(), tim::graph< T, AllocatorT >::move_in(), tim::graph< T, AllocatorT >::move_in_as_nth_child(), tim::graph< T, AllocatorT >::move_ontop(), tim::graph< T, AllocatorT >::move_out(), tim::graph< T, AllocatorT >::reparent(), tim::graph< T, AllocatorT >::sibling(), and tim::graph< T, AllocatorT >::swap().