Pol  Revision:3cfda13
Pol::Clib::DirList Class Reference

#include <dirlist.h>

Public Member Functions

 DirList (const char *path)
 
 DirList ()
 
 ~DirList ()
 
bool at_end () const
 
std::string name () const
 
void next ()
 
void open (const char *filespec)
 

Private Member Functions

 DirList (const DirList &)
 
DirListoperator= (const DirList &)
 

Private Attributes

std::string cur_name_
 
DIR * dir_
 

Detailed Description

Definition at line 23 of file dirlist.h.

Constructor & Destructor Documentation

Pol::Clib::DirList::DirList ( const char *  path)
explicit

Definition at line 84 of file dirlist.cpp.

References dir_, and next().

Pol::Clib::DirList::DirList ( )
explicit

Definition at line 89 of file dirlist.cpp.

Pol::Clib::DirList::~DirList ( )

Definition at line 90 of file dirlist.cpp.

References dir_.

Pol::Clib::DirList::DirList ( const DirList )
private

Member Function Documentation

std::string Pol::Clib::DirList::name ( ) const

Definition at line 107 of file dirlist.cpp.

References cur_name_.

Referenced by Pol::Clib::GetTrueName().

void Pol::Clib::DirList::next ( void  )

Definition at line 112 of file dirlist.cpp.

References cur_name_, and dir_.

Referenced by DirList().

void Pol::Clib::DirList::open ( const char *  filespec)

Definition at line 98 of file dirlist.cpp.

Referenced by Pol::Clib::GetTrueName().

DirList& Pol::Clib::DirList::operator= ( const DirList )
private

Member Data Documentation

std::string Pol::Clib::DirList::cur_name_
private

Definition at line 43 of file dirlist.h.

Referenced by name(), and next().

DIR* Pol::Clib::DirList::dir_
private

Definition at line 42 of file dirlist.h.

Referenced by at_end(), DirList(), next(), and ~DirList().


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