ROOT  6.06/09
Reference Guide
Macros | Functions | 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 "Riostream.h"
+ Include dependency graph for TSQLFile.cxx:

Go to the source code of this file.

Macros

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

Functions

 ClassImp (TSQLFile)
 

Variables

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

Macro Definition Documentation

#define ReadBoolCfg (   name,
  target 
)
Value:
if ((field.CompareTo(name, TString::kIgnoreCase)==0)) \
target = value.CompareTo(sqlio::True, TString::kIgnoreCase)==0; else
const char * True
#define name(a, b)
Definition: linkTestLib0.cpp:5
float value
Definition: math.cpp:443

Referenced by TSQLFile::ReadConfigurations().

#define ReadIntCfg (   name,
  target 
)
Value:
if ((field.CompareTo(name, TString::kIgnoreCase)==0)) \
target = value.Atoi(); else
#define name(a, b)
Definition: linkTestLib0.cpp:5
float value
Definition: math.cpp:443

Referenced by TSQLFile::ReadConfigurations().

#define ReadStrCfg (   name,
  target 
)
Value:
if ((field.CompareTo(name, TString::kIgnoreCase)==0)) \
target = value; else
#define name(a, b)
Definition: linkTestLib0.cpp:5
float value
Definition: math.cpp:443

Referenced by TSQLFile::ReadConfigurations().

#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()); \
}
const char * ConfigTable
int type
Definition: TGX11.cxx:120
#define name(a, b)
Definition: linkTestLib0.cpp:5
float value
Definition: math.cpp:443

Referenced by TSQLFile::CreateBasicTables().

Function Documentation

ClassImp ( TSQLFile  )

Variable Documentation

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 194 of file TSQLFile.cxx.

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 218 of file TSQLFile.cxx.

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 234 of file TSQLFile.cxx.

Referenced by TSQLFile::TSQLFile().

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 258 of file TSQLFile.cxx.

Referenced by TSQLFile::TSQLFile().