DUNE: Uniform Navigational Environment  2017.01.0
DUNE::FileSystem::Directory Class Reference

Public Types

enum  ReadOptions { RD_FULL_NAME, RD_FILE_NAME }
 

Public Member Functions

 Directory (void)
 
 Directory (const Path &path)
 
 ~Directory (void)
 
bool open (const Path &path)
 
bool isOpen (void)
 
bool close (void)
 
const char * readEntry (ReadOptions options=RD_FILE_NAME)
 

Member Enumeration Documentation

Enumerator
RD_FULL_NAME 
RD_FILE_NAME 

Constructor & Destructor Documentation

DUNE::FileSystem::Directory::Directory ( void  )
inline
DUNE::FileSystem::Directory::Directory ( const Path path)

References open().

DUNE::FileSystem::Directory::~Directory ( void  )

Destructor.

References close().

Member Function Documentation

bool DUNE::FileSystem::Directory::close ( void  )

References DUNE::FileSystem::Path::str().

Referenced by ~Directory().

bool DUNE::FileSystem::Directory::isOpen ( void  )
bool DUNE::FileSystem::Directory::open ( const Path path)
const char * DUNE::FileSystem::Directory::readEntry ( ReadOptions  options = RD_FILE_NAME)
Collaboration diagram for DUNE::FileSystem::Directory:
Collaboration graph