cPictureEntry Class Reference

#include <entry.h>

Inheritance diagram for cPictureEntry:

Inheritance graph
[legend]
Collaboration diagram for cPictureEntry:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 cPictureEntry (const char *Name, const cPictureEntry *Parent, bool IsDirectory)
virtual ~cPictureEntry ()
virtual int Compare (const cListObject &ListObject) const
const char * Name (void) const
const cPictureEntryParent (void) const
bool IsDirectory (void) const
cString Path (void) const
const cList< cPictureEntry > * Entries (void) const
const cPictureEntryFirstPicture (void) const
const cPictureEntryLastPicture (void) const
const cPictureEntryPrevPicture (const cPictureEntry *This=NULL) const
const cPictureEntryNextPicture (const cPictureEntry *This=NULL) const

Private Member Functions

void Load (void) const

Private Attributes

char * name
const cPictureEntryparent
bool isDirectory
cList< cPictureEntry > * entries


Detailed Description

Definition at line 14 of file entry.h.


Constructor & Destructor Documentation

cPictureEntry::cPictureEntry ( const char *  Name,
const cPictureEntry Parent,
bool  IsDirectory 
)

Definition at line 11 of file entry.c.

References entries, isDirectory, name, and parent.

Referenced by Load().

cPictureEntry::~cPictureEntry (  )  [virtual]

Definition at line 19 of file entry.c.

References entries, and name.


Member Function Documentation

void cPictureEntry::Load ( void   )  const [private]

Definition at line 43 of file entry.c.

References cListBase::Add(), AddDirectory(), cPictureEntry(), entries, isDirectory, LOG_ERROR_STR, cReadDir::Next(), cReadDir::Ok(), Path(), and cListBase::Sort().

Referenced by Entries(), FirstPicture(), and LastPicture().

Here is the call graph for this function:

int cPictureEntry::Compare ( const cListObject ListObject  )  const [virtual]

Must return 0 if this object is equal to ListObject, a positive value if it is "greater", and a negative value if it is "smaller".

Reimplemented from cListObject.

Definition at line 25 of file entry.c.

References IsDirectory(), and name.

Here is the call graph for this function:

const char* cPictureEntry::Name ( void   )  const [inline]

Definition at line 25 of file entry.h.

References name.

Referenced by cPictureMenu::cPictureMenu(), and cPictureControl::DisplayCaption().

const cPictureEntry* cPictureEntry::Parent ( void   )  const [inline]

bool cPictureEntry::IsDirectory ( void   )  const [inline]

cString cPictureEntry::Path ( void   )  const

Definition at line 38 of file entry.c.

References AddDirectory(), name, parent, and Path().

Referenced by cPictureControl::DisplayCaption(), Load(), cPictureControl::NextDirectory(), cPictureControl::NextPicture(), and Path().

Here is the call graph for this function:

const cList< cPictureEntry > * cPictureEntry::Entries ( void   )  const

Definition at line 68 of file entry.c.

References entries, and Load().

Referenced by cPictureControl::NextDirectory(), cPictureMenu::SelectItem(), and cPictureMenu::Set().

Here is the call graph for this function:

const cPictureEntry * cPictureEntry::FirstPicture ( void   )  const

Definition at line 74 of file entry.c.

References entries, cList< T >::First(), Load(), and cList< T >::Next().

Referenced by NextPicture().

Here is the call graph for this function:

const cPictureEntry * cPictureEntry::LastPicture ( void   )  const

Definition at line 91 of file entry.c.

References entries, cList< T >::Last(), Load(), and cList< T >::Prev().

Referenced by PrevPicture().

Here is the call graph for this function:

const cPictureEntry * cPictureEntry::PrevPicture ( const cPictureEntry This = NULL  )  const

Definition at line 108 of file entry.c.

References entries, IsDirectory(), LastPicture(), parent, cList< T >::Prev(), and PrevPicture().

Referenced by cPictureControl::NextDirectory(), cPictureControl::NextPicture(), and PrevPicture().

Here is the call graph for this function:

const cPictureEntry * cPictureEntry::NextPicture ( const cPictureEntry This = NULL  )  const

Definition at line 127 of file entry.c.

References entries, FirstPicture(), IsDirectory(), cList< T >::Next(), NextPicture(), and parent.

Referenced by cPictureControl::NextDirectory(), NextPicture(), and cPictureControl::NextPicture().

Here is the call graph for this function:


Member Data Documentation

char* cPictureEntry::name [private]

Definition at line 16 of file entry.h.

Referenced by Compare(), cPictureEntry(), Name(), Path(), and ~cPictureEntry().

Definition at line 17 of file entry.h.

Referenced by cPictureEntry(), NextPicture(), Parent(), Path(), and PrevPicture().

Definition at line 18 of file entry.h.

Referenced by cPictureEntry(), IsDirectory(), and Load().


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

Generated on Tue Jan 13 14:30:55 2009 for VDR by  doxygen 1.5.6