名前空間
変種
操作

std::basic_filebuf

提供: cppreference.com
< cpp‎ | io

 
 
入力/出力ライブラリ
I / Oのマニピュレータ
CスタイルのI / O
バッファ
Original:
Buffers
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
basic_streambuf
basic_filebuf
basic_stringbuf
strstreambuf(廃止予定)
ストリーム
Original:
Streams
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
抽象化
Original:
Abstractions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
ios_base
basic_ios
basic_istream
basic_ostream
basic_iostream
ファイルI / O
Original:
File I/O
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
basic_ifstream
basic_ofstream
basic_fstream
文字列I / O
Original:
String I/O
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
basic_istringstream
basic_ostringstream
basic_stringstream
アレイのI / O
Original:
Array I/O
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
istrstream(廃止予定)
ostrstream(廃止予定)
strstream(廃止予定)
タイプ
Original:
Types
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
streamoff
streamsize
fpos
エラーカテゴリインターフェース
Original:
Error category interface
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
iostream_category(C++11)
io_errc(C++11)
 
std::basic_filebuf
パブリックメンバ関数
Original:
Public member functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
basic_filebuf::basic_filebuf
basic_filebuf::~basic_filebuf
basic_filebuf::operator=(C++11)
basic_filebuf::swap(C++11)
basic_filebuf::is_open
basic_filebuf::open
basic_filebuf::close
メンバ関数を保護しました
Original:
Protected member functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
basic_filebuf::showmanyc
basic_filebuf::underflow
basic_filebuf::uflow
basic_filebuf::pbackfail
basic_filebuf::overflow
basic_filebuf::setbuf
basic_filebuf::seekoff
basic_filebuf::seekpos
basic_filebuf::sync
basic_filebuf::imbue
非メンバ関数
Original:
Non-member functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
swap(std::basic_filebuf)(C++11)
 
Defined in header <fstream>
template<

    class charT,
    class Traits = std::char_traits<CharT>,
    class Allocator = std::allocator<CharT>

> class basic_filebuf : public std::basic_streambuf<CharT, Traits>
std::basic_filebuf関連付けられた文字シーケンスファイルですstd::basic_streambufです。入力系列と出力系列の両方が同じファイルに関連付けられており、ジョイントファイル位置は両方の操作のために維持されてい.
Original:
std::basic_filebuf is a std::basic_streambuf whose associated character sequence is a file. Both the input sequence and the output sequence are associated with the same file, and a joint file position is maintained for both operations.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
機能アンダーフロー()とオーバーフロー()/ sync()はファイルとバッファのgetおよびputエリア間で実際のI / Oを実行します。 CharTcharがないときは、ほとんどの実装では、ファイル内のマルチバイト文字を格納してstd::codecvtファセットは、ワイド/マルチバイト文字変換を実行するために使用され.
Original:
The functions underflow() and overflow()/sync() perform the actual I/O between the file and the get and put areas of the buffer. When CharT is not char, most implementations store multibyte characters in the file and a std::codecvt facet is used to perform wide/multibyte character conversion.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
一般的なキャラクタ·タイプの2つの専門分野も定義されています
Original:
Two specializations for common character types are also defined:
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Defined in header <streambuf>
タイプ
Original:
Type
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Definition
filebuf basic_filebuf<char>
wfilebuf basic_filebuf<wchar_t>

目次

[編集] メンバータイプ

メンバー·タイプ
Original:
Member type
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Definition
char_type CharT[edit]
traits_type Traits[edit]
int_type Traits::int_type[edit]
pos_type
Traits::pos_typeであることが要求されるstd::fpos<Traits::state_type>
Original:
Traits::pos_type which is required to be std::fpos<Traits::state_type>
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
off_type Traits::off_type[edit]

[編集] メンバ関数

パブリックメンバ関数
Original:
Public member functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

basic_filebufオブジェクトを作成します
Original:
constructs a basic_filebuf object
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(パブリックメンバ関数) [edit]
(C++11)
basic_filebufオブジェクトを割り当てます
Original:
assigns a basic_filebuf object
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(パブリックメンバ関数) [edit]
(C++11)
スワップ2 basic_filebufオブジェクト
Original:
swaps two basic_filebuf objects
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(パブリックメンバ関数) [edit]
basic_filebufオブジェクトを破壊し、それが開いている場合は、ファイルを閉じます
Original:
destructs a basic_filebuf object and closes the file if it is open
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(仮想パブリックメンバ関数) [edit]
checks if the associated file is open
(パブリックメンバ関数) [edit]
ファイルを開き、関連した文字シーケンスとして設定されます
Original:
opens a file and configures it as the associated character sequence
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(パブリックメンバ関数) [edit]
put領域バッファをフラッシュし、関連付けられているファイルを閉じます
Original:
flushes the put area buffer and closes the associated file
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(パブリックメンバ関数) [edit]

