CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Namespaces | Functions | Variables
CondDBTools.cc File Reference
#include "CondCore/Utilities/interface/CondDBTools.h"
#include "CondCore/Utilities/interface/CondDBImport.h"
#include "CondCore/CondDB/interface/ConnectionPool.h"
#include "CondCore/CondDB/src/DbCore.h"
#include "CondCore/DBCommon/interface/DbTransaction.h"
#include <boost/filesystem.hpp>
#include <boost/regex.hpp>
#include <boost/bind.hpp>

Go to the source code of this file.

Classes

struct  cond::persistency::COND_LOG_TABLE::EXECTIME
 
struct  cond::persistency::IOVComp
 
struct  cond::persistency::COND_LOG_TABLE::IOVTAG
 
struct  cond::persistency::COND_LOG_TABLE::USERTEXT
 

Namespaces

 cond
 
 cond::persistency
 
 cond::persistency::COND_LOG_TABLE
 

Functions

bool cond::persistency::compareTags (const std::string &firstTag, Session &firstSession, const std::string &firstFileName, const std::string &secondTag, Session &secondSession, const std::string &secondFileName)
 
bool cond::persistency::copyIov (Session &session, const std::string &sourceTag, const std::string &destTag, cond::Time_t souceSince, cond::Time_t destSince, const std::string &description, bool log)
 
size_t cond::persistency::copyTag (const std::string &sourceTag, Session &sourceSession, const std::string &destTag, Session &destSession, UpdatePolicy policy, bool log, bool forValidation)
 
static const boost::regex cond::persistency::duplicate ("duplicateIOV[[:print:]]+?[S|s]ince[=| ]([[:alnum:]]+?);.*")
 
static const boost::regex cond::persistency::exportIOV ("exportIOV[[:print:]]+?;since=([[:alnum:]]+?),[[:print:]]+?; *copied=([[:alnum:]]+?);.*")
 
size_t cond::persistency::exportTagToFile (const std::string &tag, const std::string &destTag, Session &session, const std::string fileName)
 
bool cond::persistency::getInsertionLogs (const std::string &tag, cond::DbSession &logDbSession, std::vector< std::pair< cond::Time_t, boost::posix_time::ptime > > &loggedInsertions)
 
size_t cond::persistency::importIovs (const std::string &sourceTag, Session &sourceSession, const std::string &destTag, Session &destSession, cond::Time_t begin, cond::Time_t end, const std::string &description, bool log)
 
size_t cond::persistency::migrateTag (const std::string &sourceTag, Session &sourceSession, const std::string &destTag, Session &destSession, UpdatePolicy policy, cond::DbSession &logDbSession)
 
static const boost::regex cond::persistency::popcon_many ("PopCon[[:print:]]+?first payload Since ([[:alnum:]]+?),.*")
 
static const boost::regex cond::persistency::popcon_one ("PopCon[[:print:]]+?;Since ([[:alnum:]]+?);.*")
 
template<typename T >
std::vector< T >::const_iterator cond::persistency::search (const cond::Time_t &val, const std::vector< T > &container)
 
static const std::string cond::persistency::time_0 ("2008-01-01 00:00:42.000")
 
bool cond::persistency::validateTag (const std::string &refTag, Session &refSession, const std::string &candTag, Session &candSession)
 

Variables

static char const * cond::persistency::COND_LOG_TABLE::tname = "COND_LOG_TABLE"