clang  6.0.0svn
Public Member Functions | List of all members
clang::vfs::recursive_directory_iterator Class Reference

An input iterator over the recursive contents of a virtual path, similar to llvm::sys::fs::recursive_directory_iterator. More...

#include "clang/Basic/VirtualFileSystem.h"

Public Member Functions

 recursive_directory_iterator (FileSystem &FS, const Twine &Path, std::error_code &EC)
 
 recursive_directory_iterator ()=default
 Construct an 'end' iterator. More...
 
recursive_directory_iteratorincrement (std::error_code &EC)
 Equivalent to operator++, with an error code. More...
 
const Statusoperator* () const
 
const Statusoperator-> () const
 
bool operator== (const recursive_directory_iterator &Other) const
 
bool operator!= (const recursive_directory_iterator &RHS) const
 
int level () const
 Gets the current level. Starting path is at level 0. More...
 

Detailed Description

An input iterator over the recursive contents of a virtual path, similar to llvm::sys::fs::recursive_directory_iterator.

Definition at line 186 of file VirtualFileSystem.h.

Constructor & Destructor Documentation

◆ recursive_directory_iterator() [1/2]

vfs::recursive_directory_iterator::recursive_directory_iterator ( FileSystem FS,
const Twine &  Path,
std::error_code &  EC 
)

Definition at line 1874 of file VirtualFileSystem.cpp.

◆ recursive_directory_iterator() [2/2]

clang::vfs::recursive_directory_iterator::recursive_directory_iterator ( )
default

Construct an 'end' iterator.

Member Function Documentation

◆ increment()

vfs::recursive_directory_iterator & recursive_directory_iterator::increment ( std::error_code &  EC)

Equivalent to operator++, with an error code.

Definition at line 1886 of file VirtualFileSystem.cpp.

References End.

◆ level()

int clang::vfs::recursive_directory_iterator::level ( ) const
inline

Gets the current level. Starting path is at level 0.

Definition at line 213 of file VirtualFileSystem.h.

◆ operator!=()

bool clang::vfs::recursive_directory_iterator::operator!= ( const recursive_directory_iterator RHS) const
inline

Definition at line 208 of file VirtualFileSystem.h.

◆ operator*()

const Status& clang::vfs::recursive_directory_iterator::operator* ( ) const
inline

Definition at line 202 of file VirtualFileSystem.h.

◆ operator->()

const Status* clang::vfs::recursive_directory_iterator::operator-> ( ) const
inline

Definition at line 203 of file VirtualFileSystem.h.

◆ operator==()

bool clang::vfs::recursive_directory_iterator::operator== ( const recursive_directory_iterator Other) const
inline

Definition at line 205 of file VirtualFileSystem.h.


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