HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UN_Context Class Reference

#include <UN_Context.h>

Public Member Functions

UN_Graph graph ()
 Returns a handle of (reference to) the graph owned by this class. More...
 
 UN_Context ()
 Constructor and destructor. More...
 
 ~UN_Context ()
 Constructor and destructor. More...
 

Detailed Description

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.

Constructor & Destructor Documentation

UN_Context::UN_Context ( )

Constructor and destructor.

UN_Context::~UN_Context ( )

Constructor and destructor.

Member Function Documentation

UN_Graph UN_Context::graph ( )
inline

Returns a handle of (reference to) the graph owned by this class.

Definition at line 61 of file UN_Context.h.


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