LLVM  10.0.0svn
Public Types | Public Member Functions | Static Public Member Functions | List of all members
llvm::vfs::RedirectingFileSystem::RedirectingFileEntry Class Reference

#include "llvm/Support/VirtualFileSystem.h"

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

Public Types

enum  NameKind { NK_NotSet, NK_External, NK_Virtual }
 

Public Member Functions

 RedirectingFileEntry (StringRef Name, StringRef ExternalContentsPath, NameKind UseName)
 
StringRef getExternalContentsPath () const
 
bool useExternalName (bool GlobalUseExternalName) const
 whether to use the external path as the name for this file. More...
 
NameKind getUseName () const
 
- 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 619 of file VirtualFileSystem.h.

Member Enumeration Documentation

◆ NameKind

Enumerator
NK_NotSet 
NK_External 
NK_Virtual 

Definition at line 621 of file VirtualFileSystem.h.

Constructor & Destructor Documentation

◆ RedirectingFileEntry()

llvm::vfs::RedirectingFileSystem::RedirectingFileEntry::RedirectingFileEntry ( StringRef  Name,
StringRef  ExternalContentsPath,
NameKind  UseName 
)
inline

Definition at line 628 of file VirtualFileSystem.h.

Member Function Documentation

◆ classof()

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

◆ getExternalContentsPath()

StringRef llvm::vfs::RedirectingFileSystem::RedirectingFileEntry::getExternalContentsPath ( ) const
inline

Definition at line 633 of file VirtualFileSystem.h.

◆ getUseName()

NameKind llvm::vfs::RedirectingFileSystem::RedirectingFileEntry::getUseName ( ) const
inline

Definition at line 641 of file VirtualFileSystem.h.

◆ useExternalName()

bool llvm::vfs::RedirectingFileSystem::RedirectingFileEntry::useExternalName ( bool  GlobalUseExternalName) const
inline

whether to use the external path as the name for this file.

Definition at line 636 of file VirtualFileSystem.h.


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