Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members | File Members

DirectoryEntry Class Reference

A 'DirectoryEntry' is a file or a folder. More...

#include <DirectoryEntry.h>

List of all members.

Public Member Functions

 DirectoryEntry (const wxString &sNewPath, const wxString &sNewName, DirectoryEntrySortKey desNew, int nTextSortFlags)
bool operator< (const DirectoryEntry &dreOther) const
wxString GetPathName () const
wxString GetName () const
DirectoryEntryType GetType () const
bool IsHidden () const
bool CanExecute () const
int GetPermissions () const
time_t GetModificationTime () const
wxString GetDescription () const
int GetImageIndex () const
wxString GetFileType () const
bool Activate () const
bool CacheValues ()

Protected Member Functions

wxString GetCompareName () const

Private Member Functions

bool CompareByName (const DirectoryEntry &dreOther) const
bool CompareByModificationDate (const DirectoryEntry &dreOther) const

Private Attributes

wxString m_sPathName
wxString m_sPath
wxString m_sName
DirectoryEntryType m_det
bool m_bIsHidden
DirectoryEntrySortKey m_des
bool m_bCaseSensitive
bool m_bIgnoreHiddenDots
wxString m_sCompareName
bool m_bCacheValuesLoaded
wxString m_sDescription
int m_nImageIndex
wxString m_sFileType


class DirectoryEntryArray

Detailed Description

A 'DirectoryEntry' is a file or a folder.

Each item in a DirectoryView is contained in a 'DirectoryEntry'.

Definition at line 70 of file DirectoryEntry.h.

Constructor & Destructor Documentation

DirectoryEntry::DirectoryEntry const wxString &  sNewPath,
const wxString &  sNewName,
DirectoryEntrySortKey  desNew,
int  nTextSortFlags

Member Function Documentation

bool DirectoryEntry::Activate  )  const

bool DirectoryEntry::CacheValues  ) 

bool DirectoryEntry::CanExecute  )  const

bool DirectoryEntry::CompareByModificationDate const DirectoryEntry dreOther  )  const [private]

bool DirectoryEntry::CompareByName const DirectoryEntry dreOther  )  const [private]

wxString DirectoryEntry::GetCompareName  )  const [protected]

wxString DirectoryEntry::GetDescription  )  const

wxString DirectoryEntry::GetFileType  )  const

int DirectoryEntry::GetImageIndex  )  const

time_t DirectoryEntry::GetModificationTime  )  const

wxString DirectoryEntry::GetName  )  const

wxString DirectoryEntry::GetPathName  )  const

int DirectoryEntry::GetPermissions  )  const

DirectoryEntryType DirectoryEntry::GetType  )  const

bool DirectoryEntry::IsHidden  )  const

bool DirectoryEntry::operator< const DirectoryEntry dreOther  )  const

Friends And Related Function Documentation

friend class DirectoryEntryArray [friend]

Definition at line 73 of file DirectoryEntry.h.

Member Data Documentation

bool DirectoryEntry::m_bCacheValuesLoaded [private]

Definition at line 123 of file DirectoryEntry.h.

bool DirectoryEntry::m_bCaseSensitive [private]

Definition at line 117 of file DirectoryEntry.h.

bool DirectoryEntry::m_bIgnoreHiddenDots [private]

Definition at line 118 of file DirectoryEntry.h.

bool DirectoryEntry::m_bIsHidden [private]

Definition at line 114 of file DirectoryEntry.h.

DirectoryEntrySortKey DirectoryEntry::m_des [private]

Definition at line 116 of file DirectoryEntry.h.

DirectoryEntryType DirectoryEntry::m_det [private]

Definition at line 113 of file DirectoryEntry.h.

int DirectoryEntry::m_nImageIndex [private]

Definition at line 126 of file DirectoryEntry.h.

wxString DirectoryEntry::m_sCompareName [private]

Definition at line 122 of file DirectoryEntry.h.

wxString DirectoryEntry::m_sDescription [private]

Definition at line 125 of file DirectoryEntry.h.

wxString DirectoryEntry::m_sFileType [private]

Definition at line 127 of file DirectoryEntry.h.

wxString DirectoryEntry::m_sName [private]

Definition at line 112 of file DirectoryEntry.h.

wxString DirectoryEntry::m_sPath [private]

Definition at line 111 of file DirectoryEntry.h.

wxString DirectoryEntry::m_sPathName [private]

Definition at line 110 of file DirectoryEntry.h.

struct STRUCT_STAT DirectoryEntry::m_st [private]

Definition at line 128 of file DirectoryEntry.h.

The documentation for this class was generated from the following file:
Generated on Wed Jan 25 08:14:48 2006 for Sherpa by doxygen 1.3.6