Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

std::basic_ios Class Template Reference

#include <basic_ios.h>

Inheritance diagram for std::basic_ios:

Inheritance graph
[legend]
Collaboration diagram for std::basic_ios:

Collaboration graph
[legend]
List of all members.

Public Types

typedef _CharT char_type
typedef _Traits::int_type int_type
typedef _Traits::pos_type pos_type
typedef _Traits::off_type off_type
typedef _Traits traits_type
typedef ctype<_CharT> __ctype_type
typedef ostreambuf_iterator<
_CharT> 
__ostreambuf_iter
typedef num_put<_CharT, __ostreambuf_iter__numput_type
typedef istreambuf_iterator<
_CharT> 
__istreambuf_iter
typedef num_get<_CharT, __istreambuf_iter__numget_type

Public Methods

const __ctype_type_M_get_fctype_ios (void)
const __numget_type_M_get_fnumget (void)
const __numput_type_M_get_fnumput (void)
 operator void * () const
bool operator! () const
iostate rdstate () const
void clear (iostate __state=goodbit)
void setstate (iostate __state)
bool good () const
bool eof () const
bool fail () const
bool bad () const
iostate exceptions () const
void exceptions (iostate __except)
 basic_ios (basic_streambuf< _CharT, _Traits > *__sb)
virtual ~basic_ios ()
basic_ostream<_CharT, _Traits>* tie () const
basic_ostream<_CharT, _Traits>* tie (basic_ostream< _CharT, _Traits > *__tiestr)
basic_streambuf<_CharT, _Traits>* rdbuf () const
basic_streambuf<_CharT, _Traits>* rdbuf (basic_streambuf< _CharT, _Traits > *__sb)
basic_ios& copyfmt (const basic_ios &__rhs)
char_type fill () const
char_type fill (char_type __ch)
locale imbue (const locale &__loc)
char narrow (char_type __c, char __dfault) const
char_type widen (char __c) const

Protected Methods

 basic_ios ()
void init (basic_streambuf< _CharT, _Traits > *__sb)

Protected Attributes

basic_streambuf<_CharT, _Traits>* _M_streambuf
iostate _M_streambuf_state
const __ctype_type_M_ios_fctype
const __numput_type_M_fnumput
const __numget_type_M_fnumget

Private Attributes

basic_ostream<_CharT, _Traits>* _M_tie
char_type _M_fill
iostate _M_exception

template<typename _CharT, typename _Traits> class std::basic_ios


Member Typedef Documentation

template<typename _CharT, typename _Traits>
typedef ctype<_CharT> std::basic_ios<_CharT, _Traits>::__ctype_type
 

Reimplemented in std::basic_istream, and std::basic_ostream.

Definition at line 54 of file basic_ios.h.

template<typename _CharT, typename _Traits>
typedef istreambuf_iterator<_CharT> std::basic_ios<_CharT, _Traits>::__istreambuf_iter
 

Reimplemented in std::basic_istream.

Definition at line 58 of file basic_ios.h.

template<typename _CharT, typename _Traits>
typedef num_get<_CharT, __istreambuf_iter> std::basic_ios<_CharT, _Traits>::__numget_type
 

Reimplemented in std::basic_istream.

Definition at line 59 of file basic_ios.h.

template<typename _CharT, typename _Traits>
typedef num_put<_CharT, __ostreambuf_iter> std::basic_ios<_CharT, _Traits>::__numput_type
 

Reimplemented in std::basic_ostream.

Definition at line 57 of file basic_ios.h.

template<typename _CharT, typename _Traits>
typedef ostreambuf_iterator<_CharT> std::basic_ios<_CharT, _Traits>::__ostreambuf_iter
 

Reimplemented in std::basic_ostream.

Definition at line 56 of file basic_ios.h.

template<typename _CharT, typename _Traits>
typedef _CharT std::basic_ios<_CharT, _Traits>::char_type
 

Reimplemented in std::basic_ifstream, std::basic_ofstream, std::basic_fstream, std::basic_istream, std::basic_ostream, std::basic_istringstream, std::basic_ostringstream, and std::basic_stringstream.

Definition at line 47 of file basic_ios.h.

template<typename _CharT, typename _Traits>
typedef _Traits::int_type std::basic_ios<_CharT, _Traits>::int_type
 

Reimplemented in std::basic_ifstream, std::basic_ofstream, std::basic_fstream, std::basic_istream, std::basic_ostream, std::basic_istringstream, std::basic_ostringstream, and std::basic_stringstream.

Definition at line 48 of file basic_ios.h.

