#include <dir_sys.h>
Public Member Functions | |
virtual FalconData * | clone () const |
virtual void | close ()=0 |
DirEntry (const String &path) | |
virtual void | gcMark (uint32 mark) |
uint32 | lastError () const |
const String & | path () const |
virtual bool | read (String &fname)=0 |
Protected Attributes | |
uint32 | m_lastError |
String | m_path |
This class encapsulate one directory entry, that is, one name found in directory searches.
It has methods to read the next entry and to close the search.
Falcon::DirEntry::DirEntry | ( | const String & | path | ) | [inline] |
virtual FalconData* Falcon::DirEntry::clone | ( | ) | const [inline, virtual] |
Implements Falcon::FalconData.
virtual void Falcon::DirEntry::close | ( | ) | [pure virtual] |
Implemented in Falcon::DirEntry_unix, and Falcon::DirEntry_win.
virtual void Falcon::DirEntry::gcMark | ( | uint32 | mark | ) | [inline, virtual] |
Implements Falcon::FalconData.
uint32 Falcon::DirEntry::lastError | ( | ) | const [inline] |
References m_lastError.
virtual bool Falcon::DirEntry::read | ( | String & | fname | ) | [pure virtual] |
Implemented in Falcon::DirEntry_unix, and Falcon::DirEntry_win.
uint32 Falcon::DirEntry::m_lastError [protected] |
String Falcon::DirEntry::m_path [protected] |
Referenced by path().