carl  24.04
Computer ARithmetic Library
carl::tree_detail::Node< T > Struct Template Reference

#include <carlTree.h>

Public Member Functions

 Node (std::size_t _id, T &&_data, std::size_t _parent, std::size_t _depth)
 

Data Fields

std::size_t id
 
data
 
std::size_t parent
 
std::size_t previousSibling = MAXINT
 
std::size_t nextSibling = MAXINT
 
std::size_t firstChild = MAXINT
 
std::size_t lastChild = MAXINT
 
std::size_t depth = MAXINT
 

Detailed Description

template<typename T>
struct carl::tree_detail::Node< T >

Definition at line 29 of file carlTree.h.

Constructor & Destructor Documentation

◆ Node()

template<typename T >
carl::tree_detail::Node< T >::Node ( std::size_t  _id,
T &&  _data,
std::size_t  _parent,
std::size_t  _depth 
)
inline

Definition at line 38 of file carlTree.h.

Field Documentation

◆ data

template<typename T >
T carl::tree_detail::Node< T >::data
mutable

Definition at line 31 of file carlTree.h.

◆ depth

template<typename T >
std::size_t carl::tree_detail::Node< T >::depth = MAXINT

Definition at line 37 of file carlTree.h.

◆ firstChild

template<typename T >
std::size_t carl::tree_detail::Node< T >::firstChild = MAXINT

Definition at line 35 of file carlTree.h.

◆ id

template<typename T >
std::size_t carl::tree_detail::Node< T >::id

Definition at line 30 of file carlTree.h.

◆ lastChild

template<typename T >
std::size_t carl::tree_detail::Node< T >::lastChild = MAXINT

Definition at line 36 of file carlTree.h.

◆ nextSibling

template<typename T >
std::size_t carl::tree_detail::Node< T >::nextSibling = MAXINT

Definition at line 34 of file carlTree.h.

◆ parent

template<typename T >
std::size_t carl::tree_detail::Node< T >::parent

Definition at line 32 of file carlTree.h.

◆ previousSibling

template<typename T >
std::size_t carl::tree_detail::Node< T >::previousSibling = MAXINT

Definition at line 33 of file carlTree.h.


The documentation for this struct was generated from the following file: