#include <stlsoft/filesystem/searchspec_sequence.hpp>
Member Types | |
typedef S | find_sequence_type |
The underlying find sequence type. | |
typedef searchspec_sequence< S > | class_type |
The current parameterisation of the type. | |
typedef find_sequence_type::char_type | char_type |
The character type. | |
typedef find_sequence_type::value_type | value_type |
The value type. | |
typedef find_sequence_type::size_type | size_type |
The size type. | |
typedef find_sequence_type::const_reference | const_reference |
The non-mutable (const) reference type. | |
Public Member Functions | |
Construction | |
searchspec_sequence (char_type const *searchSpec, char_type delimiter) | |
Creates a search sequence for the given search specification and delimiter. | |
searchspec_sequence (char_type const *searchSpec, char_type delimiter, int flags) | |
Creates a search sequence for the given search specification, delimiter and flags. | |
searchspec_sequence (char_type const *rootDir, char_type const *searchSpec, char_type delimiter) | |
Creates a search sequence for the given root directory, search specification and delimiter. | |
searchspec_sequence (char_type const *rootDir, char_type const *searchSpec, char_type delimiter, int flags) | |
Creates a search sequence for the given root directory, search specification, delimiter and flags. | |
Iteration | |
const_iterator | begin () const |
Begins the iteration. | |
const_iterator | end () const |
Ends the iteration. | |
Attributes | |
bool | empty () const |
Indicates whether the sequence is empty. | |
Classes | |
class | const_iterator |
The const_iterator type for the searchspec_sequence. More... | |
struct | search_state |
typedef S find_sequence_type |
The underlying find sequence type.
typedef searchspec_sequence<S> class_type |
The current parameterisation of the type.
typedef find_sequence_type::char_type char_type |
The character type.
typedef find_sequence_type::value_type value_type |
The value type.
typedef find_sequence_type::size_type size_type |
The size type.
typedef find_sequence_type::const_reference const_reference |
The non-mutable (const) reference type.
searchspec_sequence | ( | char_type const * | searchSpec, | |
char_type | delimiter | |||
) | [inline] |
Creates a search sequence for the given search specification and delimiter.
searchSpec | The multi-filter search specification, e.g. "*.cpp", "*.d:makefile:*.java" | |
delimiter | The delimiter to use, e.g. ':' |
searchspec_sequence | ( | char_type const * | searchSpec, | |
char_type | delimiter, | |||
int | flags | |||
) | [inline] |
Creates a search sequence for the given search specification, delimiter and flags.
searchSpec | The multi-filter search specification, e.g. "*.cpp", "*.d:makefile:*.java" | |
delimiter | The delimiter to use, e.g. ':' | |
flags | Flags specific to the underlying sequence |
searchspec_sequence | ( | char_type const * | rootDir, | |
char_type const * | searchSpec, | |||
char_type | delimiter | |||
) | [inline] |
Creates a search sequence for the given root directory, search specification and delimiter.
rootDir | The root directory of the search | |
searchSpec | The multi-filter search specification, e.g. "*.cpp", "*.d:makefile:*.java" | |
delimiter | The delimiter to use, e.g. ':' |
searchspec_sequence | ( | char_type const * | rootDir, | |
char_type const * | searchSpec, | |||
char_type | delimiter, | |||
int | flags | |||
) | [inline] |
Creates a search sequence for the given root directory, search specification, delimiter and flags.
rootDir | The root directory of the search | |
searchSpec | The multi-filter search specification, e.g. "*.cpp", "*.d:makefile:*.java" | |
delimiter | The delimiter to use, e.g. ':' | |
flags | Flags specific to the underlying sequence |
const_iterator begin | ( | ) | const [inline] |
Begins the iteration.
References basic_simple_string::c_str(), and stlsoft::c_str_ptr().
Referenced by searchspec_sequence::empty().
const_iterator end | ( | ) | const [inline] |
Ends the iteration.
Referenced by searchspec_sequence::empty().
bool empty | ( | ) | const [inline] |
Indicates whether the sequence is empty.
References searchspec_sequence::begin(), and searchspec_sequence::end().