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

std::basic_ofstream Class Template Reference

#include <std_fstream.h>

Inheritance diagram for std::basic_ofstream:

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

Collaboration graph
[legend]
List of all members.

Public Types

typedef _CharT char_type
typedef _Traits traits_type
typedef traits_type::int_type int_type
typedef traits_type::pos_type pos_type
typedef traits_type::off_type off_type
typedef basic_filebuf<char_type,
traits_type
__filebuf_type
typedef basic_ostream<char_type,
traits_type
__ostream_type

Public Methods

 basic_ofstream ()
 basic_ofstream (const char *__s, ios_base::openmode __mode=ios_base::out|ios_base::trunc)
 ~basic_ofstream ()
__filebuf_typerdbuf (void) const
bool is_open (void)
void open (const char *__s, ios_base::openmode __mode=ios_base::out|ios_base::trunc)
void close (void)

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


Member Typedef Documentation

template<typename _CharT, typename _Traits>
typedef basic_filebuf<char_type, traits_type> std::basic_ofstream<_CharT, _Traits>::__filebuf_type
 

Definition at line 300 of file std_fstream.h.

template<typename _CharT, typename _Traits>
typedef basic_ostream<char_type, traits_type> std::basic_ofstream<_CharT, _Traits>::__ostream_type
 

Reimplemented from std::basic_ostream.

Definition at line 301 of file std_fstream.h.

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

Reimplemented from std::basic_ostream.

Definition at line 293 of file std_fstream.h.

template<typename _CharT, typename _Traits>
typedef traits_type::int_type std::basic_ofstream<_CharT, _Traits>::int_type
 

Reimplemented from std::basic_ostream.

Definition at line 295 of file std_fstream.h.

template<typename _CharT, typename _Traits>
typedef traits_type::off_type std::basic_ofstream<_CharT, _Traits>::off_type
 

Reimplemented from std::basic_ostream.

Definition at line 297 of file std_fstream.h.

template<typename _CharT, typename _Traits>
typedef traits_type::pos_type std::basic_ofstream<_CharT, _Traits>::pos_type
 

Reimplemented from std::basic_ostream.

Definition at line 296 of file std_fstream.h.

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

Reimplemented from std::basic_ostream.

Definition at line 294 of file std_fstream.h.


Constructor & Destructor Documentation

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

Definition at line 304 of file std_fstream.h.

template<typename _CharT, typename _Traits>
std::basic_ofstream<_CharT, _Traits>::basic_ofstream<_CharT, _Traits> ( const char * __s,
ios_base::openmode __mode = ios_base::out|ios_base::trunc ) [inline, explicit]
 

Definition at line 309 of file std_fstream.h.

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

Definition at line 314 of file std_fstream.h.


Member Function Documentation

template<typename _CharT, typename _Traits>
void std::basic_ofstream<_CharT, _Traits>::close ( void ) [inline]
 

Definition at line 337 of file std_fstream.h.

template<typename _CharT, typename _Traits>
bool std::basic_ofstream<_CharT, _Traits>::is_open ( void ) [inline]
 

Definition at line 326 of file std_fstream.h.

template<typename _CharT, typename _Traits>
void std::basic_ofstream<_CharT, _Traits>::open ( const char * __s,
ios_base::openmode __mode = ios_base::out | ios_base::trunc ) [inline]
 

Definition at line 329 of file std_fstream.h.

Referenced by basic_ofstream().

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

Reimplemented from std::basic_ios.

Definition at line 322 of file std_fstream.h.

Referenced by close(), is_open(), and open().


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