86{
87 auto relreader = [&
relations ]( std::string
const & name )
88 {
90 };
91
92 auto attreader = [ &
attributes ] ( std::string
const & name )
93 {
95 };
96
98 {
101 false);
102 std::vector<dunedaq::conffwk::attribute_t> AttList = ClassInfo.
p_attributes;
103 std::vector<dunedaq::conffwk::relationship_t> RelList = ClassInfo.
p_relationships;
104
105 for (dunedaq::conffwk::attribute_t const & att : AttList)
106 {
107 try
108 {
109 if(att.p_is_multi_value) {
110 switch(att.p_type) {
112 {
115 }
116 break;
118 {
121 }
122 break;
124 {
127 }
128 break;
130 {
133 }
134 break;
136 {
139 }
140 break;
142 {
145 }
146 break;
148 {
151 }
152 break;
154 {
157 }
158 break;
160 {
163 }
164 break;
166 {
169 }
170 break;
172 {
175 }
176 break;
178 {
181 }
182 break;
184 {
187 }
188 break;
190 {
193 }
194 break;
196 {
199 }
200 break;
202 {
205 }
206 break;
207 default:
208 break;
209 }
210 } else {
211 switch(att.p_type) {
213 {
216 }
217 break;
219 {
222 }
223 break;
225 {
228 }
229 break;
231 {
234 }
235 break;
237 {
240 }
241 break;
243 {
246 }
247 break;
249 {
252 }
253 break;
255 {
258 }
259 break;
261 {
264 }
265 break;
267 {
270 }
271 break;
273 {
276 }
277 break;
279 {
282 }
283 break;
285 {
288 }
289 break;
291 {
294 }
295 break;
297 {
300 }
301 break;
303 {
306 }
307 break;
308 default:
309 break;
310 }
311 }
312 }
313 catch (std::out_of_range const & e)
314 {
315
316 }
317 }
318
319 for (dunedaq::conffwk::relationship_t const & rel : RelList)
320 {
321 try
322 {
323 auto data = relreader(rel.p_name);
325 }
326 catch (std::out_of_range const & e)
327 {
328
329 }
330 }
331 }
332
334}
std::vector< T > attributes(tref const &item)
std::vector< T > relations(tref const &item)
void adate(inner::configobject::tref Object, dunedaq::conffwk::attribute_t const &AttributeData, T NewValueData, bool NotEmit=false)
void relation(dbe::inner::configobject::tref src, dunedaq::conffwk::relationship_t const &edge, std::vector< dbe::inner::configobject::tref > const &targets)
void aclass(inner::configobject::tref Object, dunedaq::conffwk::attribute_t const &AttributeData, T NewValueData, bool NotEmit=false)
void anenum(inner::configobject::tref Object, dunedaq::conffwk::attribute_t const &AttributeData, T NewValueData, bool NotEmit=false)
void atime(inner::configobject::tref Object, dunedaq::conffwk::attribute_t const &AttributeData, T NewValueData, bool NotEmit=false)
void attribute(inner::configobject::tref Object, dunedaq::conffwk::attribute_t const &AttributeData, T NewValueData, bool NotEmit=false)
int8_t to< int8_t >(QStringList const &DataList, dunedaq::conffwk::int_format_t Format)
u_int64_t to< u_int64_t >(QStringList const &DataList, dunedaq::conffwk::int_format_t Format)
int16_t to< int16_t >(QStringList const &DataList, dunedaq::conffwk::int_format_t Format)
u_int8_t to< u_int8_t >(QStringList const &DataList, dunedaq::conffwk::int_format_t Format)
int64_t to< int64_t >(QStringList const &DataList, dunedaq::conffwk::int_format_t Format)
T to(QStringList const &DataList)
QStringList to< QStringList >(std::vector< std::string > const &x)
std::string to< std::string >(QStringList const &DataList)
int32_t to< int32_t >(QStringList const &DataList, dunedaq::conffwk::int_format_t Format)
u_int32_t to< u_int32_t >(QStringList const &DataList, dunedaq::conffwk::int_format_t Format)
double to< double >(QStringList const &DataList, dunedaq::conffwk::int_format_t Format)
u_int16_t to< u_int16_t >(QStringList const &DataList, dunedaq::conffwk::int_format_t Format)
float to< float >(QStringList const &DataList, dunedaq::conffwk::int_format_t Format)
bool to< bool >(QStringList const &DataList, dunedaq::conffwk::int_format_t Format)
const std::vector< attribute_t > p_attributes
const std::vector< relationship_t > p_relationships