|
HDK
|
#include <UN_GraphContext.h>
Public Member Functions | |
| bool | operator== (const UN_GraphContext &other) const |
| Comparison operator. More... | |
| const UT_StringHolder & | rootTypeName () const |
| Returns the node type to be used for the root of this graph. More... | |
| const UN_GraphConfig & | graphConfig () const |
| Returns the configuration options for the graph in this context. More... | |
| const UNI_Manager * | manager () const |
| Returns the configuration options for the graph in this context. More... | |
| UN_GraphContext (UN_GraphConfig graph_config=UN_GraphConfig(), const UT_StringHolder &root_type_name=UT_StringHolder(), UNI_Manager *manager=nullptr) | |
The graph context class, representing a specific use case for the graph. It provides specific values for the configurable behaviours of the graph, like alphanumeric validity and uniqueness of the nodes in the graph, and also supplies the graph with concrete node and data types to operate on.
Definition at line 28 of file UN_GraphContext.h.
| UN_GraphContext::UN_GraphContext | ( | UN_GraphConfig | graph_config = UN_GraphConfig(), |
| const UT_StringHolder & | root_type_name = UT_StringHolder(), |
||
| UNI_Manager * | manager = nullptr |
||
| ) |
Constructor and destructor
| graph_config | Object that describes the graph's capabilities. |
| root_type_name | The node type name that should be used for the root node of this graph. |
| manager | Object that manages types. If given, it should outlive the context. |
|
inline |
Returns the configuration options for the graph in this context.
Definition at line 50 of file UN_GraphContext.h.
|
inline |
Returns the configuration options for the graph in this context.
Definition at line 54 of file UN_GraphContext.h.
| bool UN_GraphContext::operator== | ( | const UN_GraphContext & | other | ) | const |
Comparison operator.
|
inline |
Returns the node type to be used for the root of this graph.
Definition at line 46 of file UN_GraphContext.h.