PxStringTable

Defined in include/common/PxStringTable.h

class PxStringTable

a table to manage strings.

Strings allocated through this object are expected to be owned by this object.

Public Functions

virtual const char *allocateStr(const char *inSrc) = 0

Allocate a new string.

Parameters

inSrc[in] Source string, null terminated or null.

Returns

Always a valid null terminated string. “” is returned if “” or null is passed in.

virtual void release() = 0

Release the string table and all the strings associated with it.

Protected Functions

inline virtual ~PxStringTable()