PxStringTable Class Referenceabstract

a table to manage strings. Strings allocated through this object are expected to be owned by this object. More...

#include <PxStringTable.h>

Public Member Functions

virtual const char * allocateStr (const char *inSrc)=0
 Allocate a new string. More...
 
virtual void release ()=0
 

Protected Member Functions

virtual ~PxStringTable ()
 

Detailed Description

a table to manage strings. Strings allocated through this object are expected to be owned by this object.

Constructor & Destructor Documentation

◆ ~PxStringTable()

virtual PxStringTable::~PxStringTable ( )
inlineprotectedvirtual

Member Function Documentation

◆ allocateStr()

virtual const char* PxStringTable::allocateStr ( const char *  inSrc)
pure virtual

Allocate a new string.

Parameters
[in]inSrcSource string, null terminated or null.
Returns
*Always* a valid null terminated string. "" is returned if "" or null is passed in.

◆ release()

virtual void PxStringTable::release ( )
pure virtual

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


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