basic_directory_iterator 클래스
Describes an input iterator that sequences through the file names in a file system directory. 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_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에서 파생된 형식 중 하나일 수 있습니다.
멤버
공용 Typedefs
Name |
설명 |
---|---|
basic_directory_iterator::path_type |
A synonym for template parameter Path. |
basic_directory_iterator::string_type |
A synonym for the string type Path::string_type. |
basic_directory_iterator::value_type |
이 basic_directory_entry<Path> 의 동의어입니다. |
Public 생성자
Name |
설명 |
---|---|
basic_directory_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