basic_fstream Class Reference

class basic_fstream : public basic_iostream
Public Member Functions
basic_fstream()
basic_fstream(const char *, ios_base::openmode)
basic_fstream(int, ios_base::openmode)
basic_fstream(const char *, ios_base::openmode, long)
~basic_fstream()
voidclose()
boolis_open()
voidopen(const char *, ios_base::openmode)
basic_filebuf< _CharT, _Traits > *rdbuf()
Inherited Functions
basic_ios::_M_handle_exception(ios_base::iostate)
basic_ios::_S_eof(int_type)
basic_ios::basic_ios()
basic_ios::basic_ios(basic_streambuf< _CharT, _Traits > *)
basic_ios::clear(iostate)
basic_ios::copyfmt(const basic_ios< _CharT, _Traits > &)
basic_ios::exceptions()const
basic_ios::exceptions(iostate)
basic_ios::fill()const
basic_ios::fill(char_type)
basic_ios::imbue(const locale &)
basic_ios::init(basic_streambuf< _CharT, _Traits > *)
basic_ios::narrow(_CharT,char)const
basic_ios::rdbuf(basic_streambuf< char_type, traits_type > *)
basic_ios::setstate(iostate)
basic_ios::tie()const
basic_ios::tie(basic_ostream< char_type, traits_type > *)
basic_ios::widen(char)const
basic_ios::~basic_ios()
basic_iostream::basic_iostream(basic_streambuf< _CharT, _Traits > *)
basic_iostream::~basic_iostream()
basic_istream::_M_formatted_get(_CharT &)
basic_istream::_M_formatted_get(_CharT *)
basic_istream::_M_skip_whitespace(bool)
basic_istream::basic_istream(basic_streambuf< _CharT, _Traits > *)
basic_istream::gcount()const
basic_istream::get()
basic_istream::get(basic_streambuf< _CharT, _Traits > &)
basic_istream::get(basic_streambuf< _CharT, _Traits > &,char_type)
basic_istream::get(char_type &)
basic_istream::get(char_type *,streamsize)
basic_istream::get(char_type *,streamsize,char_type)
basic_istream::getline(char_type *,streamsize)
basic_istream::getline(char_type *,streamsize,char_type)
basic_istream::ignore()
basic_istream::ignore(streamsize)
basic_istream::ignore(streamsize,int_type)
basic_istream::operator>>(__ios_base_fn)
basic_istream::operator>>(__ios_fn)
basic_istream::operator>>(__istream_fn)
basic_istream::operator>>(basic_streambuf< _CharT, _Traits > *)
basic_istream::operator>>(bool &)
basic_istream::operator>>(double &)
basic_istream::operator>>(float &)
basic_istream::operator>>(int &)
basic_istream::operator>>(long &)
basic_istream::operator>>(long double &)
basic_istream::operator>>(short &)
basic_istream::operator>>(unsigned int &)
basic_istream::operator>>(unsigned long &)
basic_istream::operator>>(unsigned short &)
basic_istream::operator>>(void *&)
basic_istream::peek()
basic_istream::putback(char_type)
basic_istream::read(char_type *,streamsize)
basic_istream::readsome(char_type *,streamsize)
basic_istream::seekg(off_type,ios_base::seekdir)
basic_istream::seekg(pos_type)
basic_istream::sync()
basic_istream::tellg()
basic_istream::unget()
basic_istream::~basic_istream()
ios_base::_M_check_exception_mask()
ios_base::_M_clear_nothrow(iostate)
ios_base::_M_copy_state(const ios_base &)
ios_base::_M_ctype_facet()const
ios_base::_M_get_exception_mask()const
ios_base::_M_grouping()const
ios_base::_M_invoke_callbacks(event)
ios_base::_M_numpunct_facet()const
ios_base::_M_set_exception_mask(iostate)
ios_base::_M_setstate_nothrow(iostate)
ios_base::_M_throw_failure()
ios_base::_S_initialize()
ios_base::_S_uninitialize()
ios_base::bad()const
ios_base::eof()const
ios_base::fail()const
ios_base::flags()const
ios_base::flags(fmtflags)
ios_base::getloc()const
ios_base::good()const
ios_base::ios_base()
ios_base::iword(int)
ios_base::operator void *()const
ios_base::operator!()const
ios_base::precision()const
ios_base::precision(streamsize)
ios_base::pword(int)
ios_base::rdstate()const
ios_base::register_callback(event_callback,int)
ios_base::setf(fmtflags)
ios_base::setf(fmtflags,fmtflags)
ios_base::sync_with_stdio(bool)
ios_base::unsetf(fmtflags)
ios_base::width()const
ios_base::width(streamsize)
ios_base::xalloc()
ios_base::~ios_base()
Inherited Enumerations
ios_base:event
Public Member Type Definitions
typedef basic_iostream< _CharT, _Traits > _Base
typedef basic_ios< _CharT, _Traits > _Basic_ios
typedef basic_filebuf< _CharT, _Traits > _Buf
typedef_CharT char_type
typedef_Traits::int_type int_type
typedef_Traits::off_type off_type
typedef_Traits::pos_type pos_type
typedef_Traits traits_type
Private Attributes
basic_filebuf< _CharT, _Traits >_M_buf
Inherited Attributes
ios_base::_M_cached_ctype
ios_base::_M_cached_grouping
ios_base::_M_cached_numpunct
ios_base::_S_was_synced
ios_base::__default_mode
ios_base::adjustfield
ios_base::app
ios_base::ate
ios_base::badbit
ios_base::basefield
ios_base::beg
ios_base::binary
ios_base::boolalpha
ios_base::cur
ios_base::dec
ios_base::end
ios_base::eofbit
ios_base::failbit
ios_base::fixed
ios_base::floatfield
ios_base::goodbit
ios_base::hex
ios_base::in
ios_base::internal
ios_base::left
ios_base::oct
ios_base::out
ios_base::right
ios_base::scientific
ios_base::showbase
ios_base::showpoint
ios_base::showpos
ios_base::skipws
ios_base::trunc
ios_base::unitbuf
ios_base::uppercase

