LLVM  mainline
Public Member Functions
llvm::sys::fs::directory_entry Class Reference

#include <FileSystem.h>

List of all members.

Public Member Functions

 directory_entry (const Twine &path, file_status st=file_status())
 directory_entry ()
void assign (const Twine &path, file_status st=file_status())
void replace_filename (const Twine &filename, file_status st=file_status())
const std::string & path () const
std::error_code status (file_status &result) const
bool operator== (const directory_entry &rhs) const
bool operator!= (const directory_entry &rhs) const
bool operator< (const directory_entry &rhs) const
bool operator<= (const directory_entry &rhs) const
bool operator> (const directory_entry &rhs) const
bool operator>= (const directory_entry &rhs) const

Detailed Description

directory_entry - A single entry in a directory. Caches the status either from the result of the iteration syscall, or the first time status is called.

Definition at line 672 of file FileSystem.h.

Constructor & Destructor Documentation

Definition at line 677 of file FileSystem.h.

Definition at line 681 of file FileSystem.h.

Member Function Documentation

Definition at line 683 of file FileSystem.h.

bool llvm::sys::fs::directory_entry::operator!= ( const directory_entry rhs) const [inline]

Definition at line 694 of file FileSystem.h.

bool llvm::sys::fs::directory_entry::operator< ( const directory_entry rhs) const
bool llvm::sys::fs::directory_entry::operator<= ( const directory_entry rhs) const
bool llvm::sys::fs::directory_entry::operator== ( const directory_entry rhs) const [inline]

Definition at line 693 of file FileSystem.h.

bool llvm::sys::fs::directory_entry::operator> ( const directory_entry rhs) const
bool llvm::sys::fs::directory_entry::operator>= ( const directory_entry rhs) const
const std::string& llvm::sys::fs::directory_entry::path ( ) const [inline]

Definition at line 690 of file FileSystem.h.

Referenced by llvm::sys::fs::directory_iterator::directory_iterator().

std::error_code llvm::sys::fs::directory_entry::status ( file_status result) const

Definition at line 1062 of file Path.cpp.

References llvm::sys::fs::status().

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