#include <winstl/system/searchpath_sequence.hpp>
C | The character type | |
T | The traits type. On translators that support default template arguments this defaults to filesystem_traits<C> |
Public Types | |
typedef C | char_type |
The character type. | |
typedef T | traits_type |
The traits type. | |
typedef basic_searchpath_sequence< C, T > | class_type |
The current parameterisation of the type. | |
typedef char_type const * | value_type |
The value type. | |
typedef value_type * | pointer |
The pointer type. | |
typedef value_type const * | const_pointer |
The non-mutable (const) pointer type. | |
typedef value_type & | reference |
The reference type. | |
typedef value_type const & | const_reference |
The non-mutable (const) reference type. | |
typedef size_t | size_type |
The size type. | |
typedef ws_ptrdiff_t | difference_type |
The difference type. | |
typedef stlsoft::pointer_iterator < value_type, const_pointer, const_reference >::type | const_iterator |
The non-mutating (const) iterator type. | |
Public Member Functions | |
basic_searchpath_sequence () | |
Determines the search path sequence for the calling process. | |
basic_searchpath_sequence (bool bIncludeApplicationDirectory, bool bIncludeCurrentDirectory, bool bApplicationDirectoryFirst=true) | |
Determines the search path sequence for the calling process. | |
~basic_searchpath_sequence () throw () | |
Releases any resources. | |
const_iterator | begin () const |
Begins the iteration. | |
const_iterator | end () const |
Ends the iteration. | |
size_type | size () const |
Returns the number of items in the sequence. | |
bool | empty () const |
Indicates whether the sequence is empty. | |
value_type | operator[] (size_type index) const |
Returns the item at the given index. | |
Static Public Member Functions | |
static size_type | max_size () |
Returns the maximum number of items in the sequence. |
typedef C char_type |
The character type.
typedef T traits_type |
The traits type.
typedef basic_searchpath_sequence<C, T> class_type |
The current parameterisation of the type.
typedef char_type const* value_type |
The value type.
typedef value_type* pointer |
The pointer type.
typedef value_type const* const_pointer |
The non-mutable (const) pointer type.
typedef value_type& reference |
The reference type.
typedef value_type const& const_reference |
The non-mutable (const) reference type.
typedef size_t size_type |
The size type.
typedef ws_ptrdiff_t difference_type |
The difference type.
typedef stlsoft:: pointer_iterator< value_type, const_pointer, const_reference>::type const_iterator |
The non-mutating (const) iterator type.
Determines the search path sequence for the calling process.
basic_searchpath_sequence | ( | bool | bIncludeApplicationDirectory, | |
bool | bIncludeCurrentDirectory, | |||
bool | bApplicationDirectoryFirst = true | |||
) |
Determines the search path sequence for the calling process.
bIncludeApplicationDirectory | If this is true the application directory is included in the search path sequence | |
bIncludeCurrentDirectory | If this is true the current directory is included in the search path sequence | |
bApplicationDirectoryFirst | If this is true the process directory is placed before the current directory in the search (the normal loading sequence). If not, then the current directory comes first. |
~basic_searchpath_sequence | ( | ) | throw () |
Releases any resources.
const_iterator begin | ( | ) | const |
Begins the iteration.
const_iterator end | ( | ) | const |
Ends the iteration.
size_type size | ( | ) | const |
Returns the number of items in the sequence.
bool empty | ( | ) | const |
Indicates whether the sequence is empty.
static size_type max_size | ( | ) | [static] |
Returns the maximum number of items in the sequence.
value_type operator[] | ( | size_type | index | ) | const |
Returns the item at the given index.