#include <rtkformatter.h>
Public Member Functions | |
Formatter (const RegConfig ®cfg, char blank_char= ' ') | |
String | format (const String &text, const String &format, const String &mask) const |
String | format (int val, const String &format, const String &mask) const |
String | format (double val, const String &format, const String &mask) const |
String | format (const Money &val, const String &format, const String &mask) const |
String | format (const QDate &adate, const String &format, const String &mask) const |
String | format (const QTime &atime, const String &format, const String &mask) const |
String | format (const QDateTime &adatetime, const String &format, const String &mask) const |
String | format (const Variant &avalue, const String &format, const String &mask, Variant::Type valuetype=Variant::Invalid) const |
int | unMaskInt (const String &text, const String &mask) const |
int | unFormatInt (const String &text, const String &format) const |
double | unMaskDouble (const String &text, const String &mask) const |
double | unFormatDouble (const String &text, const String &format) const |
Money | unMaskMoney (const String &text, const String &mask) const |
Money | unFormatMoney (const String &text, const String &format) const |
QDateTime | unMaskDateTime (const String &text, const String &mask, Variant::Type valuetype=Variant::tDateTime) const |
QDateTime | unFormatDateTime (const String &text, const String &format, Variant::Type valuetype=Variant::tDateTime) const |
String | mask (const char *text, Variant::Type valuetype, const char *mask) const |
String | mask (int val, Variant::Type valuetype, const char *mask) const |
String | mask (double valValue, Variant::Type valuetype, const char *mask) const |
String | mask (const QDateTime &adate, Variant::Type valuetype, const char *mask) const |
String | mask (const Variant &avalue, Variant::Type valuetype, const char *mask) const |
String | mask_inedit (const char *origtext, Variant::Type valuetype, const char *mask, int start_pos, int *position) const |
void | setBlankChar (char blank_char) |
char | getBlankChar () const |