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(). |
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. |
|
||||||||||
|
|
|
|||||||||
|
|
Member Function Documentation
|
|||||||||
|
|
|
|||||||||
|
Definition at line 57 of file kdict.h. Referenced by main(). |
|
||||||||||
|
Definition at line 117 of file kdict.h. References kdDebug(). Referenced by KDict< type >::KDict(), and KDict< type >::resize(). |
|
||||||||||
|
Definition at line 82 of file kdict.h. References Structure::add_prefix(). Referenced by main(), and KDict< type >::take(). |
|
||||||||||||||||
|
Definition at line 64 of file kdict.h. References Structure::add_prefix(). Referenced by main(), and KDict< type >::replace(). |
|
|||||||||
|
Definition at line 60 of file kdict.h. References KDict< type >::size(). |
|
||||||||||
|
|
|
||||||||||
|
|
|
||||||||||
|
Definition at line 76 of file kdict.h. References Structure::add_prefix(). Referenced by KDict< type >::replace(), and KDict< type >::take(). |
|
||||||||||||||||
|
Definition at line 71 of file kdict.h. References KDict< type >::insert(), and KDict< type >::remove(). |
|
||||||||||
|
Definition at line 98 of file kdict.h. References KDict< type >::depreceated(). |
|
||||||||||
|
Definition at line 110 of file kdict.h. References KDict< type >::auto_delete. |
|
|||||||||
|
Definition at line 102 of file kdict.h. Referenced by KDict< type >::isEmpty(). |
|
||||||||||
|
Definition at line 94 of file kdict.h. References KDict< type >::find(), and KDict< type >::remove(). |
Member Data Documentation
|
|||||
|
Definition at line 116 of file kdict.h. Referenced by KDict< type >::KDict(), and KDict< type >::setAutoDelete(). |
|
|||||
|
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
