LLVM  14.0.0git
Public Member Functions | List of all members
llvm::vfs::RedirectingFSDirIterImpl Class Reference

Directory iterator implementation for RedirectingFileSystem's directory entries. More...

Inheritance diagram for llvm::vfs::RedirectingFSDirIterImpl:
Inheritance graph
[legend]
Collaboration diagram for llvm::vfs::RedirectingFSDirIterImpl:
Collaboration graph
[legend]

Public Member Functions

 RedirectingFSDirIterImpl (const Twine &Path, RedirectingFileSystem::DirectoryEntry::iterator Begin, RedirectingFileSystem::DirectoryEntry::iterator End, std::error_code &EC)
 
std::error_code increment () override
 Sets CurrentEntry to the next entry in the directory on success, to directory_entry() at end, or returns a system-defined error_code. More...
 
- Public Member Functions inherited from llvm::vfs::detail::DirIterImpl
virtual ~DirIterImpl ()
 

Additional Inherited Members

- Public Attributes inherited from llvm::vfs::detail::DirIterImpl
directory_entry CurrentEntry
 

Detailed Description

Directory iterator implementation for RedirectingFileSystem's directory entries.

Definition at line 1077 of file VirtualFileSystem.cpp.

Constructor & Destructor Documentation

◆ RedirectingFSDirIterImpl()

llvm::vfs::RedirectingFSDirIterImpl::RedirectingFSDirIterImpl ( const Twine Path,
RedirectingFileSystem::DirectoryEntry::iterator  Begin,
RedirectingFileSystem::DirectoryEntry::iterator  End,
std::error_code &  EC 
)
inline

Definition at line 1108 of file VirtualFileSystem.cpp.

Member Function Documentation

◆ increment()

std::error_code llvm::vfs::RedirectingFSDirIterImpl::increment ( )
inlineoverridevirtual

Sets CurrentEntry to the next entry in the directory on success, to directory_entry() at end, or returns a system-defined error_code.

Implements llvm::vfs::detail::DirIterImpl.

Definition at line 1115 of file VirtualFileSystem.cpp.


The documentation for this class was generated from the following file: