// A self-contained MOF class for the brintos-selftests konkretcmpi suite. // // Standalone by design: it declares the handful of qualifiers it uses instead of // pulling the CIM schema, so `konkret` needs no KONKRET_SCHEMA_DIR and the test // has no input outside this file. The property set is deliberately type-diverse // -- every CIM scalar family konkret maps differently, one array and one method // with an IN and an OUT parameter -- because the generated header is one // KONKRET_* accessor per property per type, and a suite that compares the output // byte-for-byte is only as wide as the types the input names. Qualifier Key : boolean = false, Scope(property, reference), Flavor(DisableOverride, ToSubclass); Qualifier In : boolean = true, Scope(parameter), Flavor(DisableOverride, ToSubclass); Qualifier Out : boolean = false, Scope(parameter), Flavor(DisableOverride, ToSubclass); Qualifier Provider : string = null, Scope(any), Flavor(EnableOverride, ToSubclass); [Provider("cmpi:BRINTOS_WidgetProvider")] class BRINTOS_Widget { [Key] string Name; [Key] uint16 Index; boolean Enabled; uint8 Slot; sint32 Offset; uint64 Bytes; real32 Ratio; real64 Precision; char16 Marker; string Label; datetime Stamp; string Tags[]; uint32 Reset([IN] uint32 Delay, [OUT] string Result); };