#include <datatypes.h>
Inheritance diagram for YString:
Public Member Functions | |
YString (const QString &c=QString::null) | |
virtual QString | GetContentString () const |
Returns the content as string, e.g. for writing configuration files. | |
virtual QString | GetVisibleContentString () const |
virtual int | ReadFromString (const QString &s) |
Read the contents from a string, e.g. reading from configuration files. | |
const QString & | operator= (const QString &c) |
This operator sets the content of the instance. | |
Static Public Member Functions | |
QString | Justify (QString tmp, int width=YASATIME_JUSTIFYNUMBER, QChar fillchar=YASATIME_JUSTIFYFILL) |
|
|
|
Returns the content as string, e.g. for writing configuration files.
Reimplemented from YDerivedObject. |
|
Returns a visible string of the content. This is used to print the contents in a localized way (such as "infinity") Reimplemented from YDerivedObject. |
|
This function justifies the given string to a 64Bit value Example: tmp= 2 -> 0000000000000002 Example: tmp= 20 -> 0000000000000020 Example: tmp= 2.0 -> 0000000000000002.0 |
|
This operator sets the content of the instance.
Reimplemented from YDerivedType< QString >. |
|
Read the contents from a string, e.g. reading from configuration files.
Reimplemented from YDerivedObject. |