50 /** Method responsible for reading from the stream.
51 */
52size_t Read(void *Buffer, size_t Count);
53
54 /** Method responsible for writing to the stream.
55 * Write attempts to write up to Count bytes to Buffer, and returns the number of bytes actually written.
56 */
57size_t Write(constvoid *Buffer, size_t Count);
58
59// DECLARE_UNCOPIABLE( CFileOutputStream )
60
61private:
62 std::ofstream m_of; //!< The actual output file stream.
63
64public:
65 /** Constructor
66 * \param fileName The file to be open in this stream
67 * \param append If set to true, the file will be opened for writing and the current cursor position set at the end of the file. Otherwise, previous contents will be lost.
68 * \exception std::exception if the file cannot be opened.
80 * \param fileName The file to be open in this stream
81 * \param append If set to true, the file will be opened for writing and the current cursor position set at the end of the file. Otherwise, previous contents will be lost.