Public Members

Data Members (static)

basefield Mask for obtaining the conversion base flags (dec, oct, or hex).  
adjustfield Mask for obtaining the field padding flags (left, right, or internal).  
floatfield Mask for obtaining the numeric format (scientific or fixed).  

Construction/Destruction

ios Constructor for use in derived classes.  
~ios Virtual destructor.  

Flag and Format Access Functions

flags Sets or reads the stream's format flags.  
setf Manipulates the stream's format flags.  
unsetf Clears the stream's format flags.  
fill Sets or reads the stream's fill character.  
precision Sets or reads the stream's floating-point format display precision.  
width Sets or reads the stream's output field width.  

Status-Testing Functions

good Indicates good stream status.  
bad Indicates a serious I/O error.  
eof Indicates end of file.  
fail Indicates a serious I/O error or a possibly recoverable I/O formatting error.  
rdstate Returns the stream's error flags.  
clear Sets or clears the stream's error flags.  

User-Defined Format Flags

bitalloc Provides a mask for an unused format bit in the stream's private flags variable (static function).  
xalloc Provides an index to an unused word in an array reserved for special-purpose stream state variables (static function).  
iword Converts the index provided by xalloc to a reference (valid only until the next xalloc).  
pword Converts the index provided by xalloc to a pointer (valid only until the next xalloc).  

Other Functions

delbuf Controls the connection of streambuf deletion with ios destruction.  
rdbuf Gets the stream's streambuf object.  
sync_with_stdio Synchronizes the predefined objects cin, cout, cerr, and clog with the standard I/O system.  
tie Ties a specified ostream to this stream.  

Operators

operator void*() Converts a stream to a pointer that can be used only for error checking.  
operator !() Returns a nonzero value if a stream I/O error has occurred.