wibble 1.1
Public Member Functions | List of all members
wibble::sys::fs::Directory::const_iterator Class Reference

#include <fs.h>

Public Member Functions

 const_iterator ()
 
 const_iterator (const Directory &dir)
 
 ~const_iterator ()
 
 const_iterator (const const_iterator &i)
 auto_ptr style copy semantics
 
const_iteratoroperator= (const const_iterator &i)
 
const_iteratoroperator++ ()
 Move to the next directory entry.
 
std::string operator* () const
 
bool operator== (const const_iterator &iter) const
 
bool operator!= (const const_iterator &iter) const
 
bool isdir () const
 
bool isblk () const
 
bool ischr () const
 
bool isfifo () const
 
bool islnk () const
 
bool isreg () const
 
bool issock () const
 

Constructor & Destructor Documentation

◆ const_iterator() [1/3]

wibble::sys::fs::Directory::const_iterator::const_iterator ( )

◆ const_iterator() [2/3]

wibble::sys::fs::Directory::const_iterator::const_iterator ( const Directory dir)

◆ ~const_iterator()

wibble::sys::fs::Directory::const_iterator::~const_iterator ( )

◆ const_iterator() [3/3]

wibble::sys::fs::Directory::const_iterator::const_iterator ( const const_iterator i)

auto_ptr style copy semantics

Member Function Documentation

◆ isblk()

bool wibble::sys::fs::Directory::const_iterator::isblk ( ) const
Returns
true if we refer to a block device, else false

◆ ischr()

bool wibble::sys::fs::Directory::const_iterator::ischr ( ) const
Returns
true if we refer to a character device, else false

◆ isdir()

bool wibble::sys::fs::Directory::const_iterator::isdir ( ) const
Returns
true if we refer to a directory, else false

◆ isfifo()

bool wibble::sys::fs::Directory::const_iterator::isfifo ( ) const
Returns
true if we refer to a named pipe (FIFO).

◆ islnk()

bool wibble::sys::fs::Directory::const_iterator::islnk ( ) const
Returns
true if we refer to a symbolic link.

◆ isreg()

bool wibble::sys::fs::Directory::const_iterator::isreg ( ) const
Returns
true if we refer to a regular file.

◆ issock()

bool wibble::sys::fs::Directory::const_iterator::issock ( ) const
Returns
true if we refer to a Unix domain socket.

◆ operator!=()

bool wibble::sys::fs::Directory::const_iterator::operator!= ( const const_iterator iter) const

◆ operator*()

std::string wibble::sys::fs::Directory::const_iterator::operator* ( ) const
Returns
the current file name

◆ operator++()

const_iterator & wibble::sys::fs::Directory::const_iterator::operator++ ( )

Move to the next directory entry.

◆ operator=()

const_iterator & wibble::sys::fs::Directory::const_iterator::operator= ( const const_iterator i)

◆ operator==()

bool wibble::sys::fs::Directory::const_iterator::operator== ( const const_iterator iter) const

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