Kyoto Cabinet
|
Directory stream abstraction. More...
#include <kcfile.h>
Public Member Functions | |
DirStream () | |
Default constructor. | |
~DirStream () | |
Destructor. | |
bool | open (const std::string &path) |
Open a directory. | |
bool | close () |
Close the file. | |
bool | read (std::string *path) |
Read the next file in the directory. |
Directory stream abstraction.
kyotocabinet::DirStream::DirStream | ( | ) | [explicit] |
Default constructor.
Destructor.
bool kyotocabinet::DirStream::open | ( | const std::string & | path | ) |
Open a directory.
path | the path of a directory. |
bool kyotocabinet::DirStream::close | ( | ) |
Close the file.
bool kyotocabinet::DirStream::read | ( | std::string * | path | ) |
Read the next file in the directory.
path | a string to store the file path. |