LLVM: llvm::vfs::detail::InMemoryNode Class Reference (original) (raw)

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

Inheritance diagram for llvm::vfs::detail::InMemoryNode:

Public Member Functions
InMemoryNode (llvm::StringRef FileName, InMemoryNodeKind Kind)
virtual ~InMemoryNode ()=default
virtual Status getStatus (const Twine &RequestedName) const =0
Return the Status for this node.
StringRef getFileName () const
Get the filename of this node (the name without the directory part).
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, symlink, hardlink or a directory.

Definition at line 641 of file VirtualFileSystem.cpp.

Constructor & Destructor Documentation

~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 657 of file VirtualFileSystem.cpp.

getKind()

getStatus()

virtual Status llvm::vfs::detail::InMemoryNode::getStatus ( const Twine & RequestedName) const pure virtual

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: