Public Member Functions

Celartem::DjVu::PropertySetIterator Class Reference

#include <djv_propset.h>

Inheritance diagram for Celartem::DjVu::PropertySetIterator:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual bool next ()=0
virtual void reset ()=0
virtual String getKey () const =0
virtual String getValue () const =0

Detailed Description

This class is used to enumerate all the property entries.

See also:
PropertySet::enumProperties

Member Function Documentation

virtual String Celartem::DjVu::PropertySetIterator::getKey (  )  const [pure virtual]

Get the key of the current property.

Returns:
The key.
virtual String Celartem::DjVu::PropertySetIterator::getValue (  )  const [pure virtual]

Get the value of the current property.

Returns:
The value.
virtual bool Celartem::DjVu::PropertySetIterator::next (  )  [pure virtual]

Move to the next property.

Returns:
true if the move succeeded.
If the iteration finished, this method return false. The following code illustate how to use PropertySetIterator.
AutoPtr<PropertySetIterator> it = propSet->enumProperties();
while(it->next())
{
    // we can access getKey, getValue here.
}
virtual void Celartem::DjVu::PropertySetIterator::reset (  )  [pure virtual]

Reset the iteration.


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

This document is made with doxygen 1.7.1 at Thu Feb 17 2011 15:40:21.
Caminova Logo