Constructor & Destructor Documentation

basic_fstream()

basic_fstream()[inline]

basic_fstream(const char *, ios_base::openmode)

basic_fstream(const char *__s,
ios_base::openmode__mod =  ios_base::in|ios_base::out
)[inline, explicit]

Parameters

const char * __s
ios_base::openmode __mod =  ios_base::in|ios_base::out

basic_fstream(int, ios_base::openmode)

basic_fstream(int__id,
ios_base::openmode__mod =  ios_base::in|ios_base::out
)[inline, explicit]

Parameters

int __id
ios_base::openmode __mod =  ios_base::in|ios_base::out

basic_fstream(const char *, ios_base::openmode, long)

basic_fstream(const char *__s,
ios_base::openmode__m,
long__protection
)[inline]

Parameters

const char * __s
ios_base::openmode __m
long __protection

~basic_fstream()

~basic_fstream()[inline]

Member Functions Documentation

close()

voidclose()[inline]

is_open()

boolis_open()[inline]

open(const char *, ios_base::openmode)

voidopen(const char *__s,
ios_base::openmode__mod =  ios_base::in|ios_base::out
)[inline]

Parameters

const char * __s
ios_base::openmode __mod =  ios_base::in|ios_base::out

rdbuf()

basic_filebuf< _CharT, _Traits > *rdbuf()const [inline]

Member Type Definitions Documentation

Typedef _Base

typedef basic_iostream< _CharT, _Traits >_Base

Typedef _Basic_ios

typedef basic_ios< _CharT, _Traits >_Basic_ios

Typedef _Buf

typedef basic_filebuf< _CharT, _Traits >_Buf

Typedef char_type

typedef _CharTchar_type

Typedef int_type

typedef _Traits::int_typeint_type

Typedef off_type

typedef _Traits::off_typeoff_type

Typedef pos_type

typedef _Traits::pos_typepos_type

Typedef traits_type

typedef _Traitstraits_type

Member Data Documentation

basic_filebuf< _CharT, _Traits > _M_buf

basic_filebuf< _CharT, _Traits >_M_buf[private]