Lumiera  0.pre.03
»edit your freedom«
TestChainLoad< maxFan >::Node Struct Reference

#include "/Werk/devel/lumi/tests/vault/gear/test-chain-load.hpp"

Description

template<size_t maxFan = DEFAULT_FAN>
struct vault::gear::test::TestChainLoad< maxFan >::Node

Graph Data structure.

Definition at line 264 of file test-chain-load.hpp.

Public Types

using _Arr = std::array< Node *, maxFan >
 
using CIter = typename _Arr::const_iterator
 
using Iter = typename _Arr::iterator
 

Public Member Functions

 Node (size_t seed=0)
 
NodeaddPred (Node *other)
 
NodeaddPred (Node &other)
 
NodeaddSucc (Node *other)
 
NodeaddSucc (Node &other)
 
size_t calculate ()
 
void clear ()
 

Public Attributes

size_t hash
 
size_t level {0}
 
Tab pred {0}
 
Tab succ {0}
 
size_t weight {0}
 

Classes

struct  Tab
 Table with connections to other Node records. More...
 

Friends

bool isExit (Node const &n)
 
bool isExit (Node const *n)
 
bool isFork (Node const &n)
 
bool isFork (Node const *n)
 
bool isInner (Node const &n)
 
bool isInner (Node const *n)
 
bool isJoin (Node const &n)
 
bool isJoin (Node const *n)
 
bool isKnot (Node const &n)
 
bool isKnot (Node const *n)
 
bool isLink (Node const &n)
 
bool isLink (Node const *n)
 
bool isStart (Node const &n)
 
bool isStart (Node const *n)
 

Additional Inherited Members

- Protected Member Functions inherited from MoveOnly
 MoveOnly (MoveOnly &&)=default
 
 MoveOnly (MoveOnly const &)=delete
 
MoveOnlyoperator= (MoveOnly &&)=delete
 
MoveOnlyoperator= (MoveOnly const &)=delete
 
+ Inheritance diagram for TestChainLoad< maxFan >::Node:
+ Collaboration diagram for TestChainLoad< maxFan >::Node:

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