LLVM  16.0.0git
Public Member Functions | List of all members
llvm::vfs::InMemoryFileSystem::DirIterator Class Reference

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

Inheritance diagram for llvm::vfs::InMemoryFileSystem::DirIterator:
Inheritance graph
[legend]
Collaboration diagram for llvm::vfs::InMemoryFileSystem::DirIterator:
Collaboration graph
[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. 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

Adaptor from InMemoryDir::iterator to directory_iterator.

Definition at line 1070 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

Definition at line 1108 of file VirtualFileSystem.cpp.

References I.

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

References I.


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