STLSoft - ... Robust, Lightweight, Cross-platform, Template Software ... ATLSTL - Template Software for the Active Template Library COMSTL - The Standard Template Library meets the Component Object Model .netSTL - Standard Template Library meets the Microsoft.NET Common Language Runtime InetSTL - The Standard Template Library meets WinInet MFCSTL - Template Software for the Microsoft Foundation Classes UNIXSTL - Template Software for the UNIX Operating System WinSTL - where the Standard Template Library meets the Win32 API

Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

readdir_sequence Class Reference
[File-System Library (UNIXSTL)]

STL-like readonly sequence based on directory contents. More...

#include <unixstl_readdir_sequence.h>

List of all members.

Public Types

enum  {
  includeDots = 0x0008,
  directories = 0x0010,
  files = 0x0020
}

Public Methods

 readdir_sequence (us_char_a_t const *directory, us_uint_t flags=directories|files)
 Constructs a sequence according to the given criteria.

const_iterator begin () const
 Begins the iteration.

const_iterator end () const
 Ends the iteration.

us_bool_t empty () const
 Indicates whether the search sequence is empty.

string_type const & get_directory () const
 The search directory.


Detailed Description

STL-like readonly sequence based on directory contents.

This class presents and STL-like readonly sequence interface to allow the iteration over the contents of a directory.


Member Enumeration Documentation

anonymous enum
 

Enumeration values:
includeDots  Requests that dots directories be included in the returned sequence
directories  Causes the search to include directories
files  Causes the search to include files


The documentation for this class was generated from the following file:

STLSoft Libraries documentation © Synesis Software Pty Ltd, 2001-2004