RVLAlg::IOTerminator Class Reference

Prints a message to the output stream and reads a single character response from the input stream. More...

#include <ioterm.hh>

Inheritance diagram for RVLAlg::IOTerminator:

RVLAlg::Terminator List of all members.

Public Member Functions

 IOTerminator ()
 IOTerminator (char t[])
 IOTerminator (istream &in_, ostream &out_)
 IOTerminator (char t[], istream &in_, ostream &out_)
virtual ~IOTerminator ()
virtual bool query ()

Protected Attributes

char * s
istream & ins
ostream & outs

Detailed Description

Prints a message to the output stream and reads a single character response from the input stream.

returns true if reponse == 'y' or 'Y' false otherwise

Definition at line 57 of file ioterm.hh.


Constructor & Destructor Documentation

RVLAlg::IOTerminator::IOTerminator (  ) 

Definition at line 60 of file ioterm.hh.

References s.

RVLAlg::IOTerminator::IOTerminator ( char  t[]  ) 

Definition at line 65 of file ioterm.hh.

References s.

RVLAlg::IOTerminator::IOTerminator ( istream &  in_,
ostream &  out_ 
)

Definition at line 71 of file ioterm.hh.

References s.

RVLAlg::IOTerminator::IOTerminator ( char  t[],
istream &  in_,
ostream &  out_ 
)

Definition at line 77 of file ioterm.hh.

References s.

virtual RVLAlg::IOTerminator::~IOTerminator (  )  [virtual]

Definition at line 84 of file ioterm.hh.

References s.


Member Function Documentation

virtual bool RVLAlg::IOTerminator::query (  )  [virtual]

Implements RVLAlg::Terminator.

Definition at line 89 of file ioterm.hh.

References ins, outs, and s.


Member Data Documentation

char* RVLAlg::IOTerminator::s [protected]

Definition at line 102 of file ioterm.hh.

Referenced by IOTerminator(), query(), and ~IOTerminator().

istream& RVLAlg::IOTerminator::ins [protected]

Definition at line 103 of file ioterm.hh.

Referenced by query().

ostream& RVLAlg::IOTerminator::outs [protected]

Definition at line 104 of file ioterm.hh.

Referenced by query().


The documentation for this class was generated from the following file:
Generated on 5 Jan 2017 for RvlAlg by  doxygen 1.4.7