Main Page   Modules   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   Related Pages  

TNL::StringTableEntry Class Reference

The StringTableEntry class encapsulates an entry in the network StringTable. More...

#include <tnlNetStringTable.h>

List of all members.

Public Methods

 StringTableEntry ()
 empty constructor gets NULL string automatically.


Detailed Description

The StringTableEntry class encapsulates an entry in the network StringTable.

StringTableEntry instances offer several benefits over normal strings in a networked simulation. First, the ConnectionStringTable class is able to cache string transfers, meaning that recently used strings will be transmitted as string data once and then referred to by a short id bitfield thereafter. String comparison operations are also much less expensive with StringTableEntry instances as they result in just a single integer comparison.

Definition at line 89 of file tnlNetStringTable.h.


The documentation for this class was generated from the following file:
Generated on Thu Aug 18 16:03:39 2005 for Robin Hood: Thieves & Knights by doxygen1.2.18