メンバ関数を保護しました
Original:
Protected member functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[仮想]
オプションで、ファイルからの入力に使用できる文字の数を提供します
Original:
optionally provides the number of characters available for input from the file
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(仮想protectedメンバ関数) [edit]
[仮想]
関連付けられたファイルから読み込みます
Original:
reads from the associated file
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(仮想protectedメンバ関数) [edit]
[仮想]
関連付けられたファイルおよび前渡金からの読み取り中に、変換結果に暗黙的に変換できるget領域の次のポインタ
Original:
reads from the associated file and advances the next pointer in the get area
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(仮想protectedメンバ関数) [edit]
[仮想]
関連付けられたファイルに影響を与えていない、get領域に戻って文字を置きます
Original:
puts back the character in the get area, not affecting the associated file
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(仮想protectedメンバ関数) [edit]
[仮想]
put領域から関連付けられたファイルに文字を書き込みます
Original:
writes characters to the associated file from the put area
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(仮想protectedメンバ関数) [edit]
[仮想]
ユーザ供給のバッファを提供するか、またはこのfilebufではバッファリングされていないになります
Original:
provides user-supplied buffer or turns this filebuf unbuffered
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(仮想protectedメンバ関数) [edit]
[仮想]
再配置相対アドレッシングを使用してファイルの位置を、
Original:
repositions the file position, using relative addressing
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(仮想protectedメンバ関数) [edit]
[仮想]
絶対アドレスを使用して再配置され、ファイル位置、
Original:
repositions the file position, using absolute addressing
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(仮想protectedメンバ関数) [edit]
[仮想]
put領域から関連付けられたファイルに文字を書き込みます
Original:
writes characters to the associated file from the put area
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(仮想protectedメンバ関数) [edit]
[仮想]
関連付けられているロケールを変更します
Original:
changes the associated locale
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(仮想protectedメンバ関数) [edit]

[編集] 非メンバ関数

std::swapアルゴリズムを専門としています
Original:
specializes the std::swap algorithm
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(関数テンプレート) [edit]

Inherited from std::basic_streambuf

Member types

メンバー·タイプ
Original:
Member type
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Definition
char_type CharT[edit]
traits_type Traits[edit]
int_type Traits::int_type[edit]
pos_type Traits::pos_type[edit]
off_type Traits::off_type[edit]

Member functions

basic_streambufオブジェクトを破棄します
Original:
destructs the basic_streambuf object
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(仮想パブリックメンバ関数of std::basic_streambuf) [edit]
ロケール
Original:
Locales
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
imbue()を呼び出します
Original:
invokes imbue()
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(パブリックメンバ関数of std::basic_streambuf) [edit]
関連付けられているロケールのコピーを取得します
Original:
obtains a copy of the associated locale
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(パブリックメンバ関数of std::basic_streambuf) [edit]
ポジショニング
Original:
Positioning
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
setbuf()を呼び出します
Original:
invokes setbuf()
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(パブリックメンバ関数of std::basic_streambuf) [edit]
seekoff()を呼び出します
Original:
invokes seekoff()
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(パブリックメンバ関数of std::basic_streambuf) [edit]
seekpos()を呼び出します
Original:
invokes seekpos()
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(パブリックメンバ関数of std::basic_streambuf) [edit]
sync()を呼び出します
Original:
invokes sync()
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(パブリックメンバ関数of std::basic_streambuf) [edit]
領域を取得します
Original:
Get area
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
get領域で直ちに利用可能な文字数を取得します
Original:
obtains the number of characters immediately available in the get area
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(パブリックメンバ関数of std::basic_streambuf) [edit]
入力シーケンスの進歩は、再度前進することなく、1つの文字を読み取ります
Original:
advances the input sequence, then reads one character without advancing again
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(パブリックメンバ関数of std::basic_streambuf) [edit]
入力シーケンスと進歩系列から1文字を読み取ります
Original:
reads one character from the input sequence and advances the sequence
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(パブリックメンバ関数of std::basic_streambuf) [edit]
stossc
(廃止予定)
sbumpc()を捨てる結果を呼び出したかのように進歩入力シーケンスを
Original:
advances the input sequence as if by calling sbumpc() and discarding the result
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(パブリックメンバ関数) [edit]
シーケンスを進めずに、入力シーケンスの1文字を読み取ります
Original:
reads one character from the input sequence without advancing the sequence
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(パブリックメンバ関数of std::basic_streambuf) [edit]
xsgetn()を呼び出します
Original:
invokes xsgetn()
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(パブリックメンバ関数of std::basic_streambuf) [edit]
エリアを入れてください
Original:
Put area
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
1文字は、次のポインタput領域と進歩への書き込みを行います
Original:
writes one character to the put area and advances the next pointer
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(パブリックメンバ関数of std::basic_streambuf) [edit]
xsputn()を呼び出します
Original:
invokes xsputn()
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(パブリックメンバ関数of std::basic_streambuf) [edit]
プット
Original:
Putback
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
入力シーケンスで1つ前の文字を入れます
Original:
puts one character back in the input sequence
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(パブリックメンバ関数of std::basic_streambuf) [edit]
入力シーケンス内の次のポインタは1で戻ります
Original:
moves the next pointer in the input sequence back by one
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(パブリックメンバ関数of std::basic_streambuf) [edit]

