|
|
|
|
|
|
|
|
|
|
|
|||||||
Compounds | |
| class | basic_current_directory |
| Represents the current directory. More... | |
| class | basic_current_directory_scope |
| Current directory scoping class. More... | |
| class | basic_file_path_buffer |
| Acts as a buffer with sufficient size for any drive on the host machine. More... | |
| class | basic_path |
| Represents a path. More... | |
| class | const_iterator |
| Iterator for readdir_sequence class. More... | |
| struct | filesystem_traits |
| Traits class for file-system operations. More... | |
| class | glob_sequence |
| STL-like readonly sequence based on the results of file-system wildcard matches. More... | |
| class | glob_sequence_exception |
| The exception-type thrown by the glob_sequence. More... | |
| class | readdir_sequence |
| STL-like readonly sequence based on directory contents. More... | |
Construction | |
| glob_sequence (char_type const *pattern, us_uint_t flags=noSort) | |
| Constructs a sequence according to the given criteria. | |
| glob_sequence (char_type const *directory, char_type const *pattern, us_uint_t flags=noSort) | |
| Constructs a sequence according to the given criteria. | |
Attributes | |
| us_size_t | size () const |
| Returns the number of elements in the sequence. | |
| us_bool_t | empty () const |
| Indicates whether the search sequence is empty. | |
| const value_type | operator[] (size_type index) const |
| Returns the value corresponding to the given index. | |
Iteration | |
| const_iterator | begin () const |
| Begins the iteration. | |
| const_iterator | end () const |
| Ends the iteration. | |
| const_reverse_iterator | rbegin () const |
| Begins the reverse iteration. | |
| const_reverse_iterator | rend () const |
| Ends the reverse iteration. | |
Typedefs | |
| typedef basic_current_directory< us_char_a_t, filesystem_traits< us_char_a_t > > | current_directory_a |
Instantiation of the basic_current_directory template for the ANSI character type char. | |
| typedef basic_current_directory< us_char_w_t, filesystem_traits< us_char_w_t > > | current_directory_w |
Instantiation of the basic_current_directory template for the Unicode character type wchar_t. | |
| typedef basic_current_directory_scope< us_char_a_t, filesystem_traits< us_char_a_t > > | current_directory_scope_a |
Instantiation of the basic_current_directory_scope template for the ANSI character type char. | |
| typedef basic_current_directory_scope< us_char_w_t, filesystem_traits< us_char_w_t > > | current_directory_scope_w |
Instantiation of the basic_current_directory_scope template for the Unicode character type wchar_t. | |
| typedef basic_file_path_buffer< us_char_a_t,::stlsoft::malloc_allocator< us_char_a_t > > | file_path_buffer_a |
Instantiation of the basic_file_path_buffer template for the ANSI character type char. | |
| typedef basic_file_path_buffer< us_char_w_t,::stlsoft::malloc_allocator< us_char_w_t > > | file_path_buffer_w |
Instantiation of the basic_file_path_buffer template for the Unicode character type wchar_t. | |
| typedef basic_path< us_char_a_t, filesystem_traits< us_char_a_t > > | path_a |
Instantiation of the basic_path template for the ANSI character type char. | |
| typedef basic_path< us_char_w_t, filesystem_traits< us_char_w_t > > | path_w |
Instantiation of the basic_path template for the Unicode character type wchar_t. | |
Functions | |
| template<typename C> basic_path< C > | make_path (C const *path) |
| This helper function makes a path variable without needing to qualify the template parameter. | |
| 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. | |
| const_iterator () | |
| Default constructor. | |
| const_iterator (class_type const &rhs) | |
| Copy constructor. | |
| ~const_iterator () unixstl_throw_0() | |
| Release the search handle. | |
| class_type const & | operator= (class_type const &rhs) |
| Copy assignment operator. | |
| value_type | operator * () const |
| Returns the value representative. | |
| class_type & | operator++ () |
| Moves the iteration on to the next point in the sequence, or end() if the sequence is exhausted. | |
| class_type | operator++ (int) |
| Post-increment form of operator++(). | |
| bool | operator== (class_type const &rhs) const |
Compares this for equality with rhs. | |
| bool | operator!= (class_type const &rhs) const |
Compares this for inequality with rhs. | |
|
|
Instantiation of the basic_current_directory template for the ANSI character type
|
|
|
Instantiation of the basic_current_directory_scope template for the ANSI character type
|
|
|
Instantiation of the basic_current_directory_scope template for the Unicode character type
|
|
|
Instantiation of the basic_current_directory template for the Unicode character type
|
|
|
Instantiation of the basic_file_path_buffer template for the ANSI character type
|
|
|
Instantiation of the basic_file_path_buffer template for the Unicode character type
|
|
|
Instantiation of the basic_path template for the ANSI character type
|
|
|
Instantiation of the basic_path template for the Unicode character type
|
|
|
Begins the iteration.
|
|
|
Begins the iteration.
|
|
|
Copy constructor.
|
|
|
Default constructor.
|
|
|
Indicates whether the search sequence is empty.
|
|
|
Indicates whether the search sequence is empty.
|
|
|
Ends the iteration.
|
|
|
Ends the iteration.
|
|
|
The search directory.
|
|
||||||||||||||||
|
Constructs a sequence according to the given criteria. The constructor initialises a glob_sequence instance on the given pattern with the given flags.
|
|
||||||||||||
|
Constructs a sequence according to the given criteria. The constructor initialises a glob_sequence instance on the given pattern with the given flags.
|
|
|
This helper function makes a path variable without needing to qualify the template parameter.
|
|
|
Returns the value representative.
|
|
|
Compares
|
|
|
Post-increment form of operator++().
|
|
|
Moves the iteration on to the next point in the sequence, or end() if the sequence is exhausted.
|
|
|
Copy assignment operator.
|
|
|
Compares
|
|
|
Returns the value corresponding to the given index.
|
|
|
Begins the reverse iteration.
|
|
||||||||||||
|
Constructs a sequence according to the given criteria. The constructor initialises a readdir_sequence instance on the given directory with the given flags.
|
|
|
Ends the reverse iteration.
|
|
|
Returns the number of elements in the sequence.
|
|
|
Release the search handle.
|
|
|
| STLSoft Libraries documentation © Synesis Software Pty Ltd, 2001-2004 |