#include <safestrings.h>
Public Member Functions | |
| SafeString () | |
| SafeString (PString newValue) | |
| void | operator= (PString newValue) |
| PString | Get () |
| virtual void | PrintOn (ostream &str) const |
| operator PString () | |
| void | operator+= (PString toBeAdded) |
| PString | GetAndDelete () |
| BOOL | IsEmpty () const |
Protected Attributes | |
| PString | internal |
| PMutex | mutex |
|
|
Construct this class with an empty internal value |
|
|
Construct this class with the internal value set to something |
|
|
Retrieve the value of the internal variable |
|
|
Retrieve and clear the value of the internal variable |
|
|
Return True if this list is empty |
|
|
Retrive the value of the internal variable as a string |
|
|
Add a new text to the string, in a thread safe fashion. |
|
|
Assign a new value to the internal variable |
|
|
print the internal string to the designated stream |
|
|
The internal variable which is accessed in a thread safe fashion. |
|
|
The lock, which is used to safeguard access to this variable |
1.4.2