alter.cpp File Reference
#include "alter.h"
#include "utils.h"
#include <kexiutils/utils.h>
#include <qmap.h>
#include <kstaticdeleter.h>
#include <stdlib.h>
Go to the source code of this file.
Namespaces | |
| namespace | KexiDB |
Defines | |
| #define | I(name, type) KexiDB_alteringTypeForProperty->insert(QCString(name).lower(), (int)AlterTableHandler::type) |
| #define | I2(name, type1, type2) |
Functions | |
| static AlterTableHandler::ActionDict * | createActionDict (AlterTableHandler::ActionDictDict &fieldActions, int forFieldUID) |
| static void | debugAction (AlterTableHandler::ActionBase *action, int nestingLevel, bool simulate, const QString &prependString=QString::null, QString *debugTarget=0) |
| static void | debugActionDict (AlterTableHandler::ActionDict *dict, int fieldUID, bool simulate) |
| static void | debugFieldActions (const AlterTableHandler::ActionDictDict &fieldActions, bool simulate) |
Variables | |
| AlterTableHandler::ChangeFieldPropertyAction | nullChangeFieldPropertyAction (true) |
| a global instance used to when returning null is needed | |
| AlterTableHandler::RemoveFieldAction | nullRemoveFieldAction (true) |
| AlterTableHandler::InsertFieldAction | nullInsertFieldAction (true) |
| AlterTableHandler::MoveFieldPositionAction | nullMoveFieldPositionAction (true) |
| static KStaticDeleter< QMap< QCString, int > > | KexiDB_alteringTypeForProperty_deleter |
| QMap< QCString, int > * | KexiDB_alteringTypeForProperty = 0 |
Define Documentation
|
|
Referenced by KexiDB::AlterTableHandler::alteringTypeForProperty(). |
|
|
Value: flag = (int)AlterTableHandler::type1|(int)AlterTableHandler::type2; \
if (flag & AlterTableHandler::PhysicalAlteringRequired) \
flag |= AlterTableHandler::MainSchemaAlteringRequired; \
KexiDB_alteringTypeForProperty->insert(QCString(name).lower(), flag)
Referenced by KexiDB::AlterTableHandler::alteringTypeForProperty(). |
Function Documentation
|
||||||||||||
|
Definition at line 202 of file alter.cpp. Referenced by KexiDB::AlterTableHandler::InsertFieldAction::simplifyActions(), KexiDB::AlterTableHandler::RemoveFieldAction::simplifyActions(), and KexiDB::AlterTableHandler::ChangeFieldPropertyAction::simplifyActions(). |
|
||||||||||||||||||||||||
|
Definition at line 211 of file alter.cpp. References KexiDBDbg, KexiDB::AlterTableHandler::ActionBase::DebugOptions::showFieldDebug, and KexiDB::AlterTableHandler::ActionBase::DebugOptions::showUID. Referenced by debugActionDict(), and KexiDB::AlterTableHandler::execute(). |
|
||||||||||||||||
|
Definition at line 240 of file alter.cpp. References debugAction(), and KexiDBDbg. Referenced by debugFieldActions(). |
|
||||||||||||
|
Definition at line 260 of file alter.cpp. References debugActionDict(). Referenced by KexiDB::AlterTableHandler::execute(). |
Variable Documentation
|
|
Definition at line 114 of file alter.cpp. Referenced by KexiDB::AlterTableHandler::alteringTypeForProperty(). |
|
|
Definition at line 113 of file alter.cpp. Referenced by KexiDB::AlterTableHandler::alteringTypeForProperty(). |
|
|
a global instance used to when returning null is needed
Referenced by KexiDB::AlterTableHandler::ActionBase::toChangeFieldPropertyAction(). |
|
|
Referenced by KexiDB::AlterTableHandler::ActionBase::toInsertFieldAction(). |
|
|
Referenced by KexiDB::AlterTableHandler::ActionBase::toMoveFieldPositionAction(). |
|
|
Referenced by KexiDB::AlterTableHandler::ActionBase::toRemoveFieldAction(). |
