![]() |
MAK Data Logger API Documentation for HLA
|
Inheritance diagram for DtAccessCommandFactory:
Collaboration diagram for DtAccessCommandFactory:Public Member Functions | |
| DtAccessCommandFactory () | |
| virtual | ~DtAccessCommandFactory () |
| 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. More... | |
| virtual DtString | deleteTable (const DtDatabaseTable &table) |
| Generate the command to create a table. More... | |
| virtual void | insertTable (std::vector< DtString > &commands, const DtDatabaseTable &table) |
| Generate the command to insert data into a table. More... | |
| virtual DtString | updateTable (const DtDatabaseTable &table, const std::vector< DtString > &columnsToSet, const DtString &whereCondition) |
| Generate the command to update data in the table. More... | |
| virtual DtString | createConditionString (const DtDatabaseColumn &column, const DtString &columnValue, ConditionOperator anOperator) |
| Creeate a Condition string for a column. More... | |
| virtual DtString | combineConditionStrings (const DtString &conditionOne, const DtString &conditionTwo, MergeOperator anOperator) |
| Create a condition string from two existing conditions. More... | |
Public Member Functions inherited from DtDatabaseCommandFactory | |
| DtDatabaseCommandFactory () | |
| Default CTOR. More... | |
| virtual | ~DtDatabaseCommandFactory () |
| Default DTOR. More... | |
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. More... | |
| virtual int | validDisplaySize (int size) |
| Verify the display size is valid. More... | |
| 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 |
Additional Inherited Members | |
Public Types inherited from DtDatabaseCommandFactory | |
| enum | ConditionOperator { Equals, NotEquals } |
| enum | MergeOperator { And, Or } |
|
protected |
| DtAccessCommandFactory::DtAccessCommandFactory | ( | ) |
|
virtual |
|
virtual |
Create a condition string from two existing conditions.
Implements DtDatabaseCommandFactory.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
virtual |
Creeate a Condition string for a column.
Implements DtDatabaseCommandFactory.
Implements DtDatabaseCommandFactory.
|
virtual |
Generate the command to create a table.
Implements DtDatabaseCommandFactory.
|
protectedvirtual |
Implements DtDatabaseCommandFactory.
|
virtual |
Generate the command to create a table.
Implements DtDatabaseCommandFactory.
|
virtual |
Generate the command to insert data into a table.
Implements DtDatabaseCommandFactory.
Translate name if it is reserved, or else simply pass it through.
|
virtual |
Generate the command to update data in the table.
Implements DtDatabaseCommandFactory.
|
protectedvirtual |
Verify the display size is valid.
|
protected |
|
staticprotected |
|
staticprotected |