class InMemoryDirectory
Declaration
class InMemoryDirectory : public InMemoryNode { /* full declaration omitted */ };
Description
The in memory file system is a tree of Nodes. Every node can either be a file , hardlink or a directory.
Declared at: llvm/lib/Support/VirtualFileSystem.cpp:622
Inherits from: InMemoryNode
Method Overview
- public InMemoryDirectory(llvm::vfs::Status Stat)
- public llvm::vfs::detail::InMemoryNode * addChild(llvm::StringRef Name, std::unique_ptr<InMemoryNode> Child)
- public llvm::vfs::detail::InMemoryDirectory::const_iterator begin() const
- public static bool classof(const llvm::vfs::detail::InMemoryNode * N)
- public llvm::vfs::detail::InMemoryDirectory::const_iterator end() const
- public llvm::vfs::detail::InMemoryNode * getChild(llvm::StringRef Name)
- public llvm::vfs::Status getStatus(const llvm::Twine & RequestedName) const
- public std::string toString(unsigned int Indent) const
Inherited from InMemoryNode:
Methods
¶InMemoryDirectory(llvm::vfs::Status Stat)
InMemoryDirectory(llvm::vfs::Status Stat)
Declared at: llvm/lib/Support/VirtualFileSystem.cpp:627
Parameters
- llvm::vfs::Status Stat
¶llvm::vfs::detail::InMemoryNode* addChild(
llvm::StringRef Name,
std::unique_ptr<InMemoryNode> Child)
llvm::vfs::detail::InMemoryNode* addChild(
llvm::StringRef Name,
std::unique_ptr<InMemoryNode> Child)
Declared at: llvm/lib/Support/VirtualFileSystem.cpp:643
Parameters
- llvm::StringRef Name
- std::unique_ptr<InMemoryNode> Child
¶llvm::vfs::detail::InMemoryDirectory::
const_iterator
begin() const
llvm::vfs::detail::InMemoryDirectory::
const_iterator
begin() const
Declared at: llvm/lib/Support/VirtualFileSystem.cpp:650
¶static bool classof(
const llvm::vfs::detail::InMemoryNode* N)
static bool classof(
const llvm::vfs::detail::InMemoryNode* N)
Declared at: llvm/lib/Support/VirtualFileSystem.cpp:661
Parameters
- const llvm::vfs::detail::InMemoryNode* N
¶llvm::vfs::detail::InMemoryDirectory::
const_iterator
end() const
llvm::vfs::detail::InMemoryDirectory::
const_iterator
end() const
Declared at: llvm/lib/Support/VirtualFileSystem.cpp:651
¶llvm::vfs::detail::InMemoryNode* getChild(
llvm::StringRef Name)
llvm::vfs::detail::InMemoryNode* getChild(
llvm::StringRef Name)
Declared at: llvm/lib/Support/VirtualFileSystem.cpp:636
Parameters
- llvm::StringRef Name
¶llvm::vfs::Status getStatus(
const llvm::Twine& RequestedName) const
llvm::vfs::Status getStatus(
const llvm::Twine& RequestedName) const
Description
Return the \p Status for this node. \p RequestedName should be the name through which the caller referred to this node. It will override\p Status::Name in the return value, to mimic the behavior of \p RealFile.
Declared at: llvm/lib/Support/VirtualFileSystem.cpp:633
Parameters
- const llvm::Twine& RequestedName
¶std::string toString(unsigned int Indent) const
std::string toString(unsigned int Indent) const
Declared at: llvm/lib/Support/VirtualFileSystem.cpp:653
Parameters
- unsigned int Indent