The NodeTarget class.
More...
#include <murl_graph_node_target.h>
template<class ObjectType, UInt32 MIN_NUMBER_OF_NODES>
interface Murl::Graph::NodeTarget< ObjectType, MIN_NUMBER_OF_NODES >
The NodeTarget class.
This class implements an IGenericNodeTarget that can reference at most one graph node. The MIN_NUMBER_OF_NODES template parameter represents the minimum number of referenced nodes that must be present for the Init() method to succeed. May be either 0 or 1.
◆ NodeTarget()
template<class ObjectType , UInt32 MIN_NUMBER_OF_NODES>
Constructor taking a single (optional) node.
- Parameters
-
◆ DeserializeNodeId()
template<class ObjectType , UInt32 MIN_NUMBER_OF_NODES>
Deserialize the single target node ID from a given tracker.
- Parameters
-
tracker | The tracker to deserialize. |
- Returns
- true if successful.
◆ GetNodeId()
template<class ObjectType , UInt32 MIN_NUMBER_OF_NODES>
Get the single node ID.
- Returns
- The node ID, or an empty string if no node is referenced.
◆ GetNode()
template<class ObjectType , UInt32 MIN_NUMBER_OF_NODES>
Get the single node.
- Returns
- The node, or null if none is referenced.
The documentation for this interface was generated from the following file: