HDK
|
#include <UN_Context.h>
Public Member Functions | |
UN_Graph | graph () |
Returns a handle of (reference to) the graph owned by this class. More... | |
UN_GraphData * | graphData () |
UN_Context () | |
Constructor and destructor. More... | |
~UN_Context () | |
Constructor and destructor. More... | |
The owner of the graph and its data.
Note, unlike UN_Graph and UN_Node, etc, this class is not a handle. It is an owner of the graph data (rather than a reference to it). It is also a provider of other aspcets of the graph (eg, node types, port types, etc).
One consequence of this is that this class has a mix of const and non-const methods (handle classes have all const methods). Non-const methods return types that can be modified, while const methods return the ones that are not changeable.
Definition at line 47 of file UN_Context.h.
UN_Context::UN_Context | ( | ) |
Constructor and destructor.
UN_Context::~UN_Context | ( | ) |
Constructor and destructor.
|
inline |
Returns a handle of (reference to) the graph owned by this class.
Definition at line 61 of file UN_Context.h.
|
inline |
Returns the graph data structures object. For use in UN library classes, mainly for unit testing. Should not be needed outside of the UN library.
Definition at line 69 of file UN_Context.h.