vdr  1.7.27
Public Member Functions | Private Member Functions | Private Attributes
cPictureEntry Class Reference

#include <entry.h>

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, IsDirectory(), name, parent, and Parent().

Referenced by Load().

Definition at line 19 of file entry.c.

References entries, and name.


Member Function Documentation

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.

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

Definition at line 66 of file entry.c.

References entries, and Load().

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

const cPictureEntry * cPictureEntry::FirstPicture ( void  ) const

Definition at line 72 of file entry.c.

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

Referenced by FirstPicture(), and NextPicture().

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

Definition at line 89 of file entry.c.

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

Referenced by LastPicture(), and PrevPicture().

void cPictureEntry::Load ( void  ) const [private]
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::NextPicture ( const cPictureEntry This = NULL) const
const cPictureEntry* cPictureEntry::Parent ( void  ) const [inline]
cString cPictureEntry::Path ( void  ) const
const cPictureEntry * cPictureEntry::PrevPicture ( const cPictureEntry This = NULL) const

Member Data Documentation

Definition at line 18 of file entry.h.

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

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().


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