G::DirectoryIteratorImp Class Reference

A pimple-pattern implementation class for DirectoryIterator. More...

List of all members.

Public Member Functions

 DirectoryIteratorImp (const Directory &dir, const std::string &wildcard)
 ~DirectoryIteratorImp ()
bool isDir () const
bool more ()
bool error () const
std::string modificationTimeString () const
std::string sizeString () const
Path filePath () const
Path fileName () const


Detailed Description

A pimple-pattern implementation class for DirectoryIterator.

Definition at line 42 of file gdirectory_unix_glob.cpp.


Constructor & Destructor Documentation

G::DirectoryIteratorImp::DirectoryIteratorImp ( const Directory dir,
const std::string &  wildcard 
)

G::DirectoryIteratorImp::~DirectoryIteratorImp (  ) 

Definition at line 189 of file gdirectory_unix_glob.cpp.


Member Function Documentation

bool G::DirectoryIteratorImp::isDir (  )  const

Definition at line 183 of file gdirectory_unix_glob.cpp.

References filePath(), and G::Directory::valid().

Referenced by G::DirectoryIterator::isDir().

bool G::DirectoryIteratorImp::more (  ) 

Definition at line 153 of file gdirectory_unix_glob.cpp.

Referenced by G::DirectoryIterator::more().

bool G::DirectoryIteratorImp::error (  )  const

Definition at line 148 of file gdirectory_unix_glob.cpp.

Referenced by DirectoryIteratorImp(), and G::DirectoryIterator::error().

std::string G::DirectoryIteratorImp::modificationTimeString (  )  const

std::string G::DirectoryIteratorImp::sizeString (  )  const

Definition at line 200 of file gdirectory_unix_glob.cpp.

References filePath(), s, and G::File::sizeString().

Referenced by G::DirectoryIterator::sizeString().

G::Path G::DirectoryIteratorImp::filePath (  )  const

G::Path G::DirectoryIteratorImp::fileName (  )  const

Definition at line 178 of file gdirectory_unix_glob.cpp.

References filePath().

Referenced by G::DirectoryIterator::fileName().


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

Generated on Fri Apr 18 15:56:13 2008 for E-MailRelay by  doxygen 1.5.5