LLVM  8.0.1
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 603 of file VirtualFileSystem.h.

Member Enumeration Documentation

◆ NameKind

Enumerator
NK_NotSet 
NK_External 
NK_Virtual 

Definition at line 605 of file VirtualFileSystem.h.

Constructor & Destructor Documentation

◆ RedirectingFileEntry()

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

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

◆ getUseName()

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

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


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