#include <stdexcept>
#include <cstdlib>
#include <string>
#include <string.h>
#include "OnlineDB/Oracle/interface/Oracle.h"
#include "OnlineDB/EcalCondDB/interface/ODFEDAQConfig.h"
Go to the source code of this file.
Macros | |
#define | MY_NULL -1 |
#define | SET_INT(statement, paramNum, paramVal) if( paramVal != MY_NULL ) { statement->setInt(paramNum, paramVal); } else { statement->setNull(paramNum,OCCINUMBER); } |
#define | SET_STRING(statement, paramNum, paramVal) if( ! paramVal.empty() ) { statement->setString(paramNum, paramVal); } else { statement->setNull(paramNum,OCCICHAR); } |
Functions | |
int | getInt (ResultSet *rset, int ipar) |
#define MY_NULL -1 |
Definition at line 12 of file ODFEDAQConfig.cc.
Referenced by ODFEDAQConfig::clear(), and getInt().
#define SET_INT | ( | statement, | |
paramNum, | |||
paramVal | |||
) | if( paramVal != MY_NULL ) { statement->setInt(paramNum, paramVal); } else { statement->setNull(paramNum,OCCINUMBER); } |
Definition at line 13 of file ODFEDAQConfig.cc.
Referenced by ODFEDAQConfig::writeDB().
#define SET_STRING | ( | statement, | |
paramNum, | |||
paramVal | |||
) | if( ! paramVal.empty() ) { statement->setString(paramNum, paramVal); } else { statement->setNull(paramNum,OCCICHAR); } |
Definition at line 14 of file ODFEDAQConfig.cc.
int getInt | ( | ResultSet * | rset, |
int | ipar | ||
) |
Definition at line 16 of file ODFEDAQConfig.cc.
References MY_NULL.
Referenced by HcalLutManager::create_lut_loader(), ODFEDAQConfig::fetchData(), DBlmapReader::GetLMAP(), HCALConfigDB::getOnlineLUT(), and HCALConfigDB::getOnlineLUTFromXML().