Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | Static Protected Attributes
DtAccessCommandFactory Class Reference
+ Inheritance diagram for DtAccessCommandFactory:
+ Collaboration diagram for DtAccessCommandFactory:

List of all members.

Public Member Functions

virtual DtString createDatabase (const DtString &databaseName)
virtual DtString deleteDatabase (const DtString &dbName)
virtual DtString createTable (const DtDatabaseTable &table)
 Generate the command to create a table.
virtual DtString deleteTable (const DtDatabaseTable &table)
 Generate the command to create a table.
virtual void insertTable (std::vector< DtString > &commands, const DtDatabaseTable &table)
 Generate the command to insert data into a table.
virtual DtString updateTable (const DtDatabaseTable &table, const std::vector< DtString > &columnsToSet, const DtString &whereCondition)
 Generate the command to update data in the table.
virtual DtString createConditionString (const DtDatabaseColumn &column, const DtString &columnValue, ConditionOperator anOperator)
 Creeate a Condition string for a column.
virtual DtString combineConditionStrings (const DtString &conditionOne, const DtString &conditionTwo, MergeOperator anOperator)
 Create a condition string from two existing conditions.

Protected Types

typedef std::map< DtString,
DtString > 
TranslationMap

Protected Member Functions

virtual const DtString & translateName (const DtString &)
 Translate name if it is reserved, or else simply pass it through.
virtual int validDisplaySize (int size)
 Verify the display size is valid.
virtual DtString createArgList (const DtDatabaseTable &table)
virtual DtString createColumnList (const DtDatabaseTable &table)
virtual DtString createColumnRep (const DtDatabaseColumn &column)
virtual DtString dataTypeToSqlString (const DtDatabaseColumn &column)

Protected Attributes

TranslationMap myTranslationMap

Static Protected Attributes

static unsigned int theMaximumColumnSize
static unsigned int theMaximumNotesSize

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

Document ID: Generated on Tue Oct 11 19:41:03 EDT 2011 from SVN revision 107422
Copyright © 2005-2011 VT MÄK Inc. All Rights Reserved (www.mak.com)