Zserio C++ runtime library
1.2.0
Built for Zserio 2.16.0
|
#include <TypeInfo.h>
Public Member Functions | |
uint8_t | getBitSize () const override |
![]() | |
TypeInfoBase (StringView schemaName, SchemaType schemaType, CppType cppType) | |
~TypeInfoBase () override=0 | |
StringView | getSchemaName () const override |
SchemaType | getSchemaType () const override |
CppType | getCppType () 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 |
TypeInfoBase (const TypeInfoBase &)=delete | |
TypeInfoBase & | operator= (const TypeInfoBase &)=delete |
TypeInfoBase (const TypeInfoBase &&)=delete | |
TypeInfoBase & | operator= (const TypeInfoBase &&)=delete |
![]() | |
virtual | ~IBasicTypeInfo ()=default |
Static Public Member Functions | |
static const IBasicTypeInfo< ALLOC > & | getBool () |
static const IBasicTypeInfo< ALLOC > & | getInt8 () |
static const IBasicTypeInfo< ALLOC > & | getInt16 () |
static const IBasicTypeInfo< ALLOC > & | getInt32 () |
static const IBasicTypeInfo< ALLOC > & | getInt64 () |
static const IBasicTypeInfo< ALLOC > & | getUInt8 () |
static const IBasicTypeInfo< ALLOC > & | getUInt16 () |
static const IBasicTypeInfo< ALLOC > & | getUInt32 () |
static const IBasicTypeInfo< ALLOC > & | getUInt64 () |
static const IBasicTypeInfo< ALLOC > & | getFloat16 () |
static const IBasicTypeInfo< ALLOC > & | getFloat32 () |
static const IBasicTypeInfo< ALLOC > & | getFloat64 () |
static const IBasicTypeInfo< ALLOC > & | getFixedSignedBitField (uint8_t bitSize) |
static const IBasicTypeInfo< ALLOC > & | getFixedUnsignedBitField (uint8_t bitSize) |
![]() | |
static const IBasicTypeInfo< ALLOC > & | getBool () |
static const IBasicTypeInfo< ALLOC > & | getInt8 () |
static const IBasicTypeInfo< ALLOC > & | getInt16 () |
static const IBasicTypeInfo< ALLOC > & | getInt32 () |
static const IBasicTypeInfo< ALLOC > & | getInt64 () |
static const IBasicTypeInfo< ALLOC > & | getUInt8 () |
static const IBasicTypeInfo< ALLOC > & | getUInt16 () |
static const IBasicTypeInfo< ALLOC > & | getUInt32 () |
static const IBasicTypeInfo< ALLOC > & | getUInt64 () |
static const IBasicTypeInfo< ALLOC > & | getVarInt16 () |
static const IBasicTypeInfo< ALLOC > & | getVarInt32 () |
static const IBasicTypeInfo< ALLOC > & | getVarInt64 () |
static const IBasicTypeInfo< ALLOC > & | getVarInt () |
static const IBasicTypeInfo< ALLOC > & | getVarUInt16 () |
static const IBasicTypeInfo< ALLOC > & | getVarUInt32 () |
static const IBasicTypeInfo< ALLOC > & | getVarUInt64 () |
static const IBasicTypeInfo< ALLOC > & | getVarUInt () |
static const IBasicTypeInfo< ALLOC > & | getVarSize () |
static const IBasicTypeInfo< ALLOC > & | getFloat16 () |
static const IBasicTypeInfo< ALLOC > & | getFloat32 () |
static const IBasicTypeInfo< ALLOC > & | getFloat64 () |
static const IBasicTypeInfo< ALLOC > & | getBytes () |
static const IBasicTypeInfo< ALLOC > & | getString () |
static const IBasicTypeInfo< ALLOC > & | getBitBuffer () |
static const IBasicTypeInfo< ALLOC > & | getFixedSignedBitField (uint8_t bitSize) |
static const IBasicTypeInfo< ALLOC > & | getFixedUnsignedBitField (uint8_t bitSize) |
static const IBasicTypeInfo< ALLOC > & | getDynamicSignedBitField (uint8_t maxBitSize) |
static const IBasicTypeInfo< ALLOC > & | getDynamicUnsignedBitField (uint8_t maxBitSize) |
Protected Member Functions | |
FixedSizeBuiltinTypeInfo (StringView schemaName, SchemaType schemaType, CppType cppType, uint8_t bitSize) | |
![]() | |
BuiltinTypeInfo (StringView schemaName, SchemaType schemaType, CppType cppType) | |
Type information abstract base class for fixed size builtin types.
Definition at line 315 of file TypeInfo.h.
|
protected |
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. |
bitSize | The bit size of the fixed size integral schema type. |
Definition at line 1260 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). |
Reimplemented from zserio::TypeInfoBase< ALLOC >.
Definition at line 1267 of file TypeInfo.h.
|
static |
Gets the type information of bool schema type.
Definition at line 1273 of file TypeInfo.h.
|
static |
Gets the type information of fixed signed bit field schema type.
bitSize | The bit size of the bit field. |
Definition at line 1369 of file TypeInfo.h.
|
static |
Gets the type information of fixed unsigned bit field schema type.
bitSize | The bit size of the bit field. |
Definition at line 1447 of file TypeInfo.h.
|
static |
Gets the type information of float16 schema type.
Definition at line 1345 of file TypeInfo.h.
|
static |
Gets the type information of float32 schema type.
Definition at line 1353 of file TypeInfo.h.
|
static |
Gets the type information of float64 schema type.
Definition at line 1361 of file TypeInfo.h.
|
static |
Gets the type information of int16 schema type.
Definition at line 1289 of file TypeInfo.h.
|
static |
Gets the type information of int32 schema type.
Definition at line 1297 of file TypeInfo.h.
|
static |
Gets the type information of int64 schema type.
Definition at line 1305 of file TypeInfo.h.
|
static |
Gets the type information of int8 schema type.
Definition at line 1281 of file TypeInfo.h.
|
static |
Gets the type information of uint16 schema type.
Definition at line 1321 of file TypeInfo.h.
|
static |
Gets the type information of uint32 schema type.
Definition at line 1329 of file TypeInfo.h.
|
static |
Gets the type information of uint64 schema type.
Definition at line 1337 of file TypeInfo.h.
|
static |
Gets the type information of uint8 schema type.
Definition at line 1313 of file TypeInfo.h.