#include <kmap.h>
Definition at line 1648 of file kmap.h.
Public Types |
|
typedef VALUE_TYPE | ValueType |
typedef StorageType::RecordType | RecordType |
typedef StorageType::IteratorType | Iterator |
typedef StorageType::ConstIteratorType |
ConstIterator |
Public Member Functions |
|
KSet2 () | |
KSet2 (KSet2 const &pSet) | |
~KSet2 () | |
void | Reserve (unsigned int pRecordCount) |
int | GetSize () const |
KPair< RecordType *, bool > | Insert (ValueType const &pValue) |
int | Remove (ValueType const &pValue) |
void | Clear () |
bool | Empty () const |
Iterator | Begin () |
Iterator | End () |
ConstIterator | Begin () const |
ConstIterator | End () const |
RecordType const * | Find (ValueType const &pValue) const |
RecordType * | Find (ValueType const &pValue) |
RecordType const * | Minimum () const |
RecordType * | Minimum () |
RecordType const * | Maximum () const |
RecordType * | Maximum () |
bool | operator== (const KSet2< VALUE_TYPE, KEY_COMPARE_FUNCTOR, ALLOCATOR > &pOther) const |
bool | operator!= (const KSet2< VALUE_TYPE, KEY_COMPARE_FUNCTOR, ALLOCATOR > &pOther) const |
Protected Types |
|
typedef KRedBlackTree<
KValue, KEY_COMPARE_FUNCTOR, ALLOCATOR > |
StorageType |
Protected Attributes |
|
StorageType | mTree |
Classes |
|
class | KValue |
typedef KRedBlackTree<KValue, KEY_COMPARE_FUNCTOR, ALLOCATOR>
StorageType
[protected] |
typedef VALUE_TYPE ValueType |
typedef StorageType::RecordType RecordType |
typedef StorageType::ConstIteratorType ConstIterator |
KSet2 | ( | KSet2< VALUE_TYPE, KEY_COMPARE_FUNCTOR, ALLOCATOR > const & | pSet | ) | [inline] |
void Reserve | ( | unsigned int | pRecordCount | ) | [inline] |
KPair<RecordType*, bool> Insert | ( | ValueType const & | pValue | ) | [inline] |
void Clear | ( | ) | [inline] |
ConstIterator Begin | ( | ) | const [inline] |
ConstIterator End | ( | ) | const [inline] |
RecordType const* Find | ( | ValueType const & | pValue | ) | const [inline] |
RecordType* Find | ( | ValueType const & | pValue | ) | [inline] |
RecordType const* Minimum | ( | ) | const [inline] |
RecordType* Minimum | ( | ) | [inline] |
RecordType const* Maximum | ( | ) | const [inline] |
RecordType* Maximum | ( | ) | [inline] |
bool operator== | ( | const KSet2< VALUE_TYPE, KEY_COMPARE_FUNCTOR, ALLOCATOR > & | pOther | ) | const [inline] |
bool operator!= | ( | const KSet2< VALUE_TYPE, KEY_COMPARE_FUNCTOR, ALLOCATOR > & | pOther | ) | const [inline] |