$treeview $search $mathjax $extrastylesheet
otsdaq
v2_03_00
$projectbrief
|
$projectbrief
|
$searchbox |
00001 #include <iostream> 00002 #include "otsdaq-core/Macros/TablePluginMacros.h" 00003 #include "otsdaq-core/TablePluginDataFormats/VersionAliases.h" 00004 00005 using namespace ots; 00006 00007 //============================================================================== 00008 VersionAliases::VersionAliases(void) : TableBase("VersionAliases") 00009 { 00011 // WARNING: the names and the order MUST match the ones in the enum // 00013 // VersionAlaisesInfo.xml 00014 //<?xml version="1.0" encoding="UTF-8" standalone="no" ?> 00015 //<ROOT xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 00016 // xsi:noNamespaceSchemaLocation="TableInfo.xsd"> 00017 // <CONFIGURATION Name="VersionAliases"> 00018 // <VIEW Name="VERSION_ALIASES" Type="File,Database,DatabaseTest"> 00019 // <COLUMN Name="VersionAlias" StorageName="VERSION_ALIAS" 00020 // DataType="VARCHAR2" /> <COLUMN Name="Version" StorageName="VERSION" 00021 // DataType="NUMBER" /> <COLUMN Name="KOC" StorageName="KOC" 00022 // DataType="VARCHAR2" /> 00023 // </VIEW> 00024 // </CONFIGURATION> 00025 //</ROOT> 00026 } 00027 00028 //============================================================================== 00029 VersionAliases::~VersionAliases(void) {} 00030 00031 //============================================================================== 00032 void VersionAliases::init(ConfigurationManager* configManager) 00033 { 00034 /* 00035 std::string keyName; 00036 unsigned int keyValue; 00037 theKeys_.clear(); 00038 for(unsigned int row=0; row<TableBase::configurationData_.getNumberOfRows(); row++) 00039 { 00040 TableBase::configurationData_.getValue(keyName,row,ConfigurationAlias); 00041 TableBase::configurationData_.getValue(keyValue,row,TableGroupKeyId); 00042 theKeys_[keyName] = keyValue; 00043 } 00044 */ 00045 } 00046 00047 DEFINE_OTS_CONFIGURATION(VersionAliases)