gwnavruntime/abstractgraph/identifiers/abstractgraphnodeptr.h Source File
Go to the documentation of this file.
10 #include "gwnavruntime/abstractgraphtypes.h"
18 class AbstractGraphNodePtr
22 AbstractGraphNodePtr() { Invalidate(); }
23 AbstractGraphNodePtr(AbstractGraph* abstractGraph, AbstractGraphNodeIdx nodeIdx) { Set(abstractGraph, nodeIdx); }
25 bool IsValid()
const {
return m_abstractGraph !=
nullptr && m_nodeIdx < AbstractGraphNodeIdx_Invalid; }
28 m_abstractGraph =
nullptr;
29 m_nodeIdx = AbstractGraphNodeIdx_Invalid;
32 void Set(AbstractGraph* abstractGraph, AbstractGraphNodeIdx nodeIdx)
34 m_abstractGraph = abstractGraph;
39 Ptr<AbstractGraph> m_abstractGraph;
40 AbstractGraphNodeIdx m_nodeIdx;
#define KY_DEFINE_NEW_DELETE_OPERATORS(MemStat)
This macro defines new and delete operators.
Definition: memory.h:132
The Autodesk Navigation namespace.
Definition: gamekitcrowddispersion.cpp:17