Variant

asUInt64() [Variant class]

Returns a reference to the value contained in this variant as an uint64_t. This can be used to modify the value of the variant.

// PROTOTYPE
uint64_t& asUInt64();

This method will convert the type of the variant to uint64_t if necessary, see toUInt64 for more information. If the conversion is not possible, the method will cause a compilation error.

See value, as, and to for when to use the asXXX() vs. other accessors.