CYapfRouteLinkNodeKeyT Struct Reference

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

RouteLinkm_link

Detailed Description

YAPF node key for cargo routing.

Definition at line 20 of file yapf_cargo.cpp.


Member Function Documentation

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().


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

Generated on Sun May 8 07:31:03 2011 for OpenTTD by  doxygen 1.6.1