carb/variant/VariantUtils.h¶
↰ Parent directory: carb/variant/
Utilities for carb.variant.plugin
Source: carb/variant/VariantUtils.h
Included By¶
carb/eventdispatcher/EventDispatcherTypes.h: Type definitions for carb.eventdispatcher.plugin
Namespaces¶
carb: The main Carbonite namespace.
carb::variant: Namespace for carb.variant.plugin and related utilities.
Classes¶
carb::variant::KeyValuePair: A representation of a key value pair, similar to
None
.carb::variant::traits: A structure containing functions for performing the prescribed actions on a carb::variant::VariantData. The functions handle the default behavior if the v-table or v-table function are
nullptr
.carb::variant::Registrar: Lifetime management wrapper for IVariant::registerType().
carb::variant::Variant: A wrapper class for managing the lifetime of carb::variant::VariantData and converting the contained value to C++ types.
Functions¶
carb::variant::translate: A helper function to translate a typed value into a carb::variant::VariantData via a carb::variant::Translator.