LLVM API Documentation
#include <FileSystem.h>
Public Member Functions | |
directory_iterator (const Twine &path, std::error_code &ec) | |
directory_iterator (const directory_entry &de, std::error_code &ec) | |
directory_iterator () | |
Construct end iterator. | |
directory_iterator & | increment (std::error_code &ec) |
const directory_entry & | operator* () const |
const directory_entry * | operator-> () const |
bool | operator== (const directory_iterator &RHS) const |
bool | operator!= (const directory_iterator &RHS) const |
directory_iterator - Iterates through the entries in path. There is no operator++ because we need an error_code. If it's really needed we can make it call report_fatal_error on error.
Definition at line 753 of file FileSystem.h.
llvm::sys::fs::directory_iterator::directory_iterator | ( | const Twine & | path, |
std::error_code & | ec | ||
) | [inline, explicit] |
Definition at line 757 of file FileSystem.h.
References directory_iterator().
llvm::sys::fs::directory_iterator::directory_iterator | ( | const directory_entry & | de, |
std::error_code & | ec | ||
) | [inline, explicit] |
Definition at line 764 of file FileSystem.h.
Construct end iterator.
Definition at line 770 of file FileSystem.h.
References llvm::sys::fs::detail::directory_iterator_construct(), and llvm::sys::fs::directory_entry::path().
Referenced by directory_iterator().
directory_iterator& llvm::sys::fs::directory_iterator::increment | ( | std::error_code & | ec | ) | [inline] |
Definition at line 773 of file FileSystem.h.
bool llvm::sys::fs::directory_iterator::operator!= | ( | const directory_iterator & | RHS | ) | const [inline] |
Definition at line 791 of file FileSystem.h.
const directory_entry& llvm::sys::fs::directory_iterator::operator* | ( | ) | const [inline] |
Definition at line 778 of file FileSystem.h.
const directory_entry* llvm::sys::fs::directory_iterator::operator-> | ( | ) | const [inline] |
Definition at line 779 of file FileSystem.h.
References llvm::sys::fs::detail::directory_iterator_increment().
bool llvm::sys::fs::directory_iterator::operator== | ( | const directory_iterator & | RHS | ) | const [inline] |
Definition at line 781 of file FileSystem.h.