Protected member functions

basic_streambufオブジェクトを作成します
Original:
constructs a basic_streambuf object
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(メンバー関数を保護しました) [edit]
(C++11)
basic_streambufオブジェクトを置き換えます
Original:
replaces a basic_streambuf object
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(メンバー関数を保護しました) [edit]
(C++11)
スワップ2 basic_streambufオブジェクト
Original:
swaps two basic_streambuf objects
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(メンバー関数を保護しました) [edit]
ロケール
Original:
Locales
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
[仮想]
関連付けられているロケールを変更します
Original:
changes the associated locale
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(仮想protectedメンバ関数of std::basic_streambuf) [edit]
ポジショニング
Original:
Positioning
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
[仮想]
許可されている場合、ユーザー定義の配列でバッファを置き換えます
Original:
replaces the buffer with user-defined array, if permitted
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(仮想protectedメンバ関数of std::basic_streambuf) [edit]
[仮想]
相対アドレス指定を使用して再配置され、次回の入力シーケンス内のポインタ、出力シーケンス、またはその両方
Original:
repositions the next pointer in the input sequence, output sequence, or both, using relative addressing
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(仮想protectedメンバ関数of std::basic_streambuf) [edit]
[仮想]
再配置され、次回の入力シーケンス内のポインタ、出力シーケンス、または両方絶対アドレッシングを使用
Original:
repositions the next pointer in the input sequence, output sequence, or both using absolute addressing
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(仮想protectedメンバ関数of std::basic_streambuf) [edit]
[仮想]
関連文字シーケンスでバッファを同期させます
Original:
synchronizes the buffers with the associated character sequence
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(仮想protectedメンバ関数of std::basic_streambuf) [edit]
領域を取得します
Original:
Get area
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
[仮想]
判明している場合、関連する入力シーケンスの入力に使用できる文字の数を取得します
Original:
obtains the number of characters available for input in the associated input sequence, if known
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(仮想protectedメンバ関数of std::basic_streambuf) [edit]
[仮想]
get領域に関連付けられた入力シーケンスから文字列を読み取ります
Original:
reads characters from the associated input sequence to the get area
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(仮想protectedメンバ関数of std::basic_streambuf) [edit]
[仮想]
get領域及び貸付次のポインタに関連付けられた入力シーケンスから文字列を読み取ります
Original:
reads characters from the associated input sequence to the get area and advances the next pointer
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(仮想protectedメンバ関数of std::basic_streambuf) [edit]
[仮想]
入力シーケンスから複数の文字を読み込みます
Original:
reads multiple characters from the input sequence
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(仮想protectedメンバ関数of std::basic_streambuf) [edit]
初めに、現在の文字とget領域の終わりへのポインタを返します
Original:
returns a pointer to the beginning, current character and the end of the get area
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(メンバー関数を保護しました) [edit]
進歩入力シーケンス内の次のポインタ
Original:
advances the next pointer in the input sequence
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(メンバー関数を保護しました) [edit]
入力シーケンスの再配置先頭、次、およびエンドポインタ
Original:
repositions the beginning, next, and end pointers of the input sequence
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(メンバー関数を保護しました) [edit]
エリアを入れてください
Original:
Put area
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
[仮想]
writes multiple characters to the output sequence
(仮想protectedメンバ関数of std::basic_streambuf) [edit]
[仮想]
put領域から関連する出力シーケンスに文字を書き込みます
Original:
writes characters to the associated output sequence from the put area
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(仮想protectedメンバ関数of std::basic_streambuf) [edit]
初めに、現在の文字とput領域の終わりへのポインタを返します
Original:
returns a pointer to the beginning, current character and the end of the put area
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(メンバー関数を保護しました) [edit]
進歩出力シーケンスの次のポインタ
Original:
advances the next pointer of the output sequence
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(メンバー関数を保護しました) [edit]
出力シーケンスの再配置先頭、次、およびエンドポインタ
Original:
repositions the beginning, next, and end pointers of the output sequence
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(メンバー関数を保護しました) [edit]
プット
Original:
Putback
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
[仮想]
おそらく入力シーケンスを変更して、入力シーケンスに戻す文字を入れます
Original:
puts a character back into the input sequence, possibly modifying the input sequence
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(仮想protectedメンバ関数of std::basic_streambuf) [edit]