50 :
QGDict(
size,AsciiKey,caseSensitive,copyKeys) {}
66 {
return (
type *)((
QGDict*)
this)->QGDict::look_ascii(k,0,0); }
68 {
return (
type *)((
QGDict*)
this)->QGDict::look_ascii(k,0,0); }
77 #if defined(Q_DELETING_VOID_UNDEFINED) 85 if ( del_item )
delete (
type *)d;
96 bool isEmpty()
const {
return dict->count() == 0; }
107 #endif // QASCIIDICT_H
void replace(const char *k, const type *d)
QAsciiDict(const QAsciiDict< type > &d)
type * find(const char *k) const
void insert(const char *k, const type *d)
QCollection::Item operator+=(uint)
QCollection::Item get() const
type * operator+=(uint j)
QCollection::Item look_ascii(const char *key, QCollection::Item, int)
QCollection::Item operator()()
decltype(auto) constexpr size(T &&obj)
ADL-aware version of std::size.
QGDict & operator=(const QGDict &)
QCollection::Item take_ascii(const char *key)
const char * getKeyAscii() const
QAsciiDict< type > & operator=(const QAsciiDict< type > &d)
bool remove_ascii(const char *key, QCollection::Item item=0)
An internal class for implementing QDictIterator and QIntDictIterator.
QCollection::Item operator++()
QCollection::Item toFirst()
The QGDict class is an internal class for implementing QDict template classes.
QAsciiDictIterator(const QAsciiDict< type > &d)
virtual void deleteItem(Item)
type * operator[](const char *k) const
QAsciiDict(int size=17, bool caseSensitive=TRUE, bool copyKeys=TRUE)
const char * currentKey() const
type * take(const char *k)