CMS 3D CMS Logo

CMSSW_4_4_3_patch1/src/CondCore/IOVService/interface/futureIOVNames.h

Go to the documentation of this file.
00001 #ifndef CondCore_IOVService_IOVNames_h
00002 #define CondCore_IOVService_IOVNames_h
00003 #include <string>
00004 namespace cond{
00005   class IOVNames{
00006   public:
00007     static std::string container() {
00008       return std::string("cond::IOVSequence"); 
00009     }
00010     static std::string iovTableName() {
00011       return std::string("IOVSequence"); 
00012     }
00013     static std::string iovDataTableName() {
00014       return std::string("IOV_DATA"); 
00015     }
00016     static std::string iovMappingVersion() {
00017       return std::string("CONDIOV_5.0");
00018     }
00019     static std::string const & iovMappingXML(){
00020       static const std::string buffer = 
00021         std::string("<?xml version='1.0' encoding=\"UTF-8\"?>\n")+
00022         std::string("<!DOCTYPE PoolDatabase SYSTEM \"InMemory\">\n")+
00023         std::string("<PoolDatabase >\n")+
00024         std::string("<PoolContainer name=\"cond::IOVSequence\" >\n")+
00025         std::string("<Class table=\"IOV\" id_columns=\"ID\" name=\"cond::IOVSequence\" mapping_version=\"CONDIOV_5.0\" >\n")+
00026         std::string("<Primitive column=\"COMMENT\" name=\"cond::UpdateStamp::m_comment\" />\n")+
00027         std::string("<Primitive column=\"REVISION\" name=\"cond::UpdateStamp::m_revision\" />\n")+
00028         std::string("<Primitive column=\"TIMESTAMP\" name=\"cond::UpdateStamp::m_timestamp\" />\n")+
00029         std::string("<Primitive column=\"LASTTILL\" name=\"m_lastTill\" />\n")+
00030         std::string("<Primitive column=\"TIMETYPE\" name=\"m_timetype\" />\n")+
00031         std::string("<Primitive column=\"NOTORDERED\" name=\"m_notOrdered\" />\n")+
00032         std::string("<Primitive column=\"METADATA\" name=\"m_metadata\" />\n")+
00033         std::string("<PoolPolymorphicPointer rid_column=\"DESCRIPTION\" name=\"m_description\" metadata_column=\"RID_DESCRIPTION\" />\n")+
00034         std::string("<PoolPolymorphicPointer rid_column=\"PROVENANCE\" name=\"m_provenance\" metadata_column=\"RID_PROVENANCE\" />\n")+
00035         std::string("<PoolPolymorphicPointer rid_column=\"USERMETADATA\" name=\"m_userMetadata\" metadata_column=\"RID_USERMETADATA\" />\n")+
00036         std::string("<PoolArray table=\"IOV_DATA\" id_columns=\"ID\" name=\"m_iovs\" position_column=\"POS\" >\n")+
00037         std::string("<Object name=\"value_type\" >\n")+
00038         std::string("<Primitive column=\"IOV_TIME\" name=\"m_sinceTime\" />\n")+
00039         std::string("<Primitive column=\"IOV_TOKEN\" name=\"m_wrapper\" />\n")+
00040         std::string("</Object >\n")+
00041         std::string("</PoolArray >\n")+
00042         std::string("</Class >\n")+
00043         std::string("</PoolContainer >\n")+
00044         std::string("</PoolDatabase >\n");
00045       return buffer;
00046     }
00047   };
00048 }//ns pool
00049 #endif