LLVM  8.0.1
Public Member Functions | List of all members
llvm::vfs::detail::InMemoryNode Class Referenceabstract

The in memory file system is a tree of Nodes. More...

Inheritance diagram for llvm::vfs::detail::InMemoryNode:
Inheritance graph
[legend]

Public Member Functions

 InMemoryNode (llvm::StringRef FileName, InMemoryNodeKind Kind)
 
virtual ~InMemoryNode ()=default
 
StringRef getFileName () const
 Get the filename of this node (the name without the directory part). More...
 
InMemoryNodeKind getKind () const
 
virtual std::string toString (unsigned Indent) const =0
 

Detailed Description

The in memory file system is a tree of Nodes.

Every node can either be a file , hardlink or a directory.

Definition at line 487 of file VirtualFileSystem.cpp.

Constructor & Destructor Documentation

◆ InMemoryNode()

llvm::vfs::detail::InMemoryNode::InMemoryNode ( llvm::StringRef  FileName,
InMemoryNodeKind  Kind 
)
inline

Definition at line 492 of file VirtualFileSystem.cpp.

◆ ~InMemoryNode()

virtual llvm::vfs::detail::InMemoryNode::~InMemoryNode ( )
virtualdefault

Member Function Documentation

◆ getFileName()

StringRef llvm::vfs::detail::InMemoryNode::getFileName ( ) const
inline

Get the filename of this node (the name without the directory part).

Definition at line 497 of file VirtualFileSystem.cpp.

◆ getKind()

InMemoryNodeKind llvm::vfs::detail::InMemoryNode::getKind ( ) const
inline

◆ toString()

virtual std::string llvm::vfs::detail::InMemoryNode::toString ( unsigned  Indent) const
pure virtual

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