CMS 3D CMS Logo

Public Member Functions | Private Attributes

cond::IOVSchemaUtility Class Reference

#include <IOVSchemaUtility.h>

List of all members.

Public Member Functions

void create ()
 create iov tables if not existing
void drop ()
 drop iov tables if existing
 IOVSchemaUtility (DbSession &pooldb)
void truncate ()
 truncate iov tables if existing
 ~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.

                                                           :m_pooldb(pooldb){
}
cond::IOVSchemaUtility::~IOVSchemaUtility ( )

Definition at line 6 of file IOVSchemaUtility.cc.

{}

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().

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

drop iov tables if existing

Definition at line 12 of file IOVSchemaUtility.cc.

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

truncate iov tables if existing

Definition at line 16 of file IOVSchemaUtility.cc.

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

Member Data Documentation

Definition at line 17 of file IOVSchemaUtility.h.