Zserio C++ runtime library
1.1.0
Built for Zserio 2.15.0
|
#include <TypeInfo.h>
Public Member Functions | |
TypeInfoWithUnderlyingTypeBase (StringView schemaName, SchemaType schemaType, CppType cppType, const IBasicTypeInfo< ALLOC > &underlyingType, Span< const StringView > underlyingTypeArguments) | |
const IBasicTypeInfo< ALLOC > & | getUnderlyingType () const override |
Span< const StringView > | getUnderlyingTypeArguments () const override |
Public Member Functions inherited from zserio::TypeInfoBase< ALLOC > | |
TypeInfoBase (StringView schemaName, SchemaType schemaType, CppType cppType) | |
~TypeInfoBase () override=0 | |
StringView | getSchemaName () const override |
SchemaType | getSchemaType () const override |
CppType | getCppType () const override |
uint8_t | getBitSize () const override |
Span< const BasicFieldInfo< ALLOC > > | getFields () const override |
Span< const BasicParameterInfo< ALLOC > > | getParameters () const override |
Span< const BasicFunctionInfo< ALLOC > > | getFunctions () const override |
StringView | getSelector () const override |
Span< const BasicCaseInfo< ALLOC > > | getCases () const override |
Span< const ItemInfo > | getEnumItems () const override |
Span< const ItemInfo > | getBitmaskValues () const override |
Span< const BasicColumnInfo< ALLOC > > | getColumns () const override |
StringView | getSqlConstraint () const override |
StringView | getVirtualTableUsing () const override |
bool | isWithoutRowId () const override |
Span< const BasicTableInfo< ALLOC > > | getTables () const override |
StringView | getTemplateName () const override |
Span< const BasicTemplateArgumentInfo< ALLOC > > | getTemplateArguments () const override |
Span< const BasicMessageInfo< ALLOC > > | getMessages () const override |
Span< const BasicMethodInfo< ALLOC > > | getMethods () const override |
IBasicReflectablePtr< ALLOC > | createInstance (const ALLOC &allocator) const override |
IBasicReflectablePtr< ALLOC > | createInstance () const override |
TypeInfoBase (const TypeInfoBase &)=delete | |
TypeInfoBase & | operator= (const TypeInfoBase &)=delete |
TypeInfoBase (const TypeInfoBase &&)=delete | |
TypeInfoBase & | operator= (const TypeInfoBase &&)=delete |
Public Member Functions inherited from zserio::IBasicTypeInfo< ALLOC > | |
virtual | ~IBasicTypeInfo ()=default |
Type information abstract base class for enumeration and bitmask types.
Definition at line 610 of file TypeInfo.h.
zserio::TypeInfoWithUnderlyingTypeBase< ALLOC >::TypeInfoWithUnderlyingTypeBase | ( | StringView | schemaName, |
SchemaType | schemaType, | ||
CppType | cppType, | ||
const IBasicTypeInfo< ALLOC > & | underlyingType, | ||
Span< const StringView > | underlyingTypeArguments | ||
) |
Constructor.
schemaName | The schema name to be stored in type information. |
schemaType | The schema type to be stored in type information. |
cppType | The C++ type to be stored in type information. |
underlyingType | The reference to type information of underlying zserio type. |
underlyingTypeArguments | The underlying zserio type arguments. |
Definition at line 1687 of file TypeInfo.h.
|
overridevirtual |
Gets the reference to type information of underlying zserio type.
CppRuntimeException | If the zserio type is not enumeration or bitmask type. |
Reimplemented from zserio::TypeInfoBase< ALLOC >.
Definition at line 1696 of file TypeInfo.h.
|
overridevirtual |
Gets the reference to type information of underlying zserio type arguments.
CppRuntimeException | If the zserio type is not enumeration or bitmask type. |
Reimplemented from zserio::TypeInfoBase< ALLOC >.
Definition at line 1702 of file TypeInfo.h.