VMime
fileIterator Class Referenceabstract

#include <file.hpp>

Inheritance diagram for fileIterator:
Collaboration diagram for fileIterator:

Public Member Functions

virtual ~fileIterator ()
virtual bool hasMoreElements () const =0
virtual shared_ptr< filenextElement ()=0

Additional Inherited Members

Protected Member Functions inherited from object
 object ()
 object (const object &)
objectoperator= (const object &)
virtual ~object ()

Detailed Description

File list iterator (see file::getFiles).

Constructor & Destructor Documentation

◆ ~fileIterator()

virtual ~fileIterator ( )
virtual

Member Function Documentation

◆ hasMoreElements()

virtual bool hasMoreElements ( ) const
pure virtual

Check whether the cursor has reach the end of the list.

Returns
true if you can call nextElement(), or false if no more file is available

◆ nextElement()

virtual shared_ptr< file > nextElement ( )
pure virtual

Return the next file in the list.

Returns
next file or NULL

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