ConvSpec Class Reference
[Public API]

Conversion specifiaction passed to StoreableFilter::toString by Archive. More...

#include <convspec.h>

List of all members.


Public Types

enum  charset {
  ISO8859_1, ISO8859_2, ISO8859_3, ISO8859_4,
  ISO8859_5, ISO8859_6, ISO8859_7, ISO8859_8,
  ISO8859_9, ISO8859_10, ISO8859_11, ISO8859_13,
  ISO8859_14, ISO8859_15, KOI8, KOI8_U,
  BULGARIAN, CP437, CP850, CP852,
  CP855, CP866, CP874, CP932,
  CP936, CP949, CP950, CP1250,
  CP1251, CP1252, CP1254, CP1255,
  CP1256, UTF7, UTF8, EUC_JP
}
 List of known encoding identifiers.

Static Public Member Functions

static const char * getUnixLCType (charset pCharset)
 Convert debea charset to UNIX LC_TYPE locale.

Public Attributes

const char * mDateFormat
 strftime compatibile format for date conversion to query value
charset mDbCharset
 Database charset.
char mDecimalPoint
 Char used for decimal point for floating point to string conversions.
int mGMTOffset
 GMT offset between application and database dates.
const char * mTimestampFormat
 strftime compatibile format for datetime conversion to query value

Detailed Description

Conversion specifiaction passed to StoreableFilter::toString by Archive.


Member Data Documentation

charset mDbCharset
 

Database charset.

Used by String filter to perform conversion from applicatios charset to database charset. If set to NULL then no conversion is performed.

int mGMTOffset
 

GMT offset between application and database dates.

If not zero then datetime conversion filters perform GMT offset conversion based on this value before storing or after loading values from database.

Value is stored as number of seconds. Value is added to datetime before storing date, and substracted from loaded date.


The documentation for this class was generated from the following file:

Documentation
Quick start
Examples
Search

API Documentation
Class hierarchy
Member index
API Reference
Store filters
Store table macros
Back

Generated by doxygen at Sun Nov 9 02:08:17 2008