Specifies available file open flags. It is a BitmaskType
, the following constants are defined:
Constant | Explanation |
---|---|
app | seek to the end of stream before each write |
binary | open in binary mode |
in | open for reading |
out | open for writing |
trunc | discard the contents of the stream when opening |
ate | seek to the end of stream immediately after open |
opens a file and configures it as the associated character sequence (public member function of std::basic_filebuf ) |
|
constructs a basic_stringbuf object (public member function of std::basic_stringbuf ) |
© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
http://en.cppreference.com/w/cpp/io/ios_base/openmode