Falcon::ItemDict Class Reference

Base class for item dictionaries. More...

#include <itemdict.h>

Inheritance diagram for Falcon::ItemDict:

Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual void clear ()=0
 Removes all the items in the sequence.
virtual Itemfind (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


Detailed Description

Base class for item dictionaries.

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.


Member Function Documentation

virtual void Falcon::ItemDict::clear (  )  [pure virtual]

Removes all the items in the sequence.

Implements Falcon::Sequence.

Implemented in Falcon::LinearDict, and Falcon::PageDict.

virtual Item* Falcon::ItemDict::find ( const Item key  )  const [pure virtual]

Implemented in Falcon::LinearDict, and Falcon::PageDict.

virtual bool Falcon::ItemDict::findIterator ( const Item key,
Iterator iter 
) [pure virtual]

Implemented in Falcon::LinearDict, and Falcon::PageDict.

virtual bool Falcon::ItemDict::isDictionary (  )  const [inline, virtual]

Override sequence to inform all that we're a dictionary.

Reimplemented from Falcon::Sequence.

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.

virtual void Falcon::ItemDict::put ( const Item key,
const Item value 
) [pure virtual]

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.


The documentation for this class was generated from the following file:

Generated on Mon Oct 19 10:11:37 2009 for Falcon_Core by  doxygen 1.5.8