doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Attributes | List of all members
idStrPool Class Reference

#include <StrPool.h>

Public Member Functions

 idStrPool ()
 
void SetCaseSensitive (bool caseSensitive)
 
int Num (void) const
 
size_t Allocated (void) const
 
size_t Size (void) const
 
const idPoolStroperator[] (int index) const
 
const idPoolStrAllocString (const char *string)
 
void FreeString (const idPoolStr *poolStr)
 
const idPoolStrCopyString (const idPoolStr *poolStr)
 
void Clear (void)
 

Private Attributes

bool caseSensitive
 
idList< idPoolStr * > pool
 
idHashIndex poolHash
 

Detailed Description

Definition at line 61 of file StrPool.h.

Constructor & Destructor Documentation

idStrPool::idStrPool ( )
inline

Definition at line 63 of file StrPool.h.

Member Function Documentation

ID_INLINE size_t idStrPool::Allocated ( void  ) const

Definition at line 201 of file StrPool.h.

ID_INLINE const idPoolStr * idStrPool::AllocString ( const char *  string)

Definition at line 98 of file StrPool.h.

ID_INLINE void idStrPool::Clear ( void  )

Definition at line 186 of file StrPool.h.

ID_INLINE const idPoolStr * idStrPool::CopyString ( const idPoolStr poolStr)

Definition at line 167 of file StrPool.h.

ID_INLINE void idStrPool::FreeString ( const idPoolStr poolStr)

Definition at line 132 of file StrPool.h.

int idStrPool::Num ( void  ) const
inline

Definition at line 67 of file StrPool.h.

const idPoolStr* idStrPool::operator[] ( int  index) const
inline

Definition at line 71 of file StrPool.h.

ID_INLINE void idStrPool::SetCaseSensitive ( bool  caseSensitive)

Definition at line 89 of file StrPool.h.

ID_INLINE size_t idStrPool::Size ( void  ) const

Definition at line 217 of file StrPool.h.

Member Data Documentation

bool idStrPool::caseSensitive
private

Definition at line 79 of file StrPool.h.

idList<idPoolStr *> idStrPool::pool
private

Definition at line 80 of file StrPool.h.

idHashIndex idStrPool::poolHash
private

Definition at line 81 of file StrPool.h.


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