CoreComponents 3.0.0
A Modern C++ Toolkit
No Matches
TypeInfo Class Referenceabstract

Variant type information More...

#include <cc/TypeInfo>

Inherited by BoolListTypeInfo, BoolTypeInfo, ColorTypeInfo, DoubleListTypeInfo, DoubleTypeInfo, LongListTypeInfo, LongTypeInfo, MetaObjectTypeInfo, MetaProtocolTypeInfo, MetaPrototypeTypeInfo, StringListTypeInfo, StringTypeInfo, VariantListTypeInfo, VariantMapTypeInfo, VersionTypeInfo, and VoidTypeInfo.

Public Member Functions

virtual const char * typeName () const =0
virtual String str (const void *bytes) const =0
virtual void cleanup (void *bytes) const
virtual void assign (void *dst, const void *src) const
virtual bool equal (const void *a, const void *b) const
virtual std::strong_ordering order (const void *a, const void *b) const

Detailed Description

Variant type information


Make builtin variant types share same TLS storage.

rename to VariantType::Info