LLVM 20.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]

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.
 
- Public Member Functions inherited from llvm::vfs::detail::DirIterImpl
virtual ~DirIterImpl ()
 
virtual std::error_code increment ()=0
 Sets CurrentEntry to the next entry in the directory on success, to directory_entry() at end, or returns a system-defined error_code.
 

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 1256 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 1287 of file VirtualFileSystem.cpp.

References End.

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 1294 of file VirtualFileSystem.cpp.


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