LLVM  14.0.0git
Public Member Functions | List of all members
RedirectingFSDirRemapIterImpl Class Reference

Directory iterator implementation for RedirectingFileSystem's directory remap entries that maps the paths reported by the external file system's directory iterator back to the virtual directory's path. More...

Inheritance diagram for RedirectingFSDirRemapIterImpl:
Inheritance graph
[legend]
Collaboration diagram for RedirectingFSDirRemapIterImpl:
Collaboration graph
[legend]

Public Member Functions

 RedirectingFSDirRemapIterImpl (std::string DirPath, llvm::vfs::directory_iterator ExtIter)
 
void setCurrentEntry ()
 
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 remap entries that maps the paths reported by the external file system's directory iterator back to the virtual directory's path.

Definition at line 1123 of file VirtualFileSystem.cpp.

Constructor & Destructor Documentation

◆ RedirectingFSDirRemapIterImpl()

RedirectingFSDirRemapIterImpl::RedirectingFSDirRemapIterImpl ( std::string  DirPath,
llvm::vfs::directory_iterator  ExtIter 
)
inline

Definition at line 1129 of file VirtualFileSystem.cpp.

Member Function Documentation

◆ increment()

std::error_code RedirectingFSDirRemapIterImpl::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 1148 of file VirtualFileSystem.cpp.

References llvm::vfs::directory_iterator::increment().

◆ setCurrentEntry()

void RedirectingFSDirRemapIterImpl::setCurrentEntry ( )
inline

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