GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||
GeezerVison is showing cplusplus.com — std::filebuf Reference
<fstream>
filebuf
class
<fstream>
std::filebuftypedef basic_filebuf<char> filebuf; File stream buffer
Stream buffer to read from and write to files. Constructed without association, these objects are associated to a file by calling member open. Once open, all input/output operations performed on the object are reflected in the associated file. Objects of this class may internally maintain an intermediate input buffer and/or an intermediate output buffer, where individual characters are read or written by i/o operations. These buffers are synchronized with the contents of the file once filled up, when explicitly requested to do so (sync), or when the object is closed. Objects of this class may be explicitly made unbuffered by calling member pubsetbuf with both arguments set to zero (see member setbuf): Unbuffered file stream buffers perform the i/o operations directly on the file, without an intermediate buffer. Access to the associated sequence of characters (i.e., the file) is given to streams by means of the interface offered by the virtual members inherited from streambuf that are overriden in this class. This is an instantiation of basic_filebuf with the following template parameters:
Member types
Public member functions
File association
Public member functions inherited from streambufLocales:
Protected virtual function overrides
The class also inherits other protected members that are non-virtual or not overridden. See base class streambuf for more details. Non-member function overloads
Home page | Privacy policy
© cplusplus.com, 2000-2026 - All rights reserved - v3.3.4s Spotted an error? contact us | |||||||||||||||||||||
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |