#include <genesis/tree/tree/link.hpp>
Definition at line 52 of file tree/tree/link.hpp.
Public Member Functions  
TreeLink ()  
TreeLink (size_t index, TreeLink *next, TreeLink *outer, TreeNode *node, TreeEdge *edge)  
TreeLink (TreeLink &&)=delete  
TreeLink (TreeLink const &)=delete  
~TreeLink ()=default  
TreeEdge &  edge () 
Return the TreeEdge of this TreeLink. More...  
TreeEdge const &  edge () const 
Return the TreeEdge of this TreeLink. More...  
size_t  index () const 
Return the index of this Link. More...  
TreeLink &  next () 
Return the next TreeLink within the TreeNode of this link. More...  
TreeLink const &  next () const 
Return the next TreeLink within the TreeNode of this link. More...  
TreeNode &  node () 
Return the TreeNode of this TreeLink. More...  
TreeNode const &  node () const 
Return the TreeNode of this TreeLink. More...  
TreeLink &  operator= (TreeLink &&)=delete 
TreeLink &  operator= (TreeLink const &)=delete 
TreeLink &  outer () 
Return the TreeLink of the adjacent TreeNode. More...  
TreeLink const &  outer () const 
Return the TreeLink of the adjacent TreeNode. More...  
TreeLink &  prev () 
Return the previous TreeLink within the TreeNode of this link. More...  
TreeLink const &  prev () const 
Return the previous TreeLink within the TreeNode of this link. More...  
TreeLink &  reset_edge (TreeEdge *val) 
Reset the internal pointer to the TreeEdge of this TreeLink. More...  
TreeLink &  reset_index (size_t val) 
Reset the internal index of this TreeLink. More...  
TreeLink &  reset_next (TreeLink *val) 
Reset the internal pointer to the next TreeLink of this TreeLink. More...  
TreeLink &  reset_node (TreeNode *val) 
Reset the internal pointer to the TreeNode of this TreeLink. More...  
TreeLink &  reset_outer (TreeLink *val) 
Reset the internal pointer to the outer TreeLink of this TreeLink. More...  
Friends  
class  Tree 

inline 
Definition at line 66 of file tree/tree/link.hpp.

inline 
Definition at line 74 of file tree/tree/link.hpp.

default 

inline 
Return the TreeEdge of this TreeLink.
Definition at line 172 of file tree/tree/link.hpp.

inline 
Return the TreeEdge of this TreeLink.
Definition at line 180 of file tree/tree/link.hpp.

inline 
Return the index of this Link.
Definition at line 100 of file tree/tree/link.hpp.

inline 
Return the next TreeLink within the TreeNode of this link.
Definition at line 108 of file tree/tree/link.hpp.

inline 
Return the next TreeLink within the TreeNode of this link.
Definition at line 116 of file tree/tree/link.hpp.

inline 
Return the TreeNode of this TreeLink.
Definition at line 188 of file tree/tree/link.hpp.

inline 
Return the TreeNode of this TreeLink.
Definition at line 196 of file tree/tree/link.hpp.

inline 
Return the TreeLink of the adjacent TreeNode.
Definition at line 156 of file tree/tree/link.hpp.

inline 
Return the TreeLink of the adjacent TreeNode.
Definition at line 164 of file tree/tree/link.hpp.

inline 
Return the previous TreeLink within the TreeNode of this link.
The previous link of a given link L
is the one whose nextpointer is pointing to L
. As this link first has to be found, this function is not as cheap as next().
Definition at line 127 of file tree/tree/link.hpp.

inline 
Return the previous TreeLink within the TreeNode of this link.
The previous link of a given link L
is the one whose nextpointer is pointing to L
. As this link first has to be found, this function is not as cheap as next().
Definition at line 143 of file tree/tree/link.hpp.
Reset the internal pointer to the TreeEdge of this TreeLink.
This is a helper function that needs to be used with care and only in cases where appropriate.
This function exists to allow building and modifying a Tree without the need for many friend declarations. However, the function should rarely be needed outside of this context.
Definition at line 271 of file tree/tree/link.hpp.

inline 
Reset the internal index of this TreeLink.
This is a helper function that needs to be used with care and only in cases where appropriate. The index is an invariant that needs to be kept, as it needs to match the index in the Tree container.
This function exists to allow building and modifying a Tree without the need for many friend declarations. However, the function should rarely be needed outside of this context.
Definition at line 215 of file tree/tree/link.hpp.
Reset the internal pointer to the next TreeLink of this TreeLink.
This is a helper function that needs to be used with care and only in cases where appropriate.
This function exists to allow building and modifying a Tree without the need for many friend declarations. However, the function should rarely be needed outside of this context.
Definition at line 229 of file tree/tree/link.hpp.
Reset the internal pointer to the TreeNode of this TreeLink.
This is a helper function that needs to be used with care and only in cases where appropriate.
This function exists to allow building and modifying a Tree without the need for many friend declarations. However, the function should rarely be needed outside of this context.
Definition at line 257 of file tree/tree/link.hpp.
Reset the internal pointer to the outer TreeLink of this TreeLink.
This is a helper function that needs to be used with care and only in cases where appropriate.
This function exists to allow building and modifying a Tree without the need for many friend declarations. However, the function should rarely be needed outside of this context.
Definition at line 243 of file tree/tree/link.hpp.

friend 
Definition at line 60 of file tree/tree/link.hpp.