Struct LimitedVariant

A limited variant to hold just a few types. It is made for the use of packing a small amount of extra data into error messages and some transit across virtual function boundaries.

struct LimitedVariant;

Constructors

NameDescription
this (s) Note for integral types that are not int and long (for example, short or ubyte), you might want to explicitly convert them to int.

Methods

NameDescription
contains () Each datum stored in the LimitedVariant has a tag associated with it.
containsBytes () Each datum stored in the LimitedVariant has a tag associated with it.
containsDateTime () Each datum stored in the LimitedVariant has a tag associated with it.
containsDouble () Each datum stored in the LimitedVariant has a tag associated with it.
containsDuration () Each datum stored in the LimitedVariant has a tag associated with it.
containsInt () Each datum stored in the LimitedVariant has a tag associated with it.
containsMonoTime () Each datum stored in the LimitedVariant has a tag associated with it.
containsNull () Each datum stored in the LimitedVariant has a tag associated with it.
containsString () Each datum stored in the LimitedVariant has a tag associated with it.
containsUtcTimestamp () Each datum stored in the LimitedVariant has a tag associated with it.
getBytes () getString gets a reference to the string stored internally, see [toString] to get a string representation or whatever is inside.
getDateTime () getString gets a reference to the string stored internally, see [toString] to get a string representation or whatever is inside.
getDouble () getString gets a reference to the string stored internally, see [toString] to get a string representation or whatever is inside.
getDuration () getString gets a reference to the string stored internally, see [toString] to get a string representation or whatever is inside.
getInt () getString gets a reference to the string stored internally, see [toString] to get a string representation or whatever is inside.
getMonoTime () getString gets a reference to the string stored internally, see [toString] to get a string representation or whatever is inside.
getObject () getString gets a reference to the string stored internally, see [toString] to get a string representation or whatever is inside.
getString () getString gets a reference to the string stored internally, see [toString] to get a string representation or whatever is inside.
getUtcTimestamp () getString gets a reference to the string stored internally, see [toString] to get a string representation or whatever is inside.
toString ()

Enums

NameDescription
Contains