代码拉取完成,页面将自动刷新
/********************************************************
* Copyright (c) 2004-2022, Brick Technologies Co., Ltd
* All rights reserved.
* Home page:http://www.bricktou.com
********************************************************/
/**
* Generate mysql c
*/
#pragma once
#define Brick "Brick Technologies Co., Ltd"
// Output report succeeded
#define PLI_OK 0
// Stop the program running
#define PLI_EXIT -1
#define SEND_INFO(major, minor) \
aScct->sendInfo(major, minor, __FILE__, __LINE__)
#define EXIT_INFO(major) do { \
aScct->sendInfo(major, "", __FILE__, __LINE__); \
return PLI_EXIT; \
}while (0)
#include "stdafx.h"
#include "IAccessSCCT.h"
#include "ISCCGenerate.h"
namespace sccp {
class SCCPBase {
public:
/**
* Handle of access SCCT
*/
IAccessSCCT *aScct;
bool filterColumn(IColumn *column);
std::string getTypeByCol(IColumn *column);
int getLenArrayByCol(IColumn *column);
std::string codeToVarName(std::string &code);
int errCount;
int checkCode(ITable *pTable);
int checkColCode(IColumn *column);
void outputFileHead(ITable *pTable);
void outputInclude();
/**
* Handle of report file
*/
FILE *hf;
int createFile(ITable *pTable);
int createPath(const std::string &path);
SCCPBase(void);
void putIndent(const int indent = 4);
/**
* Auxiliary function to make the output code beautiful
*/
size_t maxColumnLength;
int initColumnLength(ITable *pTable);
private:
int setColumnLength(IColumn *column);
std::vector<std::string> split(const std::string &str, const std::string &sep);
std::string upFirst(const std::string &str);
};
}//sccp
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。