std::basic_ofstream
cppreference.com
[] |
Google. . , . , . |
template< class CharT, class Traits = std::char_traits<CharT> > class basic_ofstream : public std::basic_ostream<CharT, Traits> |
||
basic_ofstream . streambuffer (std::basic_filebuf) (std::basic_ostream).:
The class template
basic_ofstream implements high-level output operations on file based streams. It interfaces a file-based streambuffer (std::basic_filebuf) with the high-level interface of (std::basic_ostream).std::basic_ofstream , : std::basic_filebuf<CharT, Traits>.:
A typical implementation of
std::basic_ofstream holds only one non-derived data member: an instance of std::basic_filebuf<CharT, Traits>. :
<fstream> | |
| Definition | |
ofstream
|
basic_ofstream<char>
|
wofstream
|
basic_ofstream<wchar_t>
|
-
char_type
|
CharT
|
traits_type
|
Traits
|
int_type
|
Traits::int_type
|
pos_type
|
Traits::pos_type
|
off_type
|
Traits::off_type
|
-
(public -) | |
() [virtual] ( ) |
basic_ofstream , (virtual public -) |
(C++11) |
(public -) |
(C++11) |
(public -) |
(raw) (public -) | |
| , (public -) | |
(public -) | |
| (public -) | |
,
| std::swap ( ) |
std::basic_ostream
-
std::basic_ostream (public - std::basic_ostream)
| |
(public - std::basic_ostream)
| |
| (public - std::basic_ostream)
| |
| (public - std::basic_ostream)
| |
| (public - std::basic_ostream)
| |
(public - std::basic_ostream)
| |
-
| (public std::basic_ostream)
|
std::basic_ios
-
char_type
|
CharT
|
traits_type
|
Traits
|
int_type
|
Traits::int_type
|
pos_type
|
Traits::pos_type
|
off_type
|
Traits::off_type
|
| , .. / (public - std::basic_ios)
| |
| , (public - std::basic_ios)
| |
| , (public - std::basic_ios)
| |
, (public - std::basic_ios)
| |
| , ( fail()) (public - std::basic_ios)
| |
( C++11)( C++11) |
( !fail()) (public - std::basic_ios)
|
| (public - std::basic_ios)
| |
| (public - std::basic_ios)
| |
| (public - std::basic_ios)
| |
| (public - std::basic_ios)
| |
| (public - std::basic_ios)
| |
| (public - std::basic_ios)
| |
| (public - std::basic_ios)
| |
| (public - std::basic_ios)
| |
| (public - std::basic_ios)
| |
| (public - std::basic_ios)
| |
| (public - std::basic_ios)
| |
std::ios_base
-
| (public - std::ios_base)
| |
| (public - std::ios_base)
| |
| (public - std::ios_base)
| |
| (public - std::ios_base)
| |
| (public - std::ios_base)
| |
| (public - std::ios_base)
| |
| (public - std::ios_base)
| |
[static] |
, pword() iword() (public static - std::ios_base)
|
long (public - std::ios_base)
| |
void* (public - std::ios_base)
| |
| (public - std::ios_base)
| |
[static] |
, - C C++ (public static - std::ios_base)
|
-
(public std::ios_base)
| |
(public std::ios_base)
|
- -
|
:
( ) | |||||||||||||||||||||||||||||||||||||||||
|
:
( ) | |||||||||||||||||||||||||||||||||||||||||
|
:
( ) | |||||||||||||||||||||||||||||||||||||||||
|
:
( ) | |||||||||||||||||||||||||||||||||||||||||
| () | |||||||||||||||||||||||||||||||||||||||||
| ( ) | |||||||||||||||||||||||||||||||||||||||||