Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TSQLFile.cxx File Reference
#include "TSQLFile.h"
#include "TROOT.h"
#include "TObjArray.h"
#include "TList.h"
#include "TArrayC.h"
#include "TVirtualStreamerInfo.h"
#include "TStreamerElement.h"
#include "TProcessID.h"
#include "TError.h"
#include "TClass.h"
#include "TVirtualMutex.h"
#include "TSQLServer.h"
#include "TSQLTableInfo.h"
#include "TSQLColumnInfo.h"
#include "TSQLStatement.h"
#include "TSQLResult.h"
#include "TSQLRow.h"
#include "TBufferSQL2.h"
#include "TSQLStructure.h"
#include "TKeySQL.h"
#include "TSQLClassInfo.h"
#include "TSQLObjectData.h"
#include <iostream>
#include <fstream>
Include dependency graph for TSQLFile.cxx:

Macros

#define ReadBoolCfg(name, target)
 
#define ReadIntCfg(name, target)
 
#define ReadStrCfg(name, target)
 
#define WrintCfg(name, type, value)
 

Variables

const char * mysql_BasicTypes [21]
 
const char * mysql_OtherTypes [13]
 
const char * oracle_BasicTypes [21]
 
const char * oracle_OtherTypes [13]
 

Macro Definition Documentation

◆ ReadBoolCfg

#define ReadBoolCfg (   name,
  target 
)
Value:
if ((field.CompareTo(name, TString::kIgnoreCase) == 0)) \
target = value.CompareTo(sqlio::True, TString::kIgnoreCase) == 0; \
else
char name[80]
Definition TGX11.cxx:110
@ kIgnoreCase
Definition TString.h:268
const char * True

◆ ReadIntCfg

#define ReadIntCfg (   name,
  target 
)
Value:
if ((field.CompareTo(name, TString::kIgnoreCase) == 0)) \
target = value.Atoi(); \
else

◆ ReadStrCfg

#define ReadStrCfg (   name,
  target 
)
Value:
if ((field.CompareTo(name, TString::kIgnoreCase) == 0)) \
target = value; \
else

◆ WrintCfg

#define WrintCfg (   name,
  type,
  value 
)
Value:
{ \
sqlcmd.Form("INSERT INTO %s%s%s VALUES (%s%s%s, %s" type "%s)", quote, sqlio::ConfigTable, quote, vquote, name, \
vquote, vquote, value, vquote); \
SQLQuery(sqlcmd.Data()); \
}
int type
Definition TGX11.cxx:121
const char * ConfigTable

Variable Documentation

◆ mysql_BasicTypes

const char* mysql_BasicTypes[21]
Initial value:
= {"VARCHAR(255)",
"TINYINT UNSIGNED",
"SMALLINT",
"INT",
"BIGINT",
"FLOAT",
"INT",
"VARCHAR(255)",
"DOUBLE",
"DOUBLE",
"",
"TINYINT UNSIGNED",
"SMALLINT UNSIGNED",
"INT UNSIGNED",
"BIGINT UNSIGNED",
"INT UNSIGNED",
"BIGINT",
"BIGINT UNSIGNED",
"BOOL",
"DOUBLE",
""}

Definition at line 192 of file TSQLFile.cxx.

◆ mysql_OtherTypes

const char* mysql_OtherTypes[13]
Initial value:
= {
"VARCHAR(255)",
"255",
"TEXT",
"DATETIME",
"`",
"dir:id",
"key:id",
"obj:id",
"raw:id",
"str:id",
":",
"\"",
"InnoDB"
}

Definition at line 214 of file TSQLFile.cxx.

◆ oracle_BasicTypes

const char* oracle_BasicTypes[21]
Initial value:
= {"VARCHAR(255)",
"INT",
"INT",
"INT",
"INT",
"FLOAT",
"INT",
"VARCHAR(255)",
"DOUBLE PRECISION",
"DOUBLE PRECISION",
"",
"INT",
"INT",
"INT",
"INT",
"INT",
"INT",
"INT",
"INT",
"FLOAT",
""}

Definition at line 230 of file TSQLFile.cxx.

◆ oracle_OtherTypes

const char* oracle_OtherTypes[13]
Initial value:
= {
"VARCHAR(1000)",
"1000",
"VARCHAR(4000)",
"VARCHAR(50)",
"\"",
"dir:id",
"key:id",
"obj:id",
"raw:id",
"str:id",
":",
"'",
""
}

Definition at line 252 of file TSQLFile.cxx.