DirEntry Class Reference

#include <filedef.h>

Inheritance diagram for DirEntry:

Directory List of all members.

Public Types

enum  EntryKind { Dir, File }

Public Member Functions

 DirEntry (DirEntry *parent, FileDef *fd)
 DirEntry (DirEntry *parent, QCString name)
virtual ~DirEntry ()
EntryKind kind () const
FileDeffile () const
bool isLast () const
void setLast (bool b)
DirEntryparent () const
QCString name () const
QCString path () const

Protected Attributes

DirEntrym_parent
QCString m_name

Detailed Description

Definition at line 260 of file filedef.h.


Member Enumeration Documentation

enum DirEntry::EntryKind

Enumerator:
Dir 
File 

Definition at line 263 of file filedef.h.


Constructor & Destructor Documentation

DirEntry::DirEntry ( DirEntry parent,
FileDef fd 
) [inline]

Definition at line 264 of file filedef.h.

DirEntry::DirEntry ( DirEntry parent,
QCString  name 
) [inline]

Definition at line 267 of file filedef.h.

virtual DirEntry::~DirEntry (  )  [inline, virtual]

Definition at line 270 of file filedef.h.


Member Function Documentation

EntryKind DirEntry::kind (  )  const [inline]

Definition at line 271 of file filedef.h.

FileDef* DirEntry::file (  )  const [inline]

Definition at line 272 of file filedef.h.

bool DirEntry::isLast (  )  const [inline]

Definition at line 273 of file filedef.h.

void DirEntry::setLast ( bool  b  )  [inline]

Definition at line 274 of file filedef.h.

Referenced by Directory::addChild(), and generateFileTree().

DirEntry* DirEntry::parent (  )  const [inline]

Definition at line 275 of file filedef.h.

References m_parent.

Referenced by path(), and Directory::reParent().

QCString DirEntry::name (  )  const [inline]

Definition at line 276 of file filedef.h.

References m_name.

Referenced by path().

QCString DirEntry::path (  )  const [inline]

Definition at line 277 of file filedef.h.

References name(), parent(), and path().

Referenced by path().


Member Data Documentation

DirEntry* DirEntry::m_parent [protected]

Definition at line 280 of file filedef.h.

Referenced by parent(), and Directory::reParent().

QCString DirEntry::m_name [protected]

Definition at line 281 of file filedef.h.

Referenced by name(), and Directory::rename().


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



Generated on Mon Mar 31 10:58:57 2008 by  doxygen 1.5.1