CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
futureIOVNames.h
Go to the documentation of this file.
1 #ifndef CondCore_IOVService_IOVNames_h
2 #define CondCore_IOVService_IOVNames_h
3 #include <string>
4 namespace cond{
5  class IOVNames{
6  public:
7  static std::string container() {
8  return std::string("cond::IOVSequence");
9  }
10  static std::string iovTableName() {
11  return std::string("IOVSequence");
12  }
13  static std::string iovDataTableName() {
14  return std::string("IOV_DATA");
15  }
16  static std::string iovMappingVersion() {
17  return std::string("CONDIOV_5.0");
18  }
19  static std::string const & iovMappingXML(){
20  static const std::string buffer =
21  std::string("<?xml version='1.0' encoding=\"UTF-8\"?>\n")+
22  std::string("<!DOCTYPE PoolDatabase SYSTEM \"InMemory\">\n")+
23  std::string("<PoolDatabase >\n")+
24  std::string("<PoolContainer name=\"cond::IOVSequence\" >\n")+
25  std::string("<Class table=\"IOV\" id_columns=\"ID\" name=\"cond::IOVSequence\" mapping_version=\"CONDIOV_5.0\" >\n")+
26  std::string("<Primitive column=\"COMMENT\" name=\"cond::UpdateStamp::m_comment\" />\n")+
27  std::string("<Primitive column=\"REVISION\" name=\"cond::UpdateStamp::m_revision\" />\n")+
28  std::string("<Primitive column=\"TIMESTAMP\" name=\"cond::UpdateStamp::m_timestamp\" />\n")+
29  std::string("<Primitive column=\"LASTTILL\" name=\"m_lastTill\" />\n")+
30  std::string("<Primitive column=\"TIMETYPE\" name=\"m_timetype\" />\n")+
31  std::string("<Primitive column=\"NOTORDERED\" name=\"m_notOrdered\" />\n")+
32  std::string("<Primitive column=\"METADATA\" name=\"m_metadata\" />\n")+
33  std::string("<PoolPolymorphicPointer rid_column=\"DESCRIPTION\" name=\"m_description\" metadata_column=\"RID_DESCRIPTION\" />\n")+
34  std::string("<PoolPolymorphicPointer rid_column=\"PROVENANCE\" name=\"m_provenance\" metadata_column=\"RID_PROVENANCE\" />\n")+
35  std::string("<PoolPolymorphicPointer rid_column=\"USERMETADATA\" name=\"m_userMetadata\" metadata_column=\"RID_USERMETADATA\" />\n")+
36  std::string("<PoolArray table=\"IOV_DATA\" id_columns=\"ID\" name=\"m_iovs\" position_column=\"POS\" >\n")+
37  std::string("<Object name=\"value_type\" >\n")+
38  std::string("<Primitive column=\"IOV_TIME\" name=\"m_sinceTime\" />\n")+
39  std::string("<Primitive column=\"IOV_TOKEN\" name=\"m_wrapper\" />\n")+
40  std::string("</Object >\n")+
41  std::string("</PoolArray >\n")+
42  std::string("</Class >\n")+
43  std::string("</PoolContainer >\n")+
44  std::string("</PoolDatabase >\n");
45  return buffer;
46  }
47  };
48 }//ns pool
49 #endif
static std::string const & iovMappingXML()
static std::string iovMappingVersion()
static std::string iovDataTableName()
static std::string iovTableName()
static std::string container()
Definition: futureIOVNames.h:7