---
name: "shevek_dir"
section: "3"
platform: "linux"
package: "libshevek-doc"
version: "1.4-1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/shevek_dir"
---

# shevek\_dir(3)

Get information about files in a directory.

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