basic_recursive_directory_iterator 클래스
Describes an input iterator that sequences through the file names in a file system directory. The iterator can also descend into subdirectories. For an iterator X, the expression *X evaluates to a basic_directory_entry object that wraps a file name and anything that's known about the status of the associated file.
template<class Path>
class basic_recursive_directory_iterator : public iterator<input_iterator_tag, basic_directory_entry<Path>>;
설명
The class stores an object of type Path, which represents the current file name in the directory sequence. Path는 basic_path 또는 basic_path에서 파생된 형식 중 하나일 수 있습니다.
The class also stores a bool that indicates whether recursive descent into subdirectories is inhibited.
멤버
공용 Typedefs
Name |
설명 |
---|---|
basic_recursive_directory_iterator::char_type |
이 string_type::value_type 의 동의어입니다. |
basic_recursive_directory_iterator::path_type |
A synonym for template parameter Path. |
basic_recursive_directory_iterator::pointer |
이 value_type* 의 동의어입니다. |
basic_recursive_directory_iterator::string_type |
A synonym for the string type Path::string_type. |
basic_recursive_directory_iterator::value_type |
이 basic_directory_entry<Path> 의 동의어입니다. |
Public 생성자
Name |
설명 |
---|---|
basic_recursive_directory_iterator::basic_recursive_directory_iterator 생성자 |
basic_recursive_directory_iterator 개체를 생성합니다. |
Public 메서드
Name |
설명 |
---|---|
Returns the number of levels that the iterator has descended into the directory hierarchy. |
|
Prohibits descent into subdirectories. |
|
Discontinues reading in the current subdirectory and increments the iterator. |
Public 연산자
Name |
설명 |
---|---|
Retrieves the stored Path object. |
|
Reads and stores the next Path object. |
|
Assignment operator for the current Path object. |
|
&**this를 반환합니다. |
요구 사항
헤더: filesystem
네임스페이스: std::tr2::sys