91{
92 auto relreader = [&
relations ]( std::string
const & name )
93 {
95 };
96
97 auto attreader = [ &
attributes ] ( std::string
const & name )
98 {
100 };
101
103 {
106 false);
107 std::vector<dunedaq::conffwk::attribute_t> AttList = ClassInfo.
p_attributes;
108 std::vector<dunedaq::conffwk::relationship_t> RelList = ClassInfo.
p_relationships;
109
110 for (dunedaq::conffwk::attribute_t const & att : AttList)
111 {
112 try
113 {
114 if(att.p_is_multi_value) {
115 switch(att.p_type) {
117 {
120 }
121 break;
123 {
126 }
127 break;
129 {
132 }
133 break;
135 {
138 }
139 break;
141 {
144 }
145 break;
147 {
150 }
151 break;
153 {
156 }
157 break;
159 {
162 }
163 break;
165 {
168 }
169 break;
171 {
174 }
175 break;
177 {
180 }
181 break;
183 {
186 }
187 break;
189 {
192 }
193 break;
195 {
198 }
199 break;
201 {
204 }
205 break;
207 {
210 }
211 break;
212 default:
213 break;
214 }
215 } else {
216 switch(att.p_type) {
218 {
221 }
222 break;
224 {
227 }
228 break;
230 {
233 }
234 break;
236 {
239 }
240 break;
242 {
245 }
246 break;
248 {
251 }
252 break;
254 {
257 }
258 break;
260 {
263 }
264 break;
266 {
269 }
270 break;
272 {
275 }
276 break;
278 {
281 }
282 break;
284 {
287 }
288 break;
290 {
293 }
294 break;
296 {
299 }
300 break;
302 {
305 }
306 break;
308 {
311 }
312 break;
313 default:
314 break;
315 }
316 }
317 }
318 catch (std::out_of_range const & e)
319 {
320
321 }
322 }
323
324 for (dunedaq::conffwk::relationship_t const & rel : RelList)
325 {
326 try
327 {
328 auto data = relreader(rel.p_name);
330 }
331 catch (std::out_of_range const & e)
332 {
333
334 }
335 }
336 }
337
339}
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