PTLib
Version 2.10.4
|
Representation of EBNF text-value. More...
#include <vcard.h>
Public Member Functions | |
TextValue (const char *str=NULL) | |
TextValue (const PString &str) | |
virtual void | PrintOn (ostream &strm) const |
Output the string to the specified stream. | |
virtual void | ReadFrom (istream &strm) |
Input the string from the specified stream. |
Representation of EBNF text-value.
PvCard::TextValue::TextValue | ( | const char * | str = NULL | ) | [inline] |
PvCard::TextValue::TextValue | ( | const PString & | str | ) | [inline] |
virtual void PvCard::TextValue::PrintOn | ( | ostream & | strm | ) | const [virtual] |
Output the string to the specified stream.
Reimplemented from PString.
virtual void PvCard::TextValue::ReadFrom | ( | istream & | strm | ) | [virtual] |
Input the string from the specified stream.
This will read all characters until a end of line is reached. The end of line itself is not placed in the string, however it is removed from the stream.
Reimplemented from PString.