MyMoneyDbDatetimeColumn Class Reference

#include <mymoneystoragesql.h>

Inheritance diagram for MyMoneyDbDatetimeColumn:

MyMoneyDbColumn KShared
Collaboration diagram for MyMoneyDbDatetimeColumn:

Collaboration graph

List of all members.

Public Member Functions

 MyMoneyDbDatetimeColumn (const QString &iname, const bool iprimary=false, const bool inotnull=false, const QString &initVersion="0.1")
virtual ~MyMoneyDbDatetimeColumn ()
virtual const QString generateDDL (databaseTypeE dbType) const
virtual MyMoneyDbDatetimeColumnclone () const

Static Private Member Functions

static const QString calcType (void)

Detailed Description

The MyMoneyDbDatetimeColumn class is a representation of datetime columns.

Constructor & Destructor Documentation

MyMoneyDbDatetimeColumn::MyMoneyDbDatetimeColumn ( const QString &  iname,
const bool  iprimary = false,
const bool  inotnull = false,
const QString &  initVersion = "0.1" 
) [inline]

virtual MyMoneyDbDatetimeColumn::~MyMoneyDbDatetimeColumn (  )  [inline, virtual]

Member Function Documentation

virtual const QString MyMoneyDbDatetimeColumn::generateDDL ( databaseTypeE  dbType  )  const [virtual]

This method generates the DDL (Database Design Language) string for the column.

dbType Database driver type
QString of the DDL for the column, tailored for what the driver supports.

Reimplemented from MyMoneyDbColumn.

virtual MyMoneyDbDatetimeColumn* MyMoneyDbDatetimeColumn::clone (  )  const [virtual]

This method is used to copy column objects. Because there are several derived types, clone() is more appropriate than a copy ctor in most cases.

Reimplemented from MyMoneyDbColumn.

static const QString MyMoneyDbDatetimeColumn::calcType ( void   )  [static, private]

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

Generated on Wed Jan 26 13:09:12 2011 for KMyMoney by  doxygen 1.5.6