vdr  2.4.0
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 405 of file tools.h.

Constructor & Destructor Documentation

cReadDir::cReadDir ( const char *  Directory)

Definition at line 1529 of file tools.c.

References directory.

cReadDir::~cReadDir ( )

Definition at line 1534 of file tools.c.

References directory.

Member Function Documentation

struct dirent * cReadDir::Next ( void  )
bool cReadDir::Ok ( void  )
inline

Member Data Documentation

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

Definition at line 412 of file tools.h.

struct dirent cReadDir::d

Definition at line 411 of file tools.h.

Referenced by cFileNameList::Load().

DIR* cReadDir::directory
private

Definition at line 407 of file tools.h.

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

struct dirent* cReadDir::result
private

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