shevek_dir3
Get information about files in a directory.
Usage
#include <dir.hh>
Classes
struct file
Information about a single file in a directory.
Public Types
typedef std::set< file > store
Storage of the files. typedef store::const_iterator const_iterator
Iterator for looping over the files.
Public Member Functions
dir ()
Create an empty directory object. dir (std::string const &path)
Create a directory object and load content into it. void load (std::string const &path)
Load new content into an existing directory object. const_iterator begin () const
Loop over the files. const_iterator end () const
Loop over the files. unsigned size () const
Number of files in the directory.
Detailed Description
Get information about files in a directory.
Releases
2 releases since Debian 7 (Wheezy); the text changed 1 time.