You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include "iXmlUtilBase.h"
|
|
|
|
|
#include "iXmlAlias.h"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 数据库结构
|
|
|
|
|
class I_XMLMANAGER_EXPORT iXmlUtilFieldAlias : public iXmlUtilBase
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
|
|
|
|
|
/// @brief 加载数据库结构载体
|
|
|
|
|
/// @param pVecXmlTables结果载体
|
|
|
|
|
/// @param sFile:Xml对应文件,如果为空,则自动指向 FieldAlias.xml
|
|
|
|
|
/// @param sTableSpecial如果非空,则仅仅提取指定表结构
|
|
|
|
|
static bool loadStructs(vecXmlAliasTablesPtr* pVecXmlTables,
|
|
|
|
|
QString sFile,
|
|
|
|
|
QString sTableSpecial = "");
|
|
|
|
|
|
|
|
|
|
// /// @brief 修改特定表的特定字段信息
|
|
|
|
|
// /// @param sTable特定表名
|
|
|
|
|
// /// @param p 待修改的字段新的信息
|
|
|
|
|
// /// @param sFile:Xml对应文件,如果为空,则自动指向 TableStructs.xml
|
|
|
|
|
// static bool modifyTableStructs(QString sTable,
|
|
|
|
|
// iXmlField* p,
|
|
|
|
|
// QString sFile);
|
|
|
|
|
};
|