Main Page Modules Namespaces C++ Classes Compound List File List Index
TNL: tnlNetStringTable.h File Reference

# tnlNetStringTable.h File Reference

`#include "tnlTypes.h"`

## Namespaces

namespace | TNL
namespace | TNL::StringTable

## Data Structures

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

## Typedefs

typedef U32 | TNL::StringTableEntryId
typedef const StringTableEntry & | TNL::StringTableEntryRef

## Functions

StringTableEntryId | TNL::StringTable::insert (const char *string, bool caseSens=true)
| Adds a string to the string table, and returns the id of the string.
StringTableEntryId | TNL::StringTable::insertn (const char *string, S32 len, bool caseSens=true)
| Adds a string to the string table, and returns the id of the string.
StringTableEntryId | TNL::StringTable::lookup (const char *string, bool caseSens=true)
| Determines if a string is in the string table, and returns the id of the string, or 0 if the string is not in the table.
StringTableEntryId | TNL::StringTable::lookupn (const char *string, S32 len, bool caseSens=true)
| Determines if a string is in the string table, and returns the id of the string, or 0 if the string is not in the table.
U32 | TNL::StringTable::hashString (const char *in_pString)
| Hash a string into a U32.
U32 | TNL::StringTable::hashStringn (const char *in_pString, S32 len)
| Hash a string of given length into a U32.
void | TNL::StringTable::incRef (StringTableEntryId index)
void | TNL::StringTable::decRef (StringTableEntryId index)
const char * | TNL::StringTable::getString (StringTableEntryId index)