55 uint size()
const {
return QGDict::size(); }
57 void insert(
void *k,
const type *d )
58 { QGDict::look_ptr(k,(Item)d,1); }
59 void replace(
void *k,
const type *d )
60 { QGDict::look_ptr(k,(Item)d,2); }
61 bool remove(
void *k ) {
return QGDict::remove_ptr(k); }
62 type *take(
void *k ) {
return (type*)QGDict::take_ptr(k); }
63 type *find(
void *k )
const 64 {
return (type *)((
QGDict*)
this)->QGDict::look_ptr(k,0,0); }
65 type *operator[](
void *k )
const 66 {
return (type *)((
QGDict*)
this)->QGDict::look_ptr(k,0,0); }
68 void resize( uint n ) { QGDict::resize(n); }
69 void statistics()
const { QGDict::statistics(); }
74 #if defined(Q_DELETING_VOID_UNDEFINED) 82 if ( del_item )
delete (type *)d;
91 uint count()
const {
return dict->count(); }
92 bool isEmpty()
const {
return dict->count() == 0; }
93 type *toFirst() {
return (type *)QGDictIterator::toFirst(); }
94 operator type *()
const {
return (type *)QGDictIterator::get(); }
95 type *current()
const {
return (type *)QGDictIterator::get(); }
96 void *currentKey()
const {
return QGDictIterator::getKeyPtr(); }
97 type *operator()() {
return (type *)QGDictIterator::operator()(); }
98 type *operator++() {
return (type *)QGDictIterator::operator++(); }
99 type *operator+=(uint j) {
return (type *)QGDictIterator::operator+=(j);}
uint count() const
Definition: qgdict.h:107
void clear()
Definition: qptrdict.h:67
void clear()
Definition: qgdict.cpp:857
Definition: qptrdict.h:86
An internal class for implementing QDictIterator and QIntDictIterator.
Definition: qgdict.h:167
uint count() const
Definition: qptrdict.h:54
The QGDict class is an internal class for implementing QDict template classes.
Definition: qgdict.h:104
Definition: qptrdict.h:46
virtual void deleteItem(Item)
Definition: qcollection.cpp:174