LLVM  8.0.1
Public Types | Public Member Functions | Static Public Member Functions | List of all members
llvm::vfs::RedirectingFileSystem::RedirectingDirectoryEntry Class Reference

#include "llvm/Support/VirtualFileSystem.h"

Inheritance diagram for llvm::vfs::RedirectingFileSystem::RedirectingDirectoryEntry:
Inheritance graph
[legend]
Collaboration diagram for llvm::vfs::RedirectingFileSystem::RedirectingDirectoryEntry:
Collaboration graph
[legend]

Public Types

using iterator = decltype(Contents)::iterator
 

Public Member Functions

 RedirectingDirectoryEntry (StringRef Name, std::vector< std::unique_ptr< Entry >> Contents, Status S)
 
 RedirectingDirectoryEntry (StringRef Name, Status S)
 
Status getStatus ()
 
void addContent (std::unique_ptr< Entry > Content)
 
EntrygetLastContent () 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
 

Static Public Member Functions

static bool classof (const Entry *E)
 

Detailed Description

Definition at line 574 of file VirtualFileSystem.h.

Member Typedef Documentation

◆ iterator

Definition at line 595 of file VirtualFileSystem.h.

Constructor & Destructor Documentation

◆ RedirectingDirectoryEntry() [1/2]

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

Definition at line 579 of file VirtualFileSystem.h.

◆ RedirectingDirectoryEntry() [2/2]

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

Definition at line 584 of file VirtualFileSystem.h.

Member Function Documentation

◆ addContent()

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

Definition at line 589 of file VirtualFileSystem.h.

◆ classof()

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

◆ contents_begin()

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

Definition at line 597 of file VirtualFileSystem.h.

◆ contents_end()

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

Definition at line 598 of file VirtualFileSystem.h.

◆ getLastContent()

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

Definition at line 593 of file VirtualFileSystem.h.

◆ getStatus()

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

Definition at line 587 of file VirtualFileSystem.h.


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