@@ -396,6 +396,38 @@ struct get_attributes_list<TransformerTapRegulatorInput> {
396
396
};
397
397
};
398
398
399
+ template <>
400
+ struct get_attributes_list <GenericCurrentSensorInput> {
401
+ static constexpr std::array<MetaAttribute, 6 > value{
402
+ // all attributes including base class
403
+
404
+ meta_data_gen::get_meta_attribute<&GenericCurrentSensorInput::id>(offsetof (GenericCurrentSensorInput, id), " id" ),
405
+ meta_data_gen::get_meta_attribute<&GenericCurrentSensorInput::measured_object>(offsetof (GenericCurrentSensorInput, measured_object), " measured_object" ),
406
+ meta_data_gen::get_meta_attribute<&GenericCurrentSensorInput::measured_terminal_type>(offsetof (GenericCurrentSensorInput, measured_terminal_type), " measured_terminal_type" ),
407
+ meta_data_gen::get_meta_attribute<&GenericCurrentSensorInput::angle_measurement_type>(offsetof (GenericCurrentSensorInput, angle_measurement_type), " angle_measurement_type" ),
408
+ meta_data_gen::get_meta_attribute<&GenericCurrentSensorInput::i_sigma>(offsetof (GenericCurrentSensorInput, i_sigma), " i_sigma" ),
409
+ meta_data_gen::get_meta_attribute<&GenericCurrentSensorInput::i_angle_sigma>(offsetof (GenericCurrentSensorInput, i_angle_sigma), " i_angle_sigma" ),
410
+ };
411
+ };
412
+
413
+ template <symmetry_tag sym_type>
414
+ struct get_attributes_list <CurrentSensorInput<sym_type>> {
415
+ using sym = sym_type;
416
+
417
+ static constexpr std::array<MetaAttribute, 8 > value{
418
+ // all attributes including base class
419
+
420
+ meta_data_gen::get_meta_attribute<&CurrentSensorInput<sym>::id>(offsetof (CurrentSensorInput<sym>, id), " id" ),
421
+ meta_data_gen::get_meta_attribute<&CurrentSensorInput<sym>::measured_object>(offsetof (CurrentSensorInput<sym>, measured_object), " measured_object" ),
422
+ meta_data_gen::get_meta_attribute<&CurrentSensorInput<sym>::measured_terminal_type>(offsetof (CurrentSensorInput<sym>, measured_terminal_type), " measured_terminal_type" ),
423
+ meta_data_gen::get_meta_attribute<&CurrentSensorInput<sym>::angle_measurement_type>(offsetof (CurrentSensorInput<sym>, angle_measurement_type), " angle_measurement_type" ),
424
+ meta_data_gen::get_meta_attribute<&CurrentSensorInput<sym>::i_sigma>(offsetof (CurrentSensorInput<sym>, i_sigma), " i_sigma" ),
425
+ meta_data_gen::get_meta_attribute<&CurrentSensorInput<sym>::i_angle_sigma>(offsetof (CurrentSensorInput<sym>, i_angle_sigma), " i_angle_sigma" ),
426
+ meta_data_gen::get_meta_attribute<&CurrentSensorInput<sym>::i_measured>(offsetof (CurrentSensorInput<sym>, i_measured), " i_measured" ),
427
+ meta_data_gen::get_meta_attribute<&CurrentSensorInput<sym>::i_angle_measured>(offsetof (CurrentSensorInput<sym>, i_angle_measured), " i_angle_measured" ),
428
+ };
429
+ };
430
+
399
431
400
432
401
433
0 commit comments