LLVM: llvm::vfs::RedirectingFileSystem::DirectoryEntry Class Reference (original) (raw)

A directory in the vfs with explicitly specified contents. More...

#include "[llvm/Support/VirtualFileSystem.h](VirtualFileSystem%5F8h%5Fsource.html)"

Public Types
using iterator = decltype(Contents)::iterator
Public Member Functions
DirectoryEntry (StringRef Name, std::vector< std::unique_ptr< Entry > > Contents, Status S)
Constructs a directory entry with explicitly specified contents.
DirectoryEntry (StringRef Name, Status S)
Constructs an empty directory entry.
Status getStatus ()
void addContent (std::unique_ptr< Entry > Content)
Entry * getLastContent () const
iterator contents_begin ()
iterator contents_end ()
Public Member Functions inherited from llvm::vfs::RedirectingFileSystem::Entry
Entry (EntryKind K, StringRef Name)
virtual ~Entry ()=default
StringRef getName () const
EntryKind getKind () const

A directory in the vfs with explicitly specified contents.

Definition at line 826 of file VirtualFileSystem.h.

iterator

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

DirectoryEntry() [2/2]

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

addContent()

void llvm::vfs::RedirectingFileSystem::DirectoryEntry::addContent ( std::unique_ptr< Entry > Content) inline

classof()

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

contents_begin()

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

contents_end()

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

getLastContent()

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

getStatus()

Status llvm::vfs::RedirectingFileSystem::DirectoryEntry::getStatus ( ) inline

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