TextBox_iostream Class Template Reference

An iostream that outputs to a SmartWin++ text box and gets input from the keyboard. More...

Inherits iostream.

List of all members.

Public Member Functions

 TextBox_iostream (SmartWin::WidgetTextBox< Parent, MessageMapPolicy > *TextBox)
 The constructor requires a created WidgetTextBox.


Detailed Description

template<class Parent, class MessageMapPolicy = MessageMapPolicyNormalWidget>
class SmartWin::TextBox_iostream< Parent, MessageMapPolicy >

An iostream that outputs to a SmartWin++ text box and gets input from the keyboard.

This is a new iostream based upon the custom streambuf called WidgetTextBox_streambuf. All that is needed is to use the iostream constructor with a tcp_streambuf. Then you have the normal iostream operations just as cout or cin.

Back to SmartWin website
SourceForge.net Logo