#include <inetstl/filesystem/findfile_sequence.hpp>
C | The character type | |
T | The traits type. On translators that support default template arguments this defaults to filesystem_traits<C> |
Member Types | |
typedef C | char_type |
The character type. | |
typedef X | exception_policy_type |
The exception policy type. | |
typedef exception_policy_type::thrown_type | thrown_type |
The type thrown. | |
typedef T | traits_type |
The traits type. | |
typedef basic_findfile_sequence< C, T, X > | class_type |
The current parameterisation of the type. | |
typedef basic_findfile_sequence_value_type < C, T, X > | value_type |
The value type. | |
typedef basic_findfile_sequence_const_input_iterator < C, T, X, value_type > | const_input_iterator |
The non-mutating (const) iterator type supporting the Input Iterator concept. | |
typedef const_input_iterator | const_iterator |
The non-mutating (const) iterator type. | |
typedef value_type & | reference |
The reference type. | |
typedef value_type const & | const_reference |
The non-mutable (const) reference type. | |
typedef traits_type::find_data_type | find_data_type |
The find-data type. | |
typedef is_ptrdiff_t | difference_type |
The difference type. | |
typedef size_t | size_type |
The size type. | |
typedef bool | bool_type |
The Boolean type. | |
State | |
bool_type | empty () const |
Indicates whether the sequence is empty. | |
static size_type | max_size () |
Returns the maximum number of items in the sequence. | |
Public Types | |
Member Constants | |
enum | search_flags { includeDots = 0x0008, directories = 0x0010, files = 0x0020 } |
Public Member Functions | |
Construction | |
basic_findfile_sequence (HINTERNET hconn, char_type const *pattern, flags_type flags=directories|files) | |
Commence a search according to the given search pattern and flags. | |
basic_findfile_sequence (HINTERNET hconn, char_type const *directory, char_type const *pattern, flags_type flags=directories|files) | |
Commence a search according to the given search pattern and flags, relative to directory . | |
basic_findfile_sequence (HINTERNET hconn, char_type const *directory, char_type const *patterns, char_type delim, flags_type flags=directories|files) | |
Commence a search according to the given search pattern and flags, relative to directory . | |
~basic_findfile_sequence () throw () | |
Destructor. | |
Iteration | |
const_iterator | begin () const |
Begins the iteration. | |
const_iterator | end () const |
Ends the iteration. | |
Attributes | |
char_type const * | get_directory (size_type *pn=NULL) const |
Returns the directory of the search. |
typedef C char_type |
The character type.
typedef X exception_policy_type |
The exception policy type.
typedef exception_policy_type::thrown_type thrown_type |
The type thrown.
typedef T traits_type |
The traits type.
typedef basic_findfile_sequence<C, T, X> class_type |
The current parameterisation of the type.
typedef basic_findfile_sequence_value_type<C, T, X> value_type |
The value type.
typedef basic_findfile_sequence_const_input_iterator<C, T, X, value_type> const_input_iterator |
The non-mutating (const) iterator type supporting the Input Iterator concept.
typedef const_input_iterator const_iterator |
The non-mutating (const) iterator type.
typedef value_type& reference |
The reference type.
typedef value_type const& const_reference |
The non-mutable (const) reference type.
typedef traits_type::find_data_type find_data_type |
The find-data type.
typedef is_ptrdiff_t difference_type |
The difference type.
typedef size_t size_type |
The size type.
typedef bool bool_type |
The Boolean type.
enum search_flags |
basic_findfile_sequence | ( | HINTERNET | hconn, | |
char_type const * | pattern, | |||
flags_type | flags = directories|files | |||
) |
Commence a search according to the given search pattern and flags.
basic_findfile_sequence | ( | HINTERNET | hconn, | |
char_type const * | directory, | |||
char_type const * | pattern, | |||
flags_type | flags = directories|files | |||
) |
Commence a search according to the given search pattern and flags, relative to directory
.
basic_findfile_sequence | ( | HINTERNET | hconn, | |
char_type const * | directory, | |||
char_type const * | patterns, | |||
char_type | delim, | |||
flags_type | flags = directories|files | |||
) |
Commence a search according to the given search pattern and flags, relative to directory
.
~basic_findfile_sequence | ( | ) | throw () |
Destructor.
const_iterator begin | ( | ) | const |
Begins the iteration.
Referenced by basic_ftpdir_sequence::basic_ftpdir_sequence().
const_iterator end | ( | ) | const |
Ends the iteration.
Referenced by basic_ftpdir_sequence::basic_ftpdir_sequence().
Returns the directory of the search.
bool_type empty | ( | ) | const |
Indicates whether the sequence is empty.
static size_type max_size | ( | ) | [static] |
Returns the maximum number of items in the sequence.