sbDirectoryEnumerator Class Reference

#include <sbDirectoryEnumerator.h>

Inheritance diagram for sbDirectoryEnumerator:
[legend]
Collaboration diagram for sbDirectoryEnumerator:
[legend]

Public Member Functions

NS_DECL_ISUPPORTS
NS_DECL_SBIDIRECTORYENUMERATOR 
sbDirectoryEnumerator ()
 
virtual ~sbDirectoryEnumerator ()
 
nsresult Initialize ()
 
void Finalize ()
 
- Public Member Functions inherited from sbIDirectoryEnumerator
void enumerate (in nsIFile aDirectory)
 Enumerate the directory specified by aDirectory. More...
 
boolean hasMoreElements ()
 Return true if more elements are available to enumerate. More...
 
nsIFile getNext ()
 Return the next file in the enumeration. More...
 

Additional Inherited Members

- Public Attributes inherited from sbIDirectoryEnumerator
attribute unsigned long maxDepth
 Maximum depth to which to enumerate. A depth of 0 will enumerate to an unlimited depth. A depth of 1 will enumerate only the base directory (same as getDirectoryEntries). More...
 
attribute boolean directoriesOnly
 If true, only return directories in getNext. More...
 
attribute boolean filesOnly
 If true, only return files in getNext. More...
 

Detailed Description

This class enumerates directories.

Definition at line 90 of file sbDirectoryEnumerator.h.

Constructor & Destructor Documentation

sbDirectoryEnumerator::sbDirectoryEnumerator ( )

Construct a Songbird directory enumerator object.

Definition at line 527 of file sbDirectoryEnumerator.cpp.

sbDirectoryEnumerator::~sbDirectoryEnumerator ( )
virtual

Destroy a Songbird directory enumerator object.

Definition at line 540 of file sbDirectoryEnumerator.cpp.

Here is the call graph for this function:

Member Function Documentation

void sbDirectoryEnumerator::Finalize ( )

Finalize the Songbird directory enumerator.

Definition at line 575 of file sbDirectoryEnumerator.cpp.

Here is the caller graph for this function:

nsresult sbDirectoryEnumerator::Initialize ( )

Initialize the Songbird directory enumerator.

Definition at line 552 of file sbDirectoryEnumerator.cpp.


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