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

#include <ListGUILocal.h>

Inheritance diagram for idListGUILocal:
idList< idStr > idListGUI

Public Member Functions

 idListGUILocal ()
 
void Config (idUserInterface *pGUI, const char *name)
 
void Add (int id, const idStr &s)
 
void Push (const idStr &s)
 
bool Del (int id)
 
void Clear (void)
 
int Num (void)
 
int GetSelection (char *s, int size, int sel=0) const
 
void SetSelection (int sel)
 
int GetNumSelections ()
 
bool IsConfigured (void) const
 
void SetStateChanges (bool enable)
 
void Shutdown (void)
 
- Public Member Functions inherited from idListGUI
virtual ~idListGUI ()
 

Private Member Functions

void StateChanged ()
 

Private Attributes

idUserInterfacem_pGUI
 
idStr m_name
 
int m_water
 
idList< intm_ids
 
bool m_stateUpdates
 

Additional Inherited Members

- Protected Types inherited from idList< idStr >
typedef int cmp_t (const idStr *, const idStr *)
 
typedef idStr new_t (void)
 
- Protected Member Functions inherited from idList< idStr >
 idList (int newgranularity=16)
 
 idList (const idList< idStr > &other)
 
 ~idList (void)
 
void Clear (void)
 
int Num (void) const
 
int NumAllocated (void) const
 
void SetGranularity (int newgranularity)
 
int GetGranularity (void) const
 
size_t Allocated (void) const
 
size_t Size (void) const
 
size_t MemoryUsed (void) const
 
idList< idStr > & operator= (const idList< idStr > &other)
 
const idStroperator[] (int index) const
 
idStroperator[] (int index)
 
void Condense (void)
 
void Resize (int newsize)
 
void Resize (int newsize, int newgranularity)
 
void SetNum (int newnum, bool resize=true)
 
void AssureSize (int newSize)
 
void AssureSize (int newSize, const idStr &initValue)
 
void AssureSizeAlloc (int newSize, new_t *allocator)
 
idStrPtr (void)
 
const idStrPtr (void) const
 
idStrAlloc (void)
 
int Append (const idStr &obj)
 
int Append (const idList< idStr > &other)
 
int AddUnique (const idStr &obj)
 
int Insert (const idStr &obj, int index=0)
 
int FindIndex (const idStr &obj) const
 
idStrFind (idStrconst &obj) const
 
int FindNull (void) const
 
int IndexOf (const idStr *obj) const
 
bool RemoveIndex (int index)
 
bool Remove (const idStr &obj)
 
void Sort (cmp_t *compare=(cmp_t *)&idListSortCompare< idStr >)
 
void SortSubSection (int startIndex, int endIndex, cmp_t *compare=(cmp_t *)&idListSortCompare< idStr >)
 
void Swap (idList< idStr > &other)
 
void DeleteContents (bool clear)
 
- Protected Member Functions inherited from idListGUI
virtual ~idListGUI ()
 

Detailed Description

Definition at line 41 of file ListGUILocal.h.

Constructor & Destructor Documentation

idListGUILocal::idListGUILocal ( )
inline

Definition at line 43 of file ListGUILocal.h.

Member Function Documentation

void idListGUILocal::Add ( int  id,
const idStr s 
)
virtual

Implements idListGUI.

Definition at line 104 of file ListGUI.cpp.

void idListGUILocal::Clear ( void  )
virtual

Implements idListGUI.

Definition at line 147 of file ListGUI.cpp.

void idListGUILocal::Config ( idUserInterface pGUI,
const char *  name 
)
inlinevirtual

Implements idListGUI.

Definition at line 46 of file ListGUILocal.h.

bool idListGUILocal::Del ( int  id)
virtual

Implements idListGUI.

Definition at line 131 of file ListGUI.cpp.

int idListGUILocal::GetNumSelections ( )
virtual

Implements idListGUI.

Definition at line 61 of file ListGUI.cpp.

int idListGUILocal::GetSelection ( char *  s,
int  size,
int  sel = 0 
) const
virtual

Implements idListGUI.

Definition at line 70 of file ListGUI.cpp.

bool idListGUILocal::IsConfigured ( void  ) const
virtual

Implements idListGUI.

Definition at line 161 of file ListGUI.cpp.

int idListGUILocal::Num ( void  )
inlinevirtual

Implements idListGUI.

Definition at line 52 of file ListGUILocal.h.

void idListGUILocal::Push ( const idStr s)
virtual

Implements idListGUI.

Definition at line 120 of file ListGUI.cpp.

void idListGUILocal::SetSelection ( int  sel)
virtual

Implements idListGUI.

Definition at line 94 of file ListGUI.cpp.

void idListGUILocal::SetStateChanges ( bool  enable)
virtual

Implements idListGUI.

Definition at line 170 of file ListGUI.cpp.

void idListGUILocal::Shutdown ( void  )
virtual

Implements idListGUI.

Definition at line 180 of file ListGUI.cpp.

void idListGUILocal::StateChanged ( )
private

Definition at line 39 of file ListGUI.cpp.

Member Data Documentation

idList<int> idListGUILocal::m_ids
private

Definition at line 64 of file ListGUILocal.h.

idStr idListGUILocal::m_name
private

Definition at line 62 of file ListGUILocal.h.

idUserInterface* idListGUILocal::m_pGUI
private

Definition at line 61 of file ListGUILocal.h.

bool idListGUILocal::m_stateUpdates
private

Definition at line 65 of file ListGUILocal.h.

int idListGUILocal::m_water
private

Definition at line 63 of file ListGUILocal.h.


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