std::ios_base::openmode
提供: cppreference.com
typedef/*implementation defined*/ openmode; | ||
staticconstexpr openmode app =/*implementation defined*/ staticconstexpr openmode binary =/*implementation defined*/ | ||
利用可能なファイルオープンフラグを規定します。 これは BitmaskType であり、以下の定数が定義されます。
定数 | 説明 |
app | 各書き込み前にストリームの終端へシークします |
binary | バイナリモードで開きます |
in | 読み込み用に開きます |
out | 書き込み用に開きます |
trunc | 開くときにストリームの内容を破棄します |
ate | 開いた直後にストリームの終端へシークします |
[編集]例
This section is incomplete Reason: no example |
[編集]関連項目
ファイルを開き、それを文字シーケンスとして紐付けます ( std::basic_filebuf<CharT,Traits> のパブリックメンバ関数) | |
basic_stringbuf オブジェクトを構築します ( std::basic_stringbuf<CharT,Traits,Allocator> のパブリックメンバ関数) |