file.h File Reference

A Dv::Util::File class object represents a pathname, possibly associated with an existing file. More...

#include <sys/types.h>
#include <sys/stat.h>
#include <string>
#include <vector>
#include <stdexcept>
#include <iostream>
Include dependency graph for file.h:

Go to the source code of this file.

Classes

class  Dv::Util::FileError
 A runtime exception thrown by some File operations. More...
class  Dv::Util::File
 A File objects represents a pathname, possibly an existing file. More...
class  Dv::Util::FileOperation
 Abstract class that can be subclassed to implement useful operations on files during a Directory::walk(). More...
class  Dv::Util::DirectoryOperation
 Abstract class that can be subclassed to implement useful operations on directories during a Directory::walk(). More...
class  Dv::Util::Directory
 A Directory represents a pathname that refers to a possibly non-existing directory. More...

Namespaces

namespace  Dv
namespace  Dv::Util

Detailed Description

A Dv::Util::File class object represents a pathname, possibly associated with an existing file.

Member functions are provided for retrieving or altering properties such as existence, permissions, ownership etc. In addition, memory-mapping the contents of a File is also supported. A Dv::Util::Directory class object represents a pathname, possibly associated with an existing directory. It provides similar functionality as File, augmented with the retrieval of the directory's contents.

Definition in file file.h.


dvutil-1.0.10 [ 5 December, 2009]