dir.h File Reference

#include <glib/gdir.h>
Include dependency graph for dir.h:

Go to the source code of this file.

Defines

#define INCLUDED_OS_DIR_H

Typedefs

typedef GDir Directory

Functions

bool directory_good (Directory *directory)
Directorydirectory_open (const std::string &name)
void directory_close (Directory *directory)
const char * directory_read_and_increment (Directory *directory)
template<typename Functor >
void Directory_forEach (const std::string &path, const Functor &functor)

Detailed Description

brief OS directory-listing object.

Definition in file dir.h.


Define Documentation

#define INCLUDED_OS_DIR_H

Definition at line 28 of file dir.h.


Typedef Documentation

typedef GDir Directory

Definition at line 32 of file dir.h.


Function Documentation

void directory_close ( Directory directory  )  [inline]

Definition at line 44 of file dir.h.

Referenced by Directory_forEach().

template<typename Functor >
void Directory_forEach ( const std::string path,
const Functor &  functor 
) [inline]
bool directory_good ( Directory directory  )  [inline]

Definition at line 34 of file dir.h.

Referenced by Directory_forEach().

Directory* directory_open ( const std::string name  )  [inline]

Definition at line 39 of file dir.h.

Referenced by Directory_forEach().

const char* directory_read_and_increment ( Directory directory  )  [inline]

Definition at line 49 of file dir.h.

Referenced by Directory_forEach().


Generated by  doxygen 1.6.2