class VFSFromYamlDirIterImpl

Declaration

class VFSFromYamlDirIterImpl : public DirIterImpl { /* full declaration omitted */ };

Description

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

Declared at: llvm/lib/Support/VirtualFileSystem.cpp:1004

Inherits from: DirIterImpl

Member Variables

Inherited from DirIterImpl:

public CurrentEntry

Method Overview

  • public VFSFromYamlDirIterImpl(const llvm::Twine & Path, RedirectingFileSystem::RedirectingDirectoryEntry::iterator Begin, RedirectingFileSystem::RedirectingDirectoryEntry::iterator End, bool IterateExternalFS, llvm::vfs::FileSystem & ExternalFS, std::error_code & EC)
  • public std::error_code increment()

Inherited from DirIterImpl:

Methods

VFSFromYamlDirIterImpl(
    const llvm::Twine& Path,
    RedirectingFileSystem::
        RedirectingDirectoryEntry::iterator Begin,
    RedirectingFileSystem::
        RedirectingDirectoryEntry::iterator End,
    bool IterateExternalFS,
    llvm::vfs::FileSystem& ExternalFS,
    std::error_code& EC)

Description

@ }

Declared at: llvm/lib/Support/VirtualFileSystem.cpp:1037

Parameters

const llvm::Twine& Path
RedirectingFileSystem::RedirectingDirectoryEntry:: iterator Begin
RedirectingFileSystem::RedirectingDirectoryEntry:: iterator End
bool IterateExternalFS
llvm::vfs::FileSystem& ExternalFS
std::error_code& EC

std::error_code increment()

Description

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

Declared at: llvm/lib/Support/VirtualFileSystem.cpp:1043