Namespaces
Variants
Views
Actions

std::ios_base::event_callback

From cppreference.com
< cpp‎ | io‎ | ios base
Revision as of 22:02, 31 May 2013 by P12bot (Talk | contribs)

typedef void (*event_callback)(event type, ios_base& ios, int index);

The type of function callbacks that can be registered using Template:rlpf to be called on specific events.

type is a value of type ios_base::event which indicates the type of the event that will invoke this callback.

ios refers to the stream object for which the callback is invoked: *this is passed as the argument when callbacks are invoked by std::ios_base and std::basic_ios member functions.

index is the user-provided value passed to Template:rlpf when registering the function.

See also

copies formatting information
(public member function of std::basic_ios) [edit]
sets locale
(public member function) [edit]
[virtual]
destructs the object
(virtual public member function) [edit]
registers event callback function
(public member function) [edit]