KDict< type > Class Template Reference
#include <kdict.h>
Inheritance diagram for KDict< type >:

Public Types | |
typedef Structure::Trie_Impl< char, QString, type * > | Impl |
Public Member Functions | |
KDict (bool cs=true) | |
KDict (int sz, bool cs=true) | |
KDict (const KDict< type > &dict) | |
~KDict () | |
unsigned int | count () const |
bool | isEmpty () const |
void | insert (const QString &key, const type *item) |
void | replace (const QString &key, const type *item) |
bool | remove (const QString &key) |
type * | find (const QString &key) |
type * | operator[] (const QString &key) const |
type * | take (const QString &key) |
void | resize (uint newsize) |
uint | size () const |
std::ostream & | print (std::ostream &out) const |
bool | autoDelete () const |
void | setAutoDelete (bool enable) |
Private Member Functions | |
void | depreceated (const char *f) const |
Private Attributes | |
bool | case_sensitive |
bool | auto_delete |
template<typename type>
class KDict< type >
Member Typedef Documentation
|
Definition at line 25 of file kdict.h. Referenced by KDict< type >::KDict(), and KDict< type >::Delete_Pointer::operator()(). |
Constructor & Destructor Documentation
|
Definition at line 27 of file kdict.h. References KDict< type >::auto_delete, KDict< type >::case_sensitive, and KDict< type >::Impl. |
|
Definition at line 31 of file kdict.h. References KDict< type >::auto_delete, KDict< type >::case_sensitive, KDict< type >::depreceated(), and KDict< type >::Impl. |
|
Definition at line 36 of file kdict.h. References endl(). |
|
Definition at line 49 of file kdict.h. References KDict< type >::auto_delete. |
Member Function Documentation
|
Definition at line 107 of file kdict.h. References KDict< type >::auto_delete. |
|
Definition at line 57 of file kdict.h. Referenced by main(). |
|
Definition at line 117 of file kdict.h. References KDict< type >::depreceated(), endl(), and kdDebug(). Referenced by KDict< type >::depreceated(), KDict< type >::KDict(), and KDict< type >::resize(). |
|
Definition at line 82 of file kdict.h. References Structure::add_prefix(), and KDict< type >::find(). Referenced by KDict< type >::find(), and main(). |
|
Definition at line 64 of file kdict.h. References Structure::add_prefix(), and KDict< type >::insert(). Referenced by KDict< type >::insert(), and main(). |
|
Definition at line 60 of file kdict.h. References KDict< type >::size(). |
|
|
|
Definition at line 105 of file kdict.h. References KDict< type >::print(). Referenced by KDict< type >::print(). |
|
Definition at line 76 of file kdict.h. References Structure::add_prefix(), and KDict< type >::remove(). Referenced by KDict< type >::remove(), and KDict< type >::replace(). |
|
Definition at line 71 of file kdict.h. References KDict< type >::remove(), and KDict< type >::replace(). Referenced by KDict< type >::replace(). |
|
Definition at line 98 of file kdict.h. References KDict< type >::depreceated(), and KDict< type >::resize(). Referenced by KDict< type >::resize(). |
|
Definition at line 110 of file kdict.h. References KDict< type >::auto_delete, and KDict< type >::setAutoDelete(). Referenced by KDict< type >::setAutoDelete(). |
|
Definition at line 102 of file kdict.h. Referenced by KDict< type >::isEmpty(). |
|
Definition at line 94 of file kdict.h. References KDict< type >::take(). Referenced by KDict< type >::take(). |
Member Data Documentation
|
Definition at line 116 of file kdict.h. Referenced by KDict< type >::autoDelete(), KDict< type >::KDict(), KDict< type >::setAutoDelete(), and KDict< type >::~KDict(). |
|
Definition at line 115 of file kdict.h. Referenced by KDict< type >::KDict(). |
The documentation for this class was generated from the following file:
- lib/structure/kdict.h