38#ifndef BLOCXX_IFILE_STREAM_HPP_INCLUDE_GUARD_
39#define BLOCXX_IFILE_STREAM_HPP_INCLUDE_GUARD_
40#include "blocxx/BLOCXX_config.h"
118 IFileStream*
open(
const char* path, std::ios_base::openmode mode, mode_t permissions = 0666);
The purpose of the File class is to provide an abstraction layer over the platform dependant function...
IFileStream * close()
If isOpen() == false, returns a null pointer.
IFileStream & operator=(const IFileStream &arg)
~IFileStream()
Calls close().
IFileStream * open(FILE *fp)
If isOpen() == true, returns 0, otherwise initializes the IFileStream to use fp.
IFileStream(const IFileStream &arg)
IFileStream()
Constructor.
AutoResource< AutoDescriptorPolicy > AutoDescriptor
An analog of std::auto_ptr for descriptors.