StdinResponse Class Reference

Encapsulate a response read from stdin. More...

#include <StdinResponse.h>

Inheritance diagram for StdinResponse:

Inheritance graph
[legend]
Collaboration diagram for StdinResponse:

Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual FILE * get_stream () const
virtual void set_stream (FILE *s)
 StdinResponse (FILE *s)
 Initialize with standard input.
virtual ~StdinResponse ()


Detailed Description

This class holds stdin and provides an interface from which Connect can read DAP2 information from standard input. Unlike the other Response classes, StdinResponse does not close the input stream when it's done reading.

Definition at line 47 of file StdinResponse.h.


Constructor & Destructor Documentation

StdinResponse::StdinResponse ( FILE *  s  )  [inline]

Create an instance initialized to standard input. When done, does not close stdin.

See also:
Response
Parameters:
s Pointer to standard input.

Definition at line 64 of file StdinResponse.h.

virtual StdinResponse::~StdinResponse (  )  [inline, virtual]

Destructor. Does not close standard input.

Definition at line 68 of file StdinResponse.h.


Member Function Documentation

virtual FILE* StdinResponse::get_stream (  )  const [inline, virtual]

Definition at line 71 of file StdinResponse.h.

virtual void StdinResponse::set_stream ( FILE *  s  )  [inline, virtual]

Definition at line 75 of file StdinResponse.h.


The documentation for this class was generated from the following file:
Generated on Sat Jan 19 04:14:13 2008 for libdap++ by  doxygen 1.5.4