class db_iostream: public iostream

subclass if iostream, hide from user the communication details

Inheritance:


Public Methods

db_iostream()
db_iostream( streambuf *sb )
void wait_input()
istream& operator >>( string &s )
void skip_to_prompt()
before reading, check for everything_read flag
void skip_to_prompt( vector< string > &messages )
void append_messages( vector< string > &msgs )

Private Fields

bool before_mark
bool everything_read
vector < string > messages

Documentation

subclass if iostream, hide from user the communication details
bool before_mark

bool everything_read

vector < string > messages

db_iostream()

db_iostream( streambuf *sb )

void wait_input()

istream& operator >>( string &s )

void skip_to_prompt()
before reading, check for everything_read flag. If nothing to wait from input, return. After sending the command that should return something, user must call wait_input, which indicates that sequence of -> and <- should appear in input before '>>>'

void skip_to_prompt( vector< string > &messages )

void append_messages( vector< string > &msgs )


This class has no child classes.

alphabetic index html hierarchy of classes or java



This page was generated with the help of DOC++.