#include <graph.h>
GraphNodeBase is the protected base class of GraphNode. GraphNode adds no further data members, therefore both have the same memory layout. You only have to work with GraphNodeBase when you implement GraphModelInterface and need access to its data members.
Public Member Functions | |
const GraphNodeBase & | GetBase () const |
GraphNodeBase & | GetBase () |
Public Attributes | |
GraphModelRef | _graph |
Int | _mem [MEMCOUNT] |
Static Public Attributes | |
static const Int | MEMCOUNT |
Protected Member Functions | |
const GraphNode & | GetGraphNode () const |
GraphModelInterface * | PrivateGetGraph () const |
const ThreadReferencedError & | GetErrorStorage () const |
Static Private Attributes | |
static constexpr Bool | HAS_ERROR |
const GraphNodeBase& GetBase | ( | ) | const |
Returns this GraphNode, downcasted to its protected base class GraphNodeBase. This function is needed by implementations of GraphModelInterface to access the protected data members of GraphNodeBase.
GraphNodeBase& GetBase | ( | ) |
Returns this GraphNode, downcasted to its protected base class GraphNodeBase. This function is needed by implementations of GraphModelInterface to access the protected data members of GraphNodeBase.
|
protected |
|
protected |
|
protected |
GraphModelRef _graph |
The graph model of this graph node.
|
static |
Number of Int elements in _mem, currently 5.
Some storage space for free use by the GraphModelInterface implementation. Typically this holds information to identify the graph node such as a path.
|
staticconstexprprivate |