Logo ROOT  
Reference Guide
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:

Namespaces

namespace  ROOT
 This file contains a specialised ROOT message handler to test for diagnostic in unit tests.
 

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
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void value
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()); \
}
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h Atom_t Int_t ULong_t ULong_t unsigned char prop_list Atom_t Atom_t Atom_t Time_t type
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.