#include <TPString8.h>
|
static Toshi::TFreeList | ms_oFreeList = Toshi::TFreeList( sizeof( Toshi::TPooledString8 ), 0, 64, "Toshi::TPooledString8" ) |
|
Definition at line 23 of file TPString8.h.
◆ TPooledString8()
Definition at line 31 of file TPString8.h.
32 : m_oString( a_szString, a_pAllocator )
33 {
34 m_pPool = a_pPool;
35 }
◆ Delete()
void TPooledString8::Delete |
( |
| ) |
|
Definition at line 97 of file TPString8.cpp.
98{
100 {
101 m_pPool->Remove( this );
102 m_pPool->GetAllocator()->Delete( this );
103 }
104 else
105 {
106 delete this;
107 }
108}
◆ GetString8()
const TString8 & TPooledString8::GetString8 |
( |
| ) |
const |
|
inline |
◆ GetStringPool()
◆ IsPooled()
TBOOL TPooledString8::IsPooled |
( |
| ) |
const |
|
inline |
◆ operator delete() [1/2]
TFORCEINLINE void TPooledString8::operator delete |
( |
void * | ptr | ) |
|
|
inline |
◆ operator delete() [2/2]
TFORCEINLINE void TPooledString8::operator delete |
( |
void * | ptr, |
|
|
void * | where ) |
|
inline |
◆ operator new() [1/2]
TFORCEINLINE void * TPooledString8::operator new |
( |
size_t | s | ) |
|
|
inline |
◆ operator new() [2/2]
TFORCEINLINE void * TPooledString8::operator new |
( |
size_t | s, |
|
|
void * | where ) |
|
inline |
◆ SetupFreeList()
static void TPooledString8::SetupFreeList |
( |
TINT | a_iCapacity, |
|
|
TINT | a_iGrowSize ) |
|
inlinestatic |
◆ TPString8
◆ ms_oFreeList
Toshi::TFreeList TPooledString8::ms_oFreeList = Toshi::TFreeList( sizeof( Toshi::TPooledString8 ), 0, 64, "Toshi::TPooledString8" ) |
|
static |
The documentation for this class was generated from the following files: