vdr  2.4.7
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 409 of file tools.h.

Constructor & Destructor Documentation

◆ cReadDir()

cReadDir::cReadDir ( const char *  Directory)

Definition at line 1535 of file tools.c.

References directory.

◆ ~cReadDir()

cReadDir::~cReadDir ( )

Definition at line 1540 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 416 of file tools.h.

◆ d

struct dirent cReadDir::d

Definition at line 423 of file tools.h.

Referenced by cFileNameList::Load().

◆ directory

DIR* cReadDir::directory
private

Definition at line 411 of file tools.h.

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

◆ result

struct dirent* cReadDir::result
private

Definition at line 412 of file tools.h.

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

◆ 

union { ... } cReadDir::u

Referenced by Next().


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