LLVM  10.0.0svn
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 590 of file VirtualFileSystem.h.

Member Typedef Documentation

◆ iterator

Definition at line 611 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 595 of file VirtualFileSystem.h.

◆ RedirectingDirectoryEntry() [2/2]

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

Definition at line 600 of file VirtualFileSystem.h.

Member Function Documentation

◆ addContent()

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

Definition at line 605 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 613 of file VirtualFileSystem.h.

◆ contents_end()

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

Definition at line 614 of file VirtualFileSystem.h.

◆ getLastContent()

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

Definition at line 609 of file VirtualFileSystem.h.

◆ getStatus()

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

Definition at line 603 of file VirtualFileSystem.h.


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