Variant
toMap() [Variant class]
Returns the value of the variant as an map.
Source | Result |
---|---|
VariantMap | unchanged |
other | conversion fails |
This method takes an ok
parameter passed by reference, which is filled in as
true
if the data is already this type.
// PROTOTYPES
VariantMap toMap(bool& ok) const;
See value, as, and to for when to use the toXXX() vs. other accessors.