Writer base serves as a base class for various file writers. It does generic low-level I/O, e.g., opening and closing a file, and associated error handling.
- void write(const char* data, std::streamsize count)
Writer:: Writer(const std::string& filename,
std::ios_base::openmode mode = std::ios_base::out) explicit
Constructor: Acquire file handle. Protected: designed to be base only.
|filename in||Name of file to open for writing|
|mode in||Open mode, see http://en.cppreference.com/w/cpp/io/ios_
Writer:: write(const char* data,
|data in||Buffer to write|
|count in||Number of characters to write|