clang API Documentation

Public Member Functions | Friends
clang::FileEntry Class Reference

#include <FileManager.h>

List of all members.

Public Member Functions

 FileEntry (dev_t device, ino_t inode, mode_t m)
 FileEntry ()
 FileEntry (const FileEntry &FE)
void operator= (const FileEntry &FE)
 ~FileEntry ()
const char * getName () const
off_t getSize () const
unsigned getUID () const
ino_t getInode () const
dev_t getDevice () const
time_t getModificationTime () const
mode_t getFileMode () const
const DirectoryEntrygetDir () const
bool operator< (const FileEntry &RHS) const

Friends

class FileManager

Detailed Description

FileEntry - Cached information about one file (either on the disk or in the virtual file system). If the 'FD' member is valid, then this FileEntry has an open file descriptor for the file.

Definition at line 58 of file FileManager.h.


Constructor & Destructor Documentation

clang::FileEntry::FileEntry ( dev_t  device,
ino_t  inode,
mode_t  m 
) [inline]

Definition at line 74 of file FileManager.h.

clang::FileEntry::FileEntry ( ) [inline]

Definition at line 77 of file FileManager.h.

clang::FileEntry::FileEntry ( const FileEntry FE) [inline]

Definition at line 79 of file FileManager.h.

FileEntry::~FileEntry ( )

Definition at line 54 of file FileManager.cpp.


Member Function Documentation

dev_t clang::FileEntry::getDevice ( ) const [inline]

Definition at line 95 of file FileManager.h.

Referenced by clang::TextDiagnostic::emitDiagnosticLoc().

const DirectoryEntry* clang::FileEntry::getDir ( ) const [inline]
mode_t clang::FileEntry::getFileMode ( ) const [inline]

Definition at line 97 of file FileManager.h.

Referenced by clang::TextDiagnostic::emitDiagnosticLoc().

ino_t clang::FileEntry::getInode ( ) const [inline]

Definition at line 94 of file FileManager.h.

Referenced by clang::TextDiagnostic::emitDiagnosticLoc().

time_t clang::FileEntry::getModificationTime ( ) const [inline]
const char* clang::FileEntry::getName ( ) const [inline]
off_t clang::FileEntry::getSize ( ) const [inline]
unsigned clang::FileEntry::getUID ( ) const [inline]
bool clang::FileEntry::operator< ( const FileEntry RHS) const [inline]

Definition at line 103 of file FileManager.h.

void clang::FileEntry::operator= ( const FileEntry FE) [inline]

Definition at line 84 of file FileManager.h.


Friends And Related Function Documentation

friend class FileManager [friend]

Definition at line 71 of file FileManager.h.


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