CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
cond::IOVSchemaUtility Class Reference

#include <IOVSchemaUtility.h>

Public Member Functions

void create ()
 create iov tables if not existing More...
 
void drop ()
 drop iov tables if existing More...
 
 IOVSchemaUtility (DbSession &pooldb)
 
void truncate ()
 truncate iov tables if existing More...
 
 ~IOVSchemaUtility ()
 

Private Attributes

cond::DbSession m_pooldb
 

Detailed Description

Definition at line 6 of file IOVSchemaUtility.h.

Constructor & Destructor Documentation

cond::IOVSchemaUtility::IOVSchemaUtility ( cond::DbSession pooldb)

Definition at line 4 of file IOVSchemaUtility.cc.

4  :m_pooldb(pooldb){
5 }
cond::DbSession m_pooldb
cond::IOVSchemaUtility::~IOVSchemaUtility ( )

Definition at line 6 of file IOVSchemaUtility.cc.

6 {}

Member Function Documentation

void cond::IOVSchemaUtility::create ( )

create iov tables if not existing

Definition at line 8 of file IOVSchemaUtility.cc.

Referenced by cond::service::PoolDBOutputService::initDB().

8  {
9  //m_pooldb.initializeMapping( cond::IOVNames::iovMappingVersion(), cond::IOVNames::iovMappingXML());
10 }
void cond::IOVSchemaUtility::drop ( )

drop iov tables if existing

Definition at line 12 of file IOVSchemaUtility.cc.

12  {
13  //m_pooldb.deleteMapping( cond::IOVNames::iovMappingVersion(), true );
14 }
void cond::IOVSchemaUtility::truncate ( )

truncate iov tables if existing

Definition at line 16 of file IOVSchemaUtility.cc.

Referenced by python.Vispa.Gui.VispaWidget.TextField::calculateDimensions().

16  {
17  //m_pooldb.deleteMapping( cond::IOVNames::iovMappingVersion(), false );
18 }

Member Data Documentation

cond::DbSession cond::IOVSchemaUtility::m_pooldb
private

Definition at line 17 of file IOVSchemaUtility.h.