Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members

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:

Include dependency graph

Go to the source code of this file.

Namespaces

namespace  Dv
namespace  Dv::Util

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::Directory
 A Directory represents a pathname that refers to a possibly non-existing directory. More...


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-0.13.15 [30 December, 2004]