file.hpp File Reference

Defines classes file , fd and exception class FileErrorException and set of functions for file handling. More...

#include <ders/config.hpp>
#include <ders/buf_rdwr.hpp>
#include <ders/error.hpp>

Go to the source code of this file.

Namespaces

namespace  ders

Classes

class  ders::file
 Provides file I/O operations. More...
class  ders::FileErrorException
 ErrorException class with embed fileName. More...
class  ders::fd
 Provides low level file I/O operations that don't depend on underlining implementation. More...

Typedefs

typedef sh_ptr< file > ders::sh_file

Functions

sh_file ders::new_file (mem_pool &mp)
 Creates new file object.
sh_file ders::new_file (mem_pool &mp, const ch_rng &path, file::mode md, int fls)
 Creates new file object.
sh_file ders::new_file (mem_pool &mp, int fd)
 Creates new file object.
shException ders::newFileErrorException (mem_pool &mp, const FileLine &loc, const ch_rng &msg, error err, const ch_rng &fname)
shException ders::newFileErrorException (const FileLine &loc, const ch_rng &msg, error err, const ch_rng &fname, shException nest)
error ders::remove (mem_pool &mp, const ch_rng &fname)
void ders::ex_remove (mem_pool &mp, const ch_rng &fname)


Detailed Description

Defines classes file , fd and exception class FileErrorException and set of functions for file handling.

Definition in file file.hpp.


Generated on Tue Dec 8 11:35:32 2009 for derslib by  doxygen 1.5.5