#include <winstl/filesystem/findfile_sequence.hpp>
Member Types | |
typedef C | char_type |
The character type. | |
typedef T | traits_type |
The traits type. | |
typedef basic_findfile_sequence_value_type < C, T > | class_type |
The current parameterisation of the type. | |
typedef traits_type::find_data_type | find_data_type |
The find-data type. | |
typedef sequence_type::size_type | size_type |
The size type. | |
Construction | |
basic_findfile_sequence_value_type () | |
Default constructor. | |
class_type & | operator= (class_type const &rhs) |
Copy assignment operator. | |
Public Member Functions | |
Accessors | |
find_data_type const & | get_find_data () const |
Returns a non-mutating reference to find-data. | |
char_type const * | get_filename () const |
Returns the filename part of the item. | |
char_type const * | get_short_filename () const |
Returns the short form of the filename part of the item. | |
char_type const * | get_path () const |
Returns the full path of the item. | |
char_type const * | c_str () const |
Returns the full path of the item. | |
size_t | length () const |
Returns the length of the full path. | |
operator char_type const * () const | |
Implicit conversion to a pointer-to-const of the full path. | |
bool | is_directory () const |
Indicates whether the entry is a directory. | |
bool | is_file () const |
Indicates whether the entry is a file. | |
bool | is_compressed () const |
Indicates whether the entry is compressed. | |
bool | is_read_only () const |
Indicates whether the entry is read-only. | |
bool | is_system () const |
Indicates whether the entry is a system file/directory. | |
bool | is_hidden () const |
Indicates whether the entry is hidden. | |
Comparison | |
bool | equal (char_type const *rhs) const |
Determines whether the instance is equal to the given path. | |
bool | equal (class_type const &rhs) const |
Determines whether two instances are equal. |
typedef C char_type |
The character type.
typedef T traits_type |
The traits type.
typedef basic_findfile_sequence_value_type<C, T> class_type |
The current parameterisation of the type.
typedef traits_type::find_data_type find_data_type |
The find-data type.
typedef sequence_type::size_type size_type |
The size type.
Default constructor.
class_type& operator= | ( | class_type const & | rhs | ) |
Copy assignment operator.
find_data_type const& get_find_data | ( | ) | const |
Returns a non-mutating reference to find-data.
char_type const* get_filename | ( | ) | const |
Returns the filename part of the item.
char_type const* get_short_filename | ( | ) | const |
Returns the short form of the filename part of the item.
char_type const* get_path | ( | ) | const |
Returns the full path of the item.
char_type const* c_str | ( | ) | const |
Returns the full path of the item.
size_t length | ( | ) | const |
Returns the length of the full path.
operator char_type const * | ( | ) | const |
Implicit conversion to a pointer-to-const of the full path.
bool is_directory | ( | ) | const |
Indicates whether the entry is a directory.
bool is_file | ( | ) | const |
Indicates whether the entry is a file.
bool is_compressed | ( | ) | const |
Indicates whether the entry is compressed.
bool is_read_only | ( | ) | const |
Indicates whether the entry is read-only.
bool is_system | ( | ) | const |
Indicates whether the entry is a system file/directory.
bool is_hidden | ( | ) | const |
Indicates whether the entry is hidden.
bool equal | ( | char_type const * | rhs | ) | const |
Determines whether the instance is equal to the given path.
bool equal | ( | class_type const & | rhs | ) | const |
Determines whether two instances are equal.