Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | Related Pages

RTK::Formatter Class Reference

Class format strings with locale info. More...

#include <rtkformatter.h>

List of all members.

Public Member Functions

 Formatter (const RegConfig &regcfg, 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


Detailed Description

Class format strings with locale info.


The documentation for this class was generated from the following file:
Generated on Tue Feb 22 14:44:37 2005 for RTK. Report ToolKit by  doxygen 1.3.9.1