Standard C++ Library Reference ISO/IEC (VERSION3)

basic_ofstream::open
void open(const char *filename,
ios_base::openmode mode = ios_base::out);
The member function calls rdbuf()-> open(filename, mode |
ios_base::out). If that function returns a null pointer, the function calls
setstate(failbit).
basic_ofstream::rdbuf
basic_filebuf<Elem, Tr> *rdbuf() const
The member function returns the address of the stored stream buffer.
filebuf
typedef basic_filebuf<char, char_traits<char> > filebuf;
The type is a synonym for template class basic_filebuf, specialized for elements of type
char with default character traits.
fstream
typedef basic_fstream<char, char_traits<char> > fstream;
The type is a synonym for template class basic_fstream, specialized for elements of type
char with default character traits.
ifstream
typedef basic_ifstream<char, char_traits<char> > ifstream;
The type is a synonym for template class basic_ifstream, specialized for elements of type
char with default character traits.
ofstream
typedef basic_ofstream<char, char_traits<char> >
ofstream;
The type is a synonym for template class basic_ofstream, specialized for elements of type
char with default character traits.