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

std::basic_istream Class Template Reference

#include <std_istream.h>

Inheritance diagram for std::basic_istream:

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

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 basic_streambuf<_CharT,
_Traits> 
__streambuf_type
typedef basic_ios<_CharT,
_Traits> 
__ios_type
typedef basic_istream<_CharT,
_Traits> 
__istream_type
typedef istreambuf_iterator<
_CharT> 
__istreambuf_iter
typedef num_get<_CharT, __istreambuf_iter__numget_type
typedef ctype<_CharT> __ctype_type

Public Methods

 basic_istream (__streambuf_type *__sb)
virtual ~basic_istream ()
__istream_typeoperator>> (__istream_type &(*__pf)(__istream_type &))
__istream_typeoperator>> (__ios_type &(*__pf)(__ios_type &))
__istream_typeoperator>> (ios_base &(*__pf)(ios_base &))
__istream_typeoperator>> (bool &__n)
__istream_typeoperator>> (short &__n)
__istream_typeoperator>> (unsigned short &__n)
__istream_typeoperator>> (int &__n)
__istream_typeoperator>> (unsigned int &__n)
__istream_typeoperator>> (long &__n)
__istream_typeoperator>> (unsigned long &__n)
__istream_typeoperator>> (float &__f)
__istream_typeoperator>> (double &__f)
__istream_typeoperator>> (long double &__f)
__istream_typeoperator>> (void *&__p)
__istream_typeoperator>> (__streambuf_type *__sb)
streamsize gcount (void) const
int_type get (void)
__istream_typeget (char_type &__c)
__istream_typeget (char_type *__s, streamsize __n, char_type __delim)
__istream_typeget (char_type *__s, streamsize __n)
__istream_typeget (__streambuf_type &__sb, char_type __delim)
__istream_typeget (__streambuf_type &__sb)
__istream_typegetline (char_type *__s, streamsize __n, char_type __delim)
__istream_typegetline (char_type *__s, streamsize __n)
__istream_typeignore (streamsize __n=1, int_type __delim=traits_type::eof())
int_type peek (void)
__istream_typeread (char_type *__s, streamsize __n)
streamsize readsome (char_type *__s, streamsize __n)
__istream_typeputback (char_type __c)
__istream_typeunget (void)
int sync (void)
pos_type tellg (void)
__istream_typeseekg (pos_type)
__istream_typeseekg (off_type, ios_base::seekdir)

Protected Attributes

streamsize _M_gcount

Friends

class  sentry

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


Member Typedef Documentation

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

Reimplemented from std::basic_ios.

Definition at line 64 of file std_istream.h.

template<typename _CharT, typename _Traits>
typedef basic_ios<_CharT, _Traits> std::basic_istream<_CharT, _Traits>::__ios_type
 

Reimplemented in std::basic_fstream.

Definition at line 60 of file std_istream.h.

template<typename _CharT, typename _Traits>
typedef basic_istream<_CharT, _Traits> std::basic_istream<_CharT, _Traits>::__istream_type
 

Reimplemented in std::basic_ifstream, std::basic_iostream, and std::basic_istringstream.

Definition at line 61 of file std_istream.h.

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

Reimplemented from std::basic_ios.

Definition at line 62 of file std_istream.h.

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

Reimplemented from std::basic_ios.

Definition at line 63 of file std_istream.h.

template<typename _CharT, typename _Traits>
typedef basic_streambuf<_CharT, _Traits> std::basic_istream<_CharT, _Traits>::__streambuf_type
 

Definition at line 59 of file std_istream.h.

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

Reimplemented from std::basic_ios.

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

Definition at line 52 of file std_istream.h.

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

Reimplemented from std::basic_ios.

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

Definition at line 53 of file std_istream.h.

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

Reimplemented from std::basic_ios.

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

Definition at line 55 of file std_istream.h.

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

Reimplemented from std::basic_ios.

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

Definition at line 54 of file std_istream.h.

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

Reimplemented from std::basic_ios.

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

Definition at line 56 of file std_istream.h.


Constructor & Destructor Documentation

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

Definition at line 73 of file std_istream.h.

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

Definition at line 80 of file std_istream.h.


Member Function Documentation

template<typename _CharT, typename _Traits>
streamsize std::basic_istream<_CharT, _Traits>::gcount ( void ) const [inline]
 

Definition at line 148 of file std_istream.h.

template<typename _CharT, typename _Traits>
__istream_type & std::basic_istream<_CharT, _Traits>::get ( __streambuf_type & __sb ) [inline]
 

Definition at line 168 of file std_istream.h.

template<typename _CharT, typename _Traits>
__istream_type& std::basic_istream<_CharT, _Traits>::get ( __streambuf_type & __sb,
char_type __delim )
 

template<typename _CharT, typename _Traits>
__istream_type & std::basic_istream<_CharT, _Traits>::get ( char_type * __s,
streamsize __n ) [inline]
 

Definition at line 161 of file std_istream.h.

