libdap  Updated for version 3.20.6
libdap4 is an implementation of OPeNDAP's DAP protocol.
libdap::fpistream Class Reference

#include <fdiostream.h>

Inheritance diagram for libdap::fpistream:
Inheritance graph

Public Member Functions

 fpistream (FILE *fp, bool close=false)
 

Protected Attributes

fpinbuf buf
 

Detailed Description

This specialization of istream builds a fpinbuf instance and binds it to an istream. Thus it is possible to build an istream from an open file, pipe, et c., using its open FILE pointer, and read from it using C++ stream I/O methods.

Note
: unget() works for these streams, but only for characters read using the stream. You cannot 'unget' characters that were read using the file pointer with functions like fread(3).
See also
fdistream

Definition at line 170 of file fdiostream.h.


The documentation for this class was generated from the following file: