29 #ifndef STREAMSTRING_H_
30 #define STREAMSTRING_H_
36 class StreamString:
public Str{
40 StreamString(
const string &n):
Str(n) {};
41 StreamString(
const string &n,
const string &d):
Str(n,d) {}
43 virtual ~StreamString()
46 StreamString(
const Str ©_from):
Str(copy_from){}
49 friend ostream& operator<<(ostream& out,
const Str& s)
56 friend istream& operator>>(istream& in,
Str& s)