YAPF node key for cargo routing. More...
Public Member Functions | |
FORCEINLINE void | Set (RouteLink *link) |
Initialize this node key. | |
FORCEINLINE int | CalcHash () const |
Calculate the hash of this cargo/route key. | |
FORCEINLINE bool | operator== (const CYapfRouteLinkNodeKeyT &other) const |
void | Dump (DumpTarget &dmp) const |
Data Fields | |
RouteLink * | m_link |
YAPF node key for cargo routing.
Definition at line 20 of file yapf_cargo.cpp.
FORCEINLINE int CYapfRouteLinkNodeKeyT::CalcHash | ( | ) | const [inline] |
Calculate the hash of this cargo/route key.
Definition at line 30 of file yapf_cargo.cpp.
FORCEINLINE void CYapfRouteLinkNodeKeyT::Set | ( | RouteLink * | link | ) | [inline] |
Initialize this node key.
Definition at line 24 of file yapf_cargo.cpp.
Referenced by CYapfRouteLinkNodeT::Set().