Scroll to navigation

shevek::dir(3) Library Functions Manual shevek::dir(3)

NAME

shevek::dir -

Get information about files in a directory.

SYNOPSIS

#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.

Author

Generated automatically by Doxygen for libshevek from the source code.

Wed Jul 9 2014 libshevek