1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-30 19:23:07 +03:00

Reformat all code to coding standard

This commit is contained in:
Andrew Hutchings
2017-10-26 17:18:17 +01:00
parent 4985f3456e
commit 01446d1e22
1296 changed files with 403852 additions and 353747 deletions

View File

@ -46,7 +46,7 @@ namespace WriteEngine
*/
class XMLGenData
{
public:
public:
typedef std::vector<execplan::CalpontSystemCatalog::TableName> TableList;
typedef std::map<std::string, std::string> ParmList;
typedef std::vector<std::string> LoadNames;
@ -54,23 +54,23 @@ class XMLGenData
// Valid parms that can be stored and retrieved from XMLGenData
EXPORT const static std::string DELIMITER;
EXPORT const static std::string DESCRIPTION;
#if defined(_MSC_VER) && !defined(WRITEENGINE_DLLEXPORT)
__declspec(dllimport)
#if defined(_MSC_VER) && !defined(WRITEENGINE_DLLEXPORT)
__declspec(dllimport)
#endif
EXPORT const static std::string ENCLOSED_BY_CHAR;
#if defined(_MSC_VER) && !defined(WRITEENGINE_DLLEXPORT)
__declspec(dllimport)
#if defined(_MSC_VER) && !defined(WRITEENGINE_DLLEXPORT)
__declspec(dllimport)
#endif
EXPORT const static std::string ESCAPE_CHAR;
#if defined(_MSC_VER) && !defined(WRITEENGINE_DLLEXPORT)
__declspec(dllimport)
#if defined(_MSC_VER) && !defined(WRITEENGINE_DLLEXPORT)
__declspec(dllimport)
#endif
EXPORT const static std::string JOBID;
EXPORT const static std::string MAXERROR;
EXPORT const static std::string NAME;
EXPORT const static std::string PATH;
#if defined(_MSC_VER) && !defined(WRITEENGINE_DLLEXPORT)
__declspec(dllimport)
#if defined(_MSC_VER) && !defined(WRITEENGINE_DLLEXPORT)
__declspec(dllimport)
#endif
EXPORT const static std::string RPT_DEBUG;
EXPORT const static std::string USER;
@ -92,17 +92,26 @@ class XMLGenData
EXPORT virtual void print(std::ostream& os) const;
EXPORT std::string getParm(const std::string& key) const;
const TableList& getTables() const { return fTables; }
const std::string& getSchema() const { return fSchema; }
const LoadNames& getLoadNames() const { return fLoadNames; }
const TableList& getTables() const
{
return fTables;
}
const std::string& getSchema() const
{
return fSchema;
}
const LoadNames& getLoadNames() const
{
return fLoadNames;
}
protected:
protected:
TableList fTables;
ParmList fParms;
std::string fSchema;
LoadNames fLoadNames;
private:
private:
XMLGenData(const XMLGenData&); // disable default copy ctor
XMLGenData& operator=(const XMLGenData&); // disable default assignment
};