clang  6.0.0svn
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
clang::vfs::detail::InMemoryDirectory Class Reference
Inheritance diagram for clang::vfs::detail::InMemoryDirectory:
Inheritance graph
[legend]
Collaboration diagram for clang::vfs::detail::InMemoryDirectory:
Collaboration graph
[legend]

Public Member Functions

 InMemoryDirectory (Status Stat)
 
InMemoryNodegetChild (StringRef Name)
 
InMemoryNodeaddChild (StringRef Name, std::unique_ptr< InMemoryNode > Child)
 
const_iterator begin () const
 
const_iterator end () const
 
std::string toString (unsigned Indent) const override
 
- Public Member Functions inherited from clang::vfs::detail::InMemoryNode
 InMemoryNode (Status Stat, InMemoryNodeKind Kind)
 
virtual ~InMemoryNode ()
 
const StatusgetStatus () const
 
InMemoryNodeKind getKind () const
 

Static Public Member Functions

static bool classof (const InMemoryNode *N)
 

Public Attributes

decltype(Entries) typedef ::const_iterator const_iterator
 

Detailed Description

Definition at line 447 of file VirtualFileSystem.cpp.

Constructor & Destructor Documentation

◆ InMemoryDirectory()

clang::vfs::detail::InMemoryDirectory::InMemoryDirectory ( Status  Stat)
inline

Definition at line 451 of file VirtualFileSystem.cpp.

Member Function Documentation

◆ addChild()

InMemoryNode* clang::vfs::detail::InMemoryDirectory::addChild ( StringRef  Name,
std::unique_ptr< InMemoryNode Child 
)
inline

Definition at line 459 of file VirtualFileSystem.cpp.

◆ begin()

const_iterator clang::vfs::detail::InMemoryDirectory::begin ( ) const
inline

Definition at line 465 of file VirtualFileSystem.cpp.

◆ classof()

static bool clang::vfs::detail::InMemoryDirectory::classof ( const InMemoryNode N)
inlinestatic

◆ end()

const_iterator clang::vfs::detail::InMemoryDirectory::end ( ) const
inline

Definition at line 466 of file VirtualFileSystem.cpp.

◆ getChild()

InMemoryNode* clang::vfs::detail::InMemoryDirectory::getChild ( StringRef  Name)
inline

Definition at line 453 of file VirtualFileSystem.cpp.

◆ toString()

std::string clang::vfs::detail::InMemoryDirectory::toString ( unsigned  Indent) const
inlineoverridevirtual

Implements clang::vfs::detail::InMemoryNode.

Definition at line 468 of file VirtualFileSystem.cpp.

Member Data Documentation

◆ const_iterator

decltype(Entries) typedef ::const_iterator clang::vfs::detail::InMemoryDirectory::const_iterator

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