class RedirectingFileSystem::DirectoryEntry

Declaration

class RedirectingFileSystem::DirectoryEntry : public Entry { /* full declaration omitted */ };

Description

A directory in the vfs with explicitly specified contents.

Declared at: llvm/include/llvm/Support/VirtualFileSystem.h:762

Inherits from: RedirectingFileSystem::Entry

Member Variables

private std::vector<std::unique_ptr<Entry>> Contents
private llvm::vfs::Status S

Method Overview

  • public DirectoryEntry(llvm::StringRef Name, std::vector<std::unique_ptr<Entry>> Contents, llvm::vfs::Status S)
  • public DirectoryEntry(llvm::StringRef Name, llvm::vfs::Status S)
  • public void addContent(std::unique_ptr<Entry> Content)
  • public static bool classof(const llvm::vfs::RedirectingFileSystem::Entry * E)
  • public llvm::vfs::RedirectingFileSystem::DirectoryEntry::iterator contents_begin()
  • public llvm::vfs::RedirectingFileSystem::DirectoryEntry::iterator contents_end()
  • public llvm::vfs::RedirectingFileSystem::Entry * getLastContent() const
  • public llvm::vfs::Status getStatus()

Inherited from RedirectingFileSystem::Entry:

Methods

DirectoryEntry(
    llvm::StringRef Name,
    std::vector<std::unique_ptr<Entry>> Contents,
    llvm::vfs::Status S)

Description

Constructs a directory entry with explicitly specified contents.

Declared at: llvm/include/llvm/Support/VirtualFileSystem.h:768

Parameters

llvm::StringRef Name
std::vector<std::unique_ptr<Entry>> Contents
llvm::vfs::Status S

DirectoryEntry(llvm::StringRef Name,
               llvm::vfs::Status S)

Description

Constructs an empty directory entry.

Declared at: llvm/include/llvm/Support/VirtualFileSystem.h:774

Parameters

llvm::StringRef Name
llvm::vfs::Status S

void addContent(std::unique_ptr<Entry> Content)

Declared at: llvm/include/llvm/Support/VirtualFileSystem.h:779

Parameters

std::unique_ptr<Entry> Content

static bool classof(
    const llvm::vfs::RedirectingFileSystem::Entry*
        E)

Declared at: llvm/include/llvm/Support/VirtualFileSystem.h:790

Parameters

const llvm::vfs::RedirectingFileSystem::Entry* E

llvm::vfs::RedirectingFileSystem::DirectoryEntry::
    iterator
    contents_begin()

Declared at: llvm/include/llvm/Support/VirtualFileSystem.h:787

llvm::vfs::RedirectingFileSystem::DirectoryEntry::
    iterator
    contents_end()

Declared at: llvm/include/llvm/Support/VirtualFileSystem.h:788

llvm::vfs::RedirectingFileSystem::Entry*
getLastContent() const

Declared at: llvm/include/llvm/Support/VirtualFileSystem.h:783

llvm::vfs::Status getStatus()

Declared at: llvm/include/llvm/Support/VirtualFileSystem.h:777