template<typename _CharT, typename _Traits>
typedef _Traits::off_type std::basic_ios<_CharT, _Traits>::off_type
 

Reimplemented in std::basic_ifstream, std::basic_ofstream, std::basic_fstream, std::basic_istream, std::basic_ostream, std::basic_istringstream, std::basic_ostringstream, and std::basic_stringstream.

Definition at line 50 of file basic_ios.h.

template<typename _CharT, typename _Traits>
typedef _Traits::pos_type std::basic_ios<_CharT, _Traits>::pos_type
 

Reimplemented in std::basic_ifstream, std::basic_ofstream, std::basic_fstream, std::basic_istream, std::basic_ostream, std::basic_istringstream, std::basic_ostringstream, and std::basic_stringstream.

Definition at line 49 of file basic_ios.h.

template<typename _CharT, typename _Traits>
typedef _Traits std::basic_ios<_CharT, _Traits>::traits_type
 

Reimplemented in std::basic_ifstream, std::basic_ofstream, std::basic_fstream, std::basic_istream, std::basic_ostream, std::basic_istringstream, std::basic_ostringstream, and std::basic_stringstream.

Definition at line 51 of file basic_ios.h.


Constructor & Destructor Documentation

template<typename _CharT, typename _Traits>
std::basic_ios<_CharT, _Traits>::basic_ios<_CharT, _Traits> ( basic_streambuf< _CharT, _Traits > * __sb ) [inline, explicit]
 

Definition at line 147 of file basic_ios.h.

template<typename _CharT, typename _Traits>
std::basic_ios<_CharT, _Traits>::~basic_ios<_CharT, _Traits> ( ) [inline, virtual]
 

Definition at line 151 of file basic_ios.h.

template<typename _CharT, typename _Traits>
std::basic_ios<_CharT, _Traits>::basic_ios<_CharT, _Traits> ( ) [inline, protected]
 

Definition at line 200 of file basic_ios.h.


Member Function Documentation

template<typename _CharT, typename _Traits>
const __ctype_type * std::basic_ios<_CharT, _Traits>::_M_get_fctype_ios ( void ) [inline]
 

Definition at line 81 of file basic_ios.h.

template<typename _CharT, typename _Traits>
const __numget_type * std::basic_ios<_CharT, _Traits>::_M_get_fnumget ( void ) [inline]
 

Definition at line 85 of file basic_ios.h.

template<typename _CharT, typename _Traits>
const __numput_type * std::basic_ios<_CharT, _Traits>::_M_get_fnumput ( void ) [inline]
 

Definition at line 89 of file basic_ios.h.

template<typename _CharT, typename _Traits>
bool std::basic_ios<_CharT, _Traits>::bad ( ) const [inline]
 

Definition at line 131 of file basic_ios.h.

template<typename _CharT, typename _Traits>
void std::basic_ios<_CharT, _Traits>::clear ( iostate __state = goodbit ) [inline]
 

Definition at line 104 of file basic_ios.h.

Referenced by exceptions(), and setstate().

template<typename _CharT, typename _Traits>
basic_ios<_CharT, _Traits>& std::basic_ios<_CharT, _Traits>::copyfmt ( const basic_ios<_CharT, _Traits> & __rhs )
 

template<typename _CharT, typename _Traits>
bool std::basic_ios<_CharT, _Traits>::eof ( ) const [inline]
 

Definition at line 123 of file basic_ios.h.

template<typename _CharT, typename _Traits>
void std::basic_ios<_CharT, _Traits>::exceptions ( iostate __except ) [inline]
 

Definition at line 139 of file basic_ios.h.

template<typename _CharT, typename _Traits>
iostate std::basic_ios<_CharT, _Traits>::exceptions ( ) const [inline]
 

Definition at line 135 of file basic_ios.h.

Referenced by clear().

template<typename _CharT, typename _Traits>
bool std::basic_ios<_CharT, _Traits>::fail ( ) const [inline]
 

Definition at line 127 of file basic_ios.h.

Referenced by operator void *(), and operator!().

template<typename _CharT, typename _Traits>
char_type std::basic_ios<_CharT, _Traits>::fill ( char_type __ch ) [inline]
 

Definition at line 181 of file basic_ios.h.

template<typename _CharT, typename _Traits>
char_type std::basic_ios<_CharT, _Traits>::fill ( ) const [inline]
 

Definition at line 177 of file basic_ios.h.

template<typename _CharT, typename _Traits>
bool std::basic_ios<_CharT, _Traits>::good ( ) const [inline]
 

Definition at line 119 of file basic_ios.h.

template<typename _CharT, typename _Traits>
locale std::basic_ios<_CharT, _Traits>::imbue ( const locale & __loc )
 

