Zserio C++ runtime library
1.0.0
Built for Zserio 2.13.0
|
#include <TypeInfo.h>
Public Types | |
using | TypeInfoFunc) = const IBasicTypeInfo< ALLOC > &(*)( |
Public Member Functions | |
RecursiveTypeInfo (TypeInfoFunc typeInfoFunc) | |
~RecursiveTypeInfo () override=default | |
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 |
const IBasicTypeInfo< ALLOC > & | getUnderlyingType () const override |
Span< const StringView > | getUnderlyingTypeArguments () 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 |
RecursiveTypeInfo (const RecursiveTypeInfo &)=delete | |
RecursiveTypeInfo & | operator= (const RecursiveTypeInfo &)=delete |
RecursiveTypeInfo (const RecursiveTypeInfo &&)=delete | |
RecursiveTypeInfo & | operator= (const RecursiveTypeInfo &&)=delete |
![]() | |
virtual | ~IBasicTypeInfo ()=default |
Type info for recursive types used as a wrapper around generated static typeInfo method to prevent infinite recursion in type info definition.
Definition at line 785 of file TypeInfo.h.
using zserio::RecursiveTypeInfo< ALLOC >::TypeInfoFunc = const IBasicTypeInfo<ALLOC>& (*)( |
Typedef to pointer to static typeInfo method on generated objects.
Definition at line 789 of file TypeInfo.h.
|
inlineexplicit |
Constructor.
typeInfoFunc | Pointer to static typeInfo method. |
Definition at line 796 of file TypeInfo.h.
|
overridedefault |
|
delete |
Copying and moving is disallowed!
|
delete |
Copying and moving is disallowed!
|
overridevirtual |
Creates new instance of the zserio compound type.
allocator | Allocator to use for allocation of new instance. |
CppRuntimeException | If the zserio type is not compound type. |
Implements zserio::IBasicTypeInfo< ALLOC >.
Definition at line 1915 of file TypeInfo.h.
|
overridevirtual |
Creates new instance of the zserio compound type.
CppRuntimeException | If the zserio type is not compound type. |
Implements zserio::IBasicTypeInfo< ALLOC >.
Definition at line 1921 of file TypeInfo.h.
|
overridevirtual |
Gets the type information for bitmask type values.
CppRuntimeException | If the zserio type is not bitmask type. |
Implements zserio::IBasicTypeInfo< ALLOC >.
Definition at line 1855 of file TypeInfo.h.
|
overridevirtual |
Gets the bit size of the fixed size integral schema type.
CppRuntimeException | If the zserio type is not fixed size integral (e.g. varint). |
Implements zserio::IBasicTypeInfo< ALLOC >.
Definition at line 1801 of file TypeInfo.h.
|
overridevirtual |
Gets the type information for choice type cases.
CppRuntimeException | If the zserio type is not choice type. |
Implements zserio::IBasicTypeInfo< ALLOC >.
Definition at line 1831 of file TypeInfo.h.
|
overridevirtual |
Gets the type information for SQL table columns.
CppRuntimeException | If the zserio type is not SQL table type. |
Implements zserio::IBasicTypeInfo< ALLOC >.
Definition at line 1861 of file TypeInfo.h.
|
overridevirtual |
Gets the C++ type.
Implements zserio::IBasicTypeInfo< ALLOC >.
Definition at line 1795 of file TypeInfo.h.
|
overridevirtual |
Gets the type information for enumeration type items.
CppRuntimeException | If the zserio type is not enumeration type. |
Implements zserio::IBasicTypeInfo< ALLOC >.
Definition at line 1849 of file TypeInfo.h.
|
overridevirtual |
Gets the type information for compound type fields.
CppRuntimeException | If the zserio type is not compound type. |
Implements zserio::IBasicTypeInfo< ALLOC >.
Definition at line 1807 of file TypeInfo.h.
|
overridevirtual |
Gets the type information for compound type functions.
CppRuntimeException | If the zserio type is not compound type. |
Implements zserio::IBasicTypeInfo< ALLOC >.
Definition at line 1819 of file TypeInfo.h.
|
overridevirtual |
Gets the type information for pubsub messages.
CppRuntimeException | If the zserio type is not pubsub type. |
Implements zserio::IBasicTypeInfo< ALLOC >.
Definition at line 1903 of file TypeInfo.h.
|
overridevirtual |
Gets the type information for service methods.
CppRuntimeException | If the zserio type is not service type. |
Implements zserio::IBasicTypeInfo< ALLOC >.
Definition at line 1909 of file TypeInfo.h.
|
overridevirtual |
Gets the type information for compound type parameters.
CppRuntimeException | If the zserio type is not compound type. |
Implements zserio::IBasicTypeInfo< ALLOC >.
Definition at line 1813 of file TypeInfo.h.
|
overridevirtual |
Gets the schema name.
Implements zserio::IBasicTypeInfo< ALLOC >.
Definition at line 1783 of file TypeInfo.h.
|
overridevirtual |
Gets the schema type.
Implements zserio::IBasicTypeInfo< ALLOC >.
Definition at line 1789 of file TypeInfo.h.
|
overridevirtual |
Gets the selector for choice type.
CppRuntimeException | If the zserio type is not choice type. |
Implements zserio::IBasicTypeInfo< ALLOC >.
Definition at line 1825 of file TypeInfo.h.
|
overridevirtual |
Gets the SQL table constraint.
CppRuntimeException | If the zserio type is not SQL table type. |
Implements zserio::IBasicTypeInfo< ALLOC >.
Definition at line 1867 of file TypeInfo.h.
|
overridevirtual |
Gets the type information for SQL database tables.
CppRuntimeException | If the zserio type is not SQL database type. |
Implements zserio::IBasicTypeInfo< ALLOC >.
Definition at line 1885 of file TypeInfo.h.
|
overridevirtual |
Gets the type information for template arguments.
CppRuntimeException | If the zserio type is not templatable. |
Implements zserio::IBasicTypeInfo< ALLOC >.
Definition at line 1897 of file TypeInfo.h.
|
overridevirtual |
Gets the full schema template name.
CppRuntimeException | If the zserio type is not templatable. |
Implements zserio::IBasicTypeInfo< ALLOC >.
Definition at line 1891 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. |
Implements zserio::IBasicTypeInfo< ALLOC >.
Definition at line 1837 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. |
Implements zserio::IBasicTypeInfo< ALLOC >.
Definition at line 1843 of file TypeInfo.h.
|
overridevirtual |
Gets the SQL virtual table using specification.
CppRuntimeException | If the zserio type is not SQL table type. |
Implements zserio::IBasicTypeInfo< ALLOC >.
Definition at line 1873 of file TypeInfo.h.
|
overridevirtual |
Checks if SQL table is without row id table.
CppRuntimeException | If the zserio type is not SQL table type. |
Implements zserio::IBasicTypeInfo< ALLOC >.
Definition at line 1879 of file TypeInfo.h.
|
delete |
Copying and moving is disallowed!
|
delete |
Copying and moving is disallowed!