std::ios_base:: event_callback
| I/O manipulators | ||||
| Print functions (C++23) | ||||
| C-style I/O | ||||
| Buffers | ||||
|
(C++23)
|
||||
|
(
C++98/26*
)
|
||||
|
(C++20)
|
||||
| Streams | ||||
| Abstractions | ||||
| File I/O | ||||
| String I/O | ||||
| Array I/O | ||||
|
(C++23)
|
||||
|
(C++23)
|
||||
|
(C++23)
|
||||
|
(
C++98/26*
)
|
||||
|
(
C++98/26*
)
|
||||
|
(
C++98/26*
)
|
||||
| Synchronized Output | ||||
|
(C++20)
|
||||
| Types | ||||
| Error category interface | ||||
|
(C++11)
|
||||
|
(C++11)
|
| Member functions | ||||
| Formatting | ||||
| Locales | ||||
| Internal extensible array | ||||
| Miscellaneous | ||||
| Member classes | ||||
| Member types | ||||
|
ios_base::event_callback
|
|
typedef
void
(
*
event_callback
)
(
event type, ios_base
&
ios,
int
index
)
;
|
||
特定のイベント発生時に呼び出されるコールバックとして register_callback() を使用して登録可能な関数の型。
type は型 ios_base::event の値であり、このコールバックを呼び出すイベントの種類を示します。
ios はコールバックが呼び出されるストリームオブジェクトを指します: * this は、 std::ios_base および std::basic_ios のメンバ関数によってコールバックが呼び出される際に引数として渡されます。
index は、関数を登録する際に register_callback() に渡されるユーザー提供の値です。
関連項目
|
書式情報をコピー
(
std::basic_ios<CharT,Traits>
のpublicメンバ関数)
|
|
|
ロケールを設定
(publicメンバ関数) |
|
|
[virtual]
|
オブジェクトを破棄
(virtual publicメンバ関数) |
|
イベントコールバック関数を登録
(publicメンバ関数) |