trunk/branch integration: FileStream::close()

This commit is contained in:
Marian Krivos 2011-08-22 17:03:27 +00:00
parent 068c3241c6
commit 67e32de62d

View File

@ -62,8 +62,9 @@ public:
void open(const std::string& path, std::ios::openmode mode);
/// Opens the given file in the given mode.
void close();
/// Closes the File stream buffer.
bool close();
/// Closes the File stream buffer. Returns true if successful,
/// false otherwise.
std::streampos seekoff(std::streamoff off, std::ios::seekdir dir, std::ios::openmode mode = std::ios::in | std::ios::out);
/// Change position by offset, according to way and mode.