Virtual Streams
String operators to and from Rogue Wave virtual streams are also supported:
 
RWvistream& operator>>(RWvistream& vstream, RWCString& cstr);
RWvostream& operator<<(RWvostream& vstream,
const RWCString& cstr);
By using these operators, you can save and restore a string without knowing its formatting. See Chapter 5 for details on virtual streams.