template<typename _CharT, typename _Traits>
__istream_type& std::basic_istream<_CharT, _Traits>::get ( char_type * __s,
streamsize __n,
char_type __delim )
 

template<typename _CharT, typename _Traits>
__istream_type& std::basic_istream<_CharT, _Traits>::get ( char_type & __c )
 

template<typename _CharT, typename _Traits>
int_type std::basic_istream<_CharT, _Traits>::get ( void )
 

Referenced by get().

template<typename _CharT, typename _Traits>
__istream_type & std::basic_istream<_CharT, _Traits>::getline ( char_type * __s,
streamsize __n ) [inline]
 

Definition at line 175 of file std_istream.h.

template<typename _CharT, typename _Traits>
__istream_type& std::basic_istream<_CharT, _Traits>::getline ( char_type * __s,
streamsize __n,
char_type __delim )
 

Referenced by getline().

template<typename _CharT, typename _Traits>
__istream_type& std::basic_istream<_CharT, _Traits>::ignore ( streamsize __n = 1,
int_type __delim = traits_type::eof() )
 

template<typename _CharT, typename _Traits>
__istream_type& std::basic_istream<_CharT, _Traits>::operator>> ( __streambuf_type * __sb )
 

template<typename _CharT, typename _Traits>
__istream_type& std::basic_istream<_CharT, _Traits>::operator>> ( void *& __p )
 

template<typename _CharT, typename _Traits>
__istream_type& std::basic_istream<_CharT, _Traits>::operator>> ( long double & __f )
 

template<typename _CharT, typename _Traits>
__istream_type& std::basic_istream<_CharT, _Traits>::operator>> ( double & __f )
 

template<typename _CharT, typename _Traits>
__istream_type& std::basic_istream<_CharT, _Traits>::operator>> ( float & __f )
 

template<typename _CharT, typename _Traits>
__istream_type& std::basic_istream<_CharT, _Traits>::operator>> ( unsigned long & __n )
 

template<typename _CharT, typename _Traits>
__istream_type& std::basic_istream<_CharT, _Traits>::operator>> ( long & __n )
 

template<typename _CharT, typename _Traits>
__istream_type& std::basic_istream<_CharT, _Traits>::operator>> ( unsigned int & __n )
 

template<typename _CharT, typename _Traits>
__istream_type& std::basic_istream<_CharT, _Traits>::operator>> ( int & __n )
 

template<typename _CharT, typename _Traits>
__istream_type& std::basic_istream<_CharT, _Traits>::operator>> ( unsigned short & __n )
 

template<typename _CharT, typename _Traits>
__istream_type& std::basic_istream<_CharT, _Traits>::operator>> ( short & __n )
 

template<typename _CharT, typename _Traits>
__istream_type& std::basic_istream<_CharT, _Traits>::operator>> ( bool & __n )
 

template<typename _CharT, typename _Traits>
__istream_type& std::basic_istream<_CharT, _Traits>::operator>> ( ios_base &(* __pf)(ios_base &) )
 

template<typename _CharT, typename _Traits>
__istream_type& std::basic_istream<_CharT, _Traits>::operator>> ( __ios_type &(* __pf)(__ios_type &) )
 

template<typename _CharT, typename _Traits>
__istream_type& std::basic_istream<_CharT, _Traits>::operator>> ( __istream_type &(* __pf)(__istream_type &) )
 

template<typename _CharT, typename _Traits>
int_type std::basic_istream<_CharT, _Traits>::peek ( void )
 

template<typename _CharT, typename _Traits>
__istream_type& std::basic_istream<_CharT, _Traits>::putback ( char_type __c )
 

template<typename _CharT, typename _Traits>
__istream_type& std::basic_istream<_CharT, _Traits>::read ( char_type * __s,
streamsize __n )
 

template<typename _CharT, typename _Traits>
streamsize std::basic_istream<_CharT, _Traits>::readsome ( char_type * __s,
streamsize __n )
 

template<typename _CharT, typename _Traits>
__istream_type& std::basic_istream<_CharT, _Traits>::seekg ( off_type,
ios_base::seekdir )
 

template<typename _CharT, typename _Traits>
__istream_type& std::basic_istream<_CharT, _Traits>::seekg ( pos_type )
 

template<typename _CharT, typename _Traits>
int std::basic_istream<_CharT, _Traits>::sync ( void )
 

template<typename _CharT, typename _Traits>
pos_type std::basic_istream<_CharT, _Traits>::tellg ( void )
 

template<typename _CharT, typename _Traits>
__istream_type& std::basic_istream<_CharT, _Traits>::unget ( void )
 


Friends And Related Function Documentation

template<typename _CharT, typename _Traits>
friend class sentry [friend]
 

Definition at line 88 of file std_istream.h.


Member Data Documentation

template<typename _CharT, typename _Traits>
streamsize std::basic_istream<_CharT, _Traits>::_M_gcount [protected]
 

Definition at line 68 of file std_istream.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