LLVM 22.0.0git
llvm::vfs::InMemoryFileSystem::DirIterator Class Reference

Adaptor from InMemoryDir::iterator to directory_iterator. More...

Inheritance diagram for llvm::vfs::InMemoryFileSystem::DirIterator:
[legend]

Public Member Functions

 DirIterator ()=default
 DirIterator (const InMemoryFileSystem *FS, const detail::InMemoryDirectory &Dir, std::string RequestedDirName)
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 ()

Additional Inherited Members

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

Detailed Description

Adaptor from InMemoryDir::iterator to directory_iterator.

Definition at line 1105 of file VirtualFileSystem.cpp.

Constructor & Destructor Documentation

◆ DirIterator() [1/2]

llvm::vfs::InMemoryFileSystem::DirIterator::DirIterator ( )
default

◆ DirIterator() [2/2]

llvm::vfs::InMemoryFileSystem::DirIterator::DirIterator ( const InMemoryFileSystem * FS,
const detail::InMemoryDirectory & Dir,
std::string RequestedDirName )
inline

Member Function Documentation

◆ increment()

std::error_code llvm::vfs::InMemoryFileSystem::DirIterator::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 1151 of file VirtualFileSystem.cpp.


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