CeylanStandardFile.cc File Reference

#include "CeylanStandardFile.h"
#include "CeylanLogPlug.h"
#include "CeylanOperators.h"
#include "CeylanStandardFileSystemManager.h"
#include <cerrno>
#include <cstdio>
#include <fstream>
Include dependency graph for CeylanStandardFile.cc:

Go to the source code of this file.

Defines

#define CEYLAN_PREFERS_RDBUF_TO_DIRECT_FSTREAM   1
 Read/write operations can be performed with both the inner low-level rdbuf object of the fstream instances, or directly with the fstream itself.

Define Documentation

#define CEYLAN_PREFERS_RDBUF_TO_DIRECT_FSTREAM   1

Read/write operations can be performed with both the inner low-level rdbuf object of the fstream instances, or directly with the fstream itself.

The former is preferred to the latter, since the number of read/written bytes is explicitly known. After tests, the two methods seem to behave the same way (at least with gcc).

Definition at line 138 of file CeylanStandardFile.cc.

Generated on Mon Nov 29 13:39:49 2010 for Ceylan by  doxygen 1.6.3