LLVM 19.0.0git
Public Member Functions | Public Attributes | List of all members
llvm::vfs::detail::DirIterImpl Struct Referenceabstract

An interface for virtual file systems to provide an iterator over the (non-recursive) contents of a directory. More...

#include "llvm/Support/VirtualFileSystem.h"

Inheritance diagram for llvm::vfs::detail::DirIterImpl:
Inheritance graph
[legend]

Public Member Functions

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.
 

Public Attributes

directory_entry CurrentEntry
 

Detailed Description

An interface for virtual file systems to provide an iterator over the (non-recursive) contents of a directory.

Definition at line 166 of file VirtualFileSystem.h.

Constructor & Destructor Documentation

◆ ~DirIterImpl()

llvm::vfs::detail::DirIterImpl::~DirIterImpl ( )
virtualdefault

Member Function Documentation

◆ increment()

virtual std::error_code llvm::vfs::detail::DirIterImpl::increment ( )
pure virtual

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

Implemented in llvm::vfs::InMemoryFileSystem::DirIterator, and llvm::vfs::RedirectingFSDirIterImpl.

Member Data Documentation

◆ CurrentEntry

directory_entry llvm::vfs::detail::DirIterImpl::CurrentEntry

Definition at line 173 of file VirtualFileSystem.h.


The documentation for this struct was generated from the following files: