vdr 2.7.5
cReadDir Class Reference

#include <tools.h>

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] 
u

Detailed Description

Definition at line 446 of file tools.h.

Constructor & Destructor Documentation

◆ cReadDir()

cReadDir::cReadDir ( const char * Directory)

Definition at line 1597 of file tools.c.

References directory.

◆ ~cReadDir()

cReadDir::~cReadDir ( )

Definition at line 1602 of file tools.c.

References directory.

Member Function Documentation

◆ Next()

◆ Ok()

Member Data Documentation

◆ b

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

Definition at line 453 of file tools.h.

◆ d

struct dirent cReadDir::d

Definition at line 452 of file tools.h.

Referenced by cFileNameList::Load().

◆ directory

DIR* cReadDir::directory
private

Definition at line 448 of file tools.h.

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

◆ result

struct dirent* cReadDir::result
private

Definition at line 449 of file tools.h.

Referenced by cSafeFile::Close(), and Next().

◆ [union]

union { ... } cReadDir::u

Referenced by Next().


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