cReadDir Class Reference

#include <tools.h>

List of all members.

Public Member Functions

 cReadDir (const char *Directory)
 ~cReadDir ()
bool Ok (void)
struct dirent * Next (void)

Private Attributes

DIR * directory
struct dirent * result
union {
   struct dirent   d
   char   b [offsetof(struct dirent, d_name)+NAME_MAX+1]

Detailed Description

Definition at line 193 of file tools.h.

Constructor & Destructor Documentation

cReadDir::cReadDir ( const char *  Directory  ) 

Definition at line 877 of file tools.c.

References directory.

cReadDir::~cReadDir (  ) 

Definition at line 882 of file tools.c.

References directory.

Member Function Documentation

bool cReadDir::Ok ( void   )  [inline]

Definition at line 204 of file tools.h.

Referenced by DirSizeMB(), RemoveEmptyDirectories(), and RemoveFileOrDir().

struct dirent * cReadDir::Next ( void   )  [read]

Definition at line 888 of file tools.c.

References directory, result, and u.

Referenced by cPluginManager::AddPlugin(), DirSizeMB(), cThemes::Load(), RemoveEmptyDirectories(), RemoveFileOrDir(), and cRecordings::ScanVideoDir().

Member Data Documentation

DIR* cReadDir::directory [private]

Definition at line 195 of file tools.h.

Referenced by cReadDir(), Next(), and ~cReadDir().

struct dirent* cReadDir::result [read, private]

Definition at line 196 of file tools.h.

Referenced by Next().

struct dirent cReadDir::d [read]

Definition at line 198 of file tools.h.

char cReadDir::b[offsetof(struct dirent, d_name)+NAME_MAX+1]

Definition at line 199 of file tools.h.

union { ... } cReadDir::u [private]

Referenced by Next().

The documentation for this class was generated from the following files:
Generated on Tue Nov 6 20:22:40 2007 for VDR by  doxygen 1.5.3-20071008