The NodeArrayTarget class. More...
#include "murl_graph_node_array_target.h"
Public Member Functions | |
NodeArrayTarget () | |
The constructor. | |
Bool | DeserializeNodeIds (IDeserializeAttributeTracker *tracker) |
Deserialize all defined target node IDs from a given tracker. More... | |
Bool | DeserializeNodeId (IDeserializeAttributeTracker *tracker) |
Deserialize a single target node ID from a given tracker. More... | |
Bool | DeserializeNodeId (IDeserializeAttributeTracker *tracker, UInt32 index) |
Deserialize a single target node ID from a given tracker at a given index. More... | |
Detailed Description
template<class ObjectType, UInt32 MIN_NUMBER_OF_NODES, UInt32 MAX_NUMBER_OF_NODES, UInt32 RESERVED_NUMBER_OF_NODES>
interface Murl::Graph::NodeArrayTarget< ObjectType, MIN_NUMBER_OF_NODES, MAX_NUMBER_OF_NODES, RESERVED_NUMBER_OF_NODES >
The NodeArrayTarget class.
This class implements an IGenericNodeTarget that can reference any number of graph nodes. The MIN_NUMBER_OF_NODES and MAX_NUMBER_OF_NODES template parameters represent the minimum and maximum number of referenced nodes that must be present for the Init() method to succeed. The RESERVED_NUMBER_OF_NODES parameter defines the initial size of the reference array. Must be in the range from MIN_NUMBER_OF_NODES to MAX_NUMBER_OF_NODES.
Member Function Documentation
◆ DeserializeNodeIds()
|
inline |
Deserialize all defined target node IDs from a given tracker.
- Parameters
-
tracker The tracker to deserialize.
- Returns
- true if successful.
References Murl::Graph::IDeserializeAttributeTracker::GetAttributeValues(), Murl::Array< DataType >::GetCount(), and Murl::Array< DataType >::SetCount().
◆ DeserializeNodeId() [1/2]
|
inline |
Deserialize a single target node ID from a given tracker.
The actual index is retrieved from the tracker's base attribute.
- Parameters
-
tracker The tracker to deserialize.
- Returns
- true if successful.
References Murl::Graph::IDeserializeAttributeTracker::GetBaseAttributeName(), and Murl::Util::StringToUInt32().
◆ DeserializeNodeId() [2/2]
|
inline |
Deserialize a single target node ID from a given tracker at a given index.
- Parameters
-
tracker The tracker to deserialize. index The index of the referenced node.
- Returns
- true if successful.
References Murl::Graph::IDeserializeAttributeTracker::GetAttributeValue(), Murl::Array< DataType >::GetCount(), and Murl::Array< DataType >::SetCount().
The documentation for this interface was generated from the following file:
- murl_graph_node_array_target.h