vdr 2.6.4
Public Member Functions | Private Attributes | List of all members
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 443 of file tools.h.

Constructor & Destructor Documentation

◆ cReadDir()

cReadDir::cReadDir ( const char *  Directory)

Definition at line 1551 of file tools.c.

References directory.

◆ ~cReadDir()

cReadDir::~cReadDir ( )

Definition at line 1556 of file tools.c.

References directory.

Member Function Documentation

◆ Next()

struct dirent * cReadDir::Next ( void  )

◆ Ok()

bool cReadDir::Ok ( void  )
inline

Member Data Documentation

◆ b

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

Definition at line 450 of file tools.h.

◆ d

struct dirent cReadDir::d

Definition at line 449 of file tools.h.

Referenced by cFileNameList::Load().

◆ directory

DIR* cReadDir::directory
private

Definition at line 445 of file tools.h.

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

◆ result

struct dirent* cReadDir::result
private

Definition at line 446 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: