#include <itemdict.h>
Public Member Functions | |
virtual void | clear ()=0 |
Removes all the items in the sequence. | |
virtual Item * | find (const Item &key) const =0 |
virtual bool | findIterator (const Item &key, Iterator &iter)=0 |
virtual bool | isDictionary () const |
Override sequence to inform all that we're a dictionary. | |
virtual uint32 | length () const =0 |
virtual void | merge (const ItemDict &dict)=0 |
virtual void | put (const Item &key, const Item &value)=0 |
virtual bool | remove (const Item &key)=0 |
virtual void | smartInsert (const Iterator &iter, const Item &key, const Item &value)=0 |
This is the base class for item dictionaries. Dictionaries must support the sequence interface. They cannot be immediately stored into falcon Items; a CoreDict wrapper is necessary.
virtual void Falcon::ItemDict::clear | ( | ) | [pure virtual] |
Removes all the items in the sequence.
Implements Falcon::Sequence.
Implemented in Falcon::LinearDict, and Falcon::PageDict.
Implemented in Falcon::LinearDict, and Falcon::PageDict.
Implemented in Falcon::LinearDict, and Falcon::PageDict.
virtual bool Falcon::ItemDict::isDictionary | ( | ) | const [inline, virtual] |
virtual uint32 Falcon::ItemDict::length | ( | ) | const [pure virtual] |
Implemented in Falcon::LinearDict, and Falcon::PageDict.
virtual void Falcon::ItemDict::merge | ( | const ItemDict & | dict | ) | [pure virtual] |
Implemented in Falcon::LinearDict, and Falcon::PageDict.
Implemented in Falcon::LinearDict, and Falcon::PageDict.
virtual bool Falcon::ItemDict::remove | ( | const Item & | key | ) | [pure virtual] |
Implemented in Falcon::LinearDict, and Falcon::PageDict.
virtual void Falcon::ItemDict::smartInsert | ( | const Iterator & | iter, | |
const Item & | key, | |||
const Item & | value | |||
) | [pure virtual] |
Implemented in Falcon::LinearDict, and Falcon::PageDict.