Luna::Variant::values
Variant::value_enumerator values()
Gets one enumerator that can be used to enumerate all child variants of one array variant.
Return value
Returns one enumerator that can be used to enumerate all child variants. Returns one enumerator with an empty range if type of the variant is not VariantType::array.
Remark
The returned enumerator will have begin
and end
methods that can be used like all other containers in Luna SDK. You can also use the enumerator in a range-based for loop like so:
for (auto i : variant.[values](class_luna_1_1_variant_1a9ec0b9f83cf0ff76e450478b7697f08f.md)())
{
//...
}