Reference

class
<ios> <iostream>

std::wios

typedef basic_ios<wchar_t> ios;
Base class for wide character streams

This class is an instantiation of basic_ios designed to serve as base class for all wide stream classes, with wchar_t as character type (see basic_ios for more info on the template).

It instantiates basic_ios with the following template parameters:
template parameterdefinitioncomments
charTwchar_tAliased as member char_type
traitschar_traits<wchar_t>Aliased as member traits_type

Member types

member typedefinition
char_typewchar_t
traits_typechar_traits<wchar_t>
int_typewint_t
pos_typewstreampos
off_typestreamoff
Along with the member types inherited from ios_base :
event
Type to indicate event type (public member type)
event_callback
Event callback function type (public member type)
failure
Base class for stream exceptions (public member class)
fmtflags
Type for stream format flags (public member type)
Init
Initialize standard stream objects (public member class)
iostate
Type for stream state flags (public member type)
openmode
Type for stream opening mode flags (public member type)
seekdir
Type for stream seeking direction flag (public member type)

Public member functions

Note: This section links to the references for members of its basic template (basic_ios ).

(constructor)
Construct object (public member function)
(destructor)
Destroy object (public member function)

State flag functions:
good
Check whether state of stream is good (public member function)
eof
Check whether eofbit is set (public member function)
fail
Check whether failbit or badbit is set (public member function)
bad
Check whether badbit is set (public member function)
operator!
Evaluate stream (not) (public member function)
operator bool
Evaluate stream (public member function)
rdstate
Get error state flags (public member function)
setstate
Set error state flag (public member function)
clear
Set error state flags (public member function)

Formatting:
copyfmt
Copy formatting information (public member function)
fill
Get/set fill character (public member function)

Other:
exceptions
Get/set exceptions mask (public member function)
imbue
Imbue locale (public member function)
tie
Get/set tied stream (public member function)
rdbuf
Get/set stream buffer (public member function)
narrow
Narrow character (public member function)
widen
Widen character (public member function)

Protected member functions

init
Initialize object (protected member function)
move
Move internals (protected member function)
swap
Swap internals (protected member function)
set_rdbuf
Set stream buffer (protected member function)

Public member functions inherited from ios_base

flags
Get/set format flags (public member function)
setf
Set specific format flags (public member function)
unsetf
Clear specific format flags (public member function)
precision
Get/Set floating-point decimal precision (public member function)
width
Get/set field width (public member function)
imbue
Imbue locale (public member function)
getloc
Get current locale (public member function)
xalloc
Get new index for extensible array [static] (public static member function)
iword
Get integer element of extensible array (public member function)
pword
Get pointer element of extensible array (public member function)
register_callback
Register event callback function (public member function)
sync_with_stdio
Toggle synchronization with cstdio streams [static] (public static member function)

AltStyle によって変換されたページ (->オリジナル) /