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 member function)
|
|
|
로케일을 설정합니다
(public member function) |
|
|
[virtual]
|
객체를 소멸시킵니다
(virtual public member function) |
|
이벤트 콜백 함수를 등록합니다
(public member function) |