ldas-tools-al
2.6.7
|
Read the contents of a directory. More...
#include <Directory.hh>
Public Types | |
enum | mode_type { MODE_BLOCKING , MODE_NON_BLOCKING , MODE_BLOCKING , MODE_NON_BLOCKING , MODE_BLOCKING , MODE_NON_BLOCKING } |
Enumerated type specifying the blocking mode. More... | |
enum | mode_type { MODE_BLOCKING , MODE_NON_BLOCKING , MODE_BLOCKING , MODE_NON_BLOCKING , MODE_BLOCKING , MODE_NON_BLOCKING } |
Enumerated type specifying the blocking mode. More... | |
enum | mode_type { MODE_BLOCKING , MODE_NON_BLOCKING , MODE_BLOCKING , MODE_NON_BLOCKING , MODE_BLOCKING , MODE_NON_BLOCKING } |
Enumerated type specifying the blocking mode. More... | |
Public Member Functions | |
Directory (const std::string &DirName, bool OpenDirectory=true) | |
Constructor. More... | |
~Directory () | |
Destructor. More... | |
void | Close () |
Close the directory. | |
bool | Next () |
Directory (const std::string &DirName, bool OpenDirectory=true) | |
Constructor. More... | |
~Directory () | |
Destructor. More... | |
void | Close () |
Close the directory. | |
bool | Next () |
Directory (const std::string &DirName, bool OpenDirectory=true) | |
Constructor. More... | |
~Directory () | |
Destructor. More... | |
void | Close () |
Close the directory. | |
bool | Next () |
Static Public Member Functions | |
static int | Timeout () |
Retrieve the number of seconds any one of the calls should take. | |
static void | Timeout (int Value) |
Specify the number of seconds any one of the calls should take. | |
static int | Timeout () |
Retrieve the number of seconds any one of the calls should take. | |
static void | Timeout (int Value) |
Specify the number of seconds any one of the calls should take. | |
static int | Timeout () |
Retrieve the number of seconds any one of the calls should take. | |
static void | Timeout (int Value) |
Specify the number of seconds any one of the calls should take. | |
Read the contents of a directory.
This provides a system independent interface to reading the the contents of a directory. It can operate in a blocking or non-blocking mode. By default, it operates in non-blocking mode.
Enumerated type specifying the blocking mode.
This is used by the Mode method to specify the blocking mode the subsequent calls should operate in.
Enumerated type specifying the blocking mode.
This is used by the Mode method to specify the blocking mode the subsequent calls should operate in.
Enumerated type specifying the blocking mode.
This is used by the Mode method to specify the blocking mode the subsequent calls should operate in.
LDASTools::AL::Directory::Directory | ( | const std::string & | DirName, |
bool | OpenDirectory = true |
||
) |
Constructor.
Construct a new instance of this object.
LDASTools::AL::Directory::~Directory | ( | ) |
Destructor.
Release resources back to the system.
LDASTools::AL::Directory::Directory | ( | const std::string & | DirName, |
bool | OpenDirectory = true |
||
) |
Constructor.
Construct a new instance of this object.
LDASTools::AL::Directory::~Directory | ( | ) |
Destructor.
Release resources back to the system.
LDASTools::AL::Directory::Directory | ( | const std::string & | DirName, |
bool | OpenDirectory = true |
||
) |
Constructor.
Construct a new instance of this object.
LDASTools::AL::Directory::~Directory | ( | ) |
Destructor.
Release resources back to the system.
bool LDASTools::AL::Directory::Next | ( | ) |
Retrieve the next entry. returns true if a valid entry was found, false otherwise
bool LDASTools::AL::Directory::Next | ( | ) |
Retrieve the next entry. returns true if a valid entry was found, false otherwise
bool LDASTools::AL::Directory::Next | ( | ) |
Retrieve the next entry. returns true if a valid entry was found, false otherwise