Logo ROOT   6.16/01
Reference Guide
Macros | Variables
TSQLFile.cxx File Reference
#include "TSQLFile.h"
#include "TROOT.h"
#include "TSystem.h"
#include "TList.h"
#include "TBrowser.h"
#include "TObjArray.h"
#include "TObjString.h"
#include "TArrayC.h"
#include "TVirtualStreamerInfo.h"
#include "TStreamerElement.h"
#include "TProcessID.h"
#include "TError.h"
#include "TClass.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 "TVirtualMutex.h"
#include "Riostream.h"
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
@ kIgnoreCase
Definition: TString.h:263
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:120
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 195 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 217 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 233 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 255 of file TSQLFile.cxx.