Public Member Functions | List of all members
Celartem::DjVu::PropertySetIterator Class Referenceabstract

#include <djv_propset.h>

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

Public Member Functions

virtual bool next ()=0
 
virtual void reset ()=0
 
virtual String getKey () const =0
 
virtual String getValue () const =0
 
- Public Member Functions inherited from Celartem::Referable
 Referable ()
 
void addRef () const
 
void releaseRef () const
 
size_t getReferenceCount () const
 

Additional Inherited Members

- Static Public Member Functions inherited from Celartem::Referable
static void dumpDbgAllRefCount ()
 

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.\n
            \return
                \c true if the move succeeded.\n
                If the iteration finished, this method return \c false.
            The following code illustate how to use
            \ref 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:

Cuminas DjVu SDK 3.0.33103
This document is made with doxygen 1.8.5 at Sun Dec 15 2013 19:38:07.
Cuminas Logo