LLVM API Documentation

Public Member Functions
llvm::sys::fs::recursive_directory_iterator Class Reference

#include <FileSystem.h>

List of all members.

Public Member Functions

 recursive_directory_iterator ()
 recursive_directory_iterator (const Twine &path, std::error_code &ec)
recursive_directory_iteratorincrement (std::error_code &ec)
const directory_entryoperator* () const
const directory_entryoperator-> () const
int level () const
 Gets the current level. Starting path is at level 0.
bool no_push_request () const
 Returns true if no_push has been called for this directory_entry.
void pop ()
 Goes up one level if Level > 0.
void no_push ()
 Does not go down into the current directory_entry.
bool operator== (const recursive_directory_iterator &RHS) const
bool operator!= (const recursive_directory_iterator &RHS) const

Detailed Description

recursive_directory_iterator - Same as directory_iterator except for it recurses down into child directories.

Definition at line 814 of file FileSystem.h.


Constructor & Destructor Documentation

Definition at line 818 of file FileSystem.h.

Referenced by recursive_directory_iterator().

llvm::sys::fs::recursive_directory_iterator::recursive_directory_iterator ( const Twine path,
std::error_code &  ec 
) [inline, explicit]

Definition at line 819 of file FileSystem.h.

References recursive_directory_iterator().


Member Function Documentation

Definition at line 826 of file FileSystem.h.

References llvm::IntrusiveRefCntPtr< T >::reset().

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

Definition at line 863 of file FileSystem.h.

Does not go down into the current directory_entry.

Definition at line 890 of file FileSystem.h.

Returns true if no_push has been called for this directory_entry.

Definition at line 866 of file FileSystem.h.

bool llvm::sys::fs::recursive_directory_iterator::operator!= ( const recursive_directory_iterator RHS) const [inline]

Definition at line 896 of file FileSystem.h.

const directory_entry& llvm::sys::fs::recursive_directory_iterator::operator* ( ) const [inline]

Definition at line 858 of file FileSystem.h.

const directory_entry* llvm::sys::fs::recursive_directory_iterator::operator-> ( ) const [inline]

Definition at line 859 of file FileSystem.h.

bool llvm::sys::fs::recursive_directory_iterator::operator== ( const recursive_directory_iterator RHS) const [inline]

Definition at line 892 of file FileSystem.h.

Goes up one level if Level > 0.

Definition at line 870 of file FileSystem.h.


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