#include <kmap.h>
Classes |
|
| class | KValue |
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 |
| KSet2 | Union (const KSet2 &pOther) const |
Protected Types |
|
| typedef
KRedBlackTree< KValue, KEY_COMPARE_FUNCTOR, ALLOCATOR > |
StorageType |
Protected Attributes |
|
| StorageType | mTree |
typedef KRedBlackTree<KValue,
KEY_COMPARE_FUNCTOR, ALLOCATOR> StorageType
[protected] |
| typedef VALUE_TYPE ValueType |
| typedef StorageType::RecordType RecordType |
| typedef StorageType::IteratorType Iterator |
| void Reserve | ( | unsigned int | pRecordCount | ) | [inline] |
| int GetSize | ( | ) | const [inline] |
| KPair<RecordType*, bool> Insert | ( | ValueType const & | pValue | ) | [inline] |
| int Remove | ( | ValueType const & | pValue | ) | [inline] |
| void Clear | ( | ) | [inline] |
| bool Empty | ( | ) | const [inline] |
| Iterator Begin | ( | ) | [inline] |
| Iterator End | ( | ) | [inline] |
| ConstIterator Begin | ( | ) | const [inline] |
Definition at line 1713 of file kmap.h.
{
return ConstIterator(Minimum());
}
| 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] |
StorageType mTree
[protected] |