Reimplemented from std::ios_base.

template<typename _CharT, typename _Traits>
void std::basic_ios<_CharT, _Traits>::init ( basic_streambuf< _CharT, _Traits > * __sb ) [protected]
 

Referenced by basic_ios(), std::basic_istream::basic_istream(), and std::basic_ostream::basic_ostream().

template<typename _CharT, typename _Traits>
char std::basic_ios<_CharT, _Traits>::narrow ( char_type __c,
char __dfault ) const
 

template<typename _CharT, typename _Traits>
std::basic_ios<_CharT, _Traits>::operator void * ( ) const [inline]
 

Definition at line 92 of file basic_ios.h.

template<typename _CharT, typename _Traits>
bool std::basic_ios<_CharT, _Traits>::operator! ( ) const [inline]
 

Definition at line 96 of file basic_ios.h.

template<typename _CharT, typename _Traits>
basic_streambuf<_CharT, _Traits>* std::basic_ios<_CharT, _Traits>::rdbuf ( basic_streambuf< _CharT, _Traits > * __sb )
 

template<typename _CharT, typename _Traits>
basic_streambuf< _CharT, _Traits > * std::basic_ios<_CharT, _Traits>::rdbuf<_CharT, _Traits> ( void ) const [inline]
 

Reimplemented in std::basic_ifstream, std::basic_ofstream, std::basic_fstream, std::basic_istringstream, std::basic_ostringstream, and std::basic_stringstream.

Definition at line 167 of file basic_ios.h.

Referenced by clear().

template<typename _CharT, typename _Traits>
iostate std::basic_ios<_CharT, _Traits>::rdstate ( ) const [inline]
 

Definition at line 100 of file basic_ios.h.

Referenced by bad(), clear(), eof(), fail(), and good().

template<typename _CharT, typename _Traits>
void std::basic_ios<_CharT, _Traits>::setstate ( iostate __state ) [inline]
 

Definition at line 115 of file basic_ios.h.

Referenced by std::basic_fstream::close(), std::basic_ofstream::close(), std::basic_ifstream::close(), std::basic_fstream::open(), std::basic_ofstream::open(), and std::basic_ifstream::open().

template<typename _CharT, typename _Traits>
basic_ostream< _CharT, _Traits > * std::basic_ios<_CharT, _Traits>::tie<_CharT, _Traits> ( basic_ostream< _CharT, _Traits > * __tiestr ) [inline]
 

Definition at line 159 of file basic_ios.h.

template<typename _CharT, typename _Traits>
basic_ostream< _CharT, _Traits > * std::basic_ios<_CharT, _Traits>::tie<_CharT, _Traits> ( ) const [inline]
 

Definition at line 155 of file basic_ios.h.

template<typename _CharT, typename _Traits>
char_type std::basic_ios<_CharT, _Traits>::widen ( char __c ) const
 


Member Data Documentation

template<typename _CharT, typename _Traits>
iostate std::basic_ios<_CharT, _Traits>::_M_exception [private]
 

Definition at line 65 of file basic_ios.h.

template<typename _CharT, typename _Traits>
char_type std::basic_ios<_CharT, _Traits>::_M_fill [private]
 

Definition at line 64 of file basic_ios.h.

template<typename _CharT, typename _Traits>
const __numget_type* std::basic_ios<_CharT, _Traits>::_M_fnumget [protected]
 

Definition at line 76 of file basic_ios.h.

template<typename _CharT, typename _Traits>
const __numput_type* std::basic_ios<_CharT, _Traits>::_M_fnumput [protected]
 

Definition at line 74 of file basic_ios.h.

template<typename _CharT, typename _Traits>
const __ctype_type* std::basic_ios<_CharT, _Traits>::_M_ios_fctype [protected]
 

Definition at line 72 of file basic_ios.h.

template<typename _CharT, typename _Traits>
basic_streambuf<_CharT, _Traits>* std::basic_ios<_CharT, _Traits>::_M_streambuf [protected]
 

Definition at line 68 of file basic_ios.h.

template<typename _CharT, typename _Traits>
iostate std::basic_ios<_CharT, _Traits>::_M_streambuf_state [protected]
 

Definition at line 69 of file basic_ios.h.

template<typename _CharT, typename _Traits>
basic_ostream<_CharT, _Traits>* std::basic_ios<_CharT, _Traits>::_M_tie [private]
 

Definition at line 63 of file basic_ios.h.


The documentation for this class was generated from the following file:
Generated at Tue May 1 16:30:05 2001 for libstdc++-v3 by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001