KCharPtrSet Class Reference
#include <kcharptrset.h>
List of all members.
Detailed Description
This class contains the data structure support for char pointer
set.
Definition at line 50 of file kcharptrset.h.
Member Enumeration Documentation
Constructor & Destructor Documentation
Class constructor.
- Parameters:
-
|
pItemPerBlock |
Number of item per block. Default is 20. |
Member Function Documentation
void Add |
( |
const char * |
pReference, |
|
|
kReference |
pItem |
|
|
) |
|
|
|
Add a new item.
- Parameters:
-
|
pReference |
char pointer reference to the item. |
|
pItem |
kReference to the item. |
bool Remove |
( |
const char * |
pReference |
) |
|
Removes an item.
- Parameters:
-
|
pReference |
char reference to the item. |
- Returns:
- true if successful.
Get an item's reference.
- Parameters:
-
|
pReference |
char reference to the item. |
|
PIndex |
index to the item. |
- Returns:
- kReference to the item, NULL if fails.
Get an item's reference from index.
- Parameters:
-
|
pIndex |
index to the item. |
- Returns:
- kReference to the item, NULL if fails.
kReference
GetFromIndex |
( |
int |
pIndex, |
|
|
const char ** |
pReference = NULL |
|
|
) |
|
|
|
Get an item's reference from index.
- Parameters:
-
|
pIndex |
index to the item. |
|
pReference |
char reference to the item. |
- Returns:
- kReference to the item, NULL if fails.
void RemoveFromIndex |
( |
int |
pIndex |
) |
|
Removes an item by index.
- Parameters:
-
|
pIndex |
index to the item. |
int
GetCount |
( |
|
) |
const [inline] |
Get the number of item in the array.
Definition at line 105 of file kcharptrset.h.
KCharPtrSet KCharPtrSet KCharPtrSet
KCharPtrSet KCharPtrSet KCharPtrSet KCharPtrSet KCharPtrSet
KCharPtrSet KCharPtrSet
KCharPtrSet KCharPtrSet KCharPtrSet
KCharPtrSet KCharPtrSet KCharPtrSet KCharPtrSet KCharPtrSet
KCharPtrSet KCharPtrSet