Public Members

Construction/Destruction

filebuf Constructs a filebuf object.  
~filebuf Destroys a filebuf object.  

Operations

open Opens a file and attaches it to the filebuf object.  
close Flushes any waiting output and closes the attached file.  
setmode Sets the file's mode to binary or text.  
attach Attaches the filebuf object to an open file.  

Status/Information

fd Returns the stream's file descriptor.  
is_open Tests whether the file is open.