LLVM  10.0.0svn
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]
Collaboration diagram for llvm::vfs::detail::DirIterImpl:
Collaboration 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. More...
 

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 144 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::VFSFromYamlDirIterImpl.

Member Data Documentation

◆ CurrentEntry

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

Definition at line 151 of file VirtualFileSystem.h.

Referenced by llvm::vfs::VFSFromYamlDirIterImpl::increment().


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