RavEngine
Loading...
Searching...
No Matches
physx::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>

Inheritance diagram for physx::PxStringTable:
[legend]

Public Member Functions

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

Detailed Description

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

Member Function Documentation

◆ allocateStr()

virtual const char * physx::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.

Implemented in physx::PxStringTableImpl.

◆ release()

virtual void physx::PxStringTable::release ( )
pure virtual

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

Implemented in physx::PxStringTableImpl.


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