Zserio C++ runtime library
1.1.0
Built for Zserio 2.15.0
|
#include <TypeInfo.h>
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 > & | 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 | |
BuiltinTypeInfo (StringView schemaName, SchemaType schemaType, CppType cppType) | |
Additional Inherited Members | |
Public Member Functions inherited from zserio::TypeInfoBase< std::allocator< uint8_t > > | |
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< std::allocator< uint8_t > > > | getFields () const override |
Span< const BasicParameterInfo< std::allocator< uint8_t > > > | getParameters () const override |
Span< const BasicFunctionInfo< std::allocator< uint8_t > > > | getFunctions () const override |
StringView | getSelector () const override |
Span< const BasicCaseInfo< std::allocator< uint8_t > > > | getCases () const override |
const IBasicTypeInfo< std::allocator< uint8_t > > & | getUnderlyingType () const override |
Span< const StringView > | getUnderlyingTypeArguments () const override |
Span< const ItemInfo > | getEnumItems () const override |
Span< const ItemInfo > | getBitmaskValues () const override |
Span< const BasicColumnInfo< std::allocator< uint8_t > > > | getColumns () const override |
StringView | getSqlConstraint () const override |
StringView | getVirtualTableUsing () const override |
bool | isWithoutRowId () const override |
Span< const BasicTableInfo< std::allocator< uint8_t > > > | getTables () const override |
StringView | getTemplateName () const override |
Span< const BasicTemplateArgumentInfo< std::allocator< uint8_t > > > | getTemplateArguments () const override |
Span< const BasicMessageInfo< std::allocator< uint8_t > > > | getMessages () const override |
Span< const BasicMethodInfo< std::allocator< uint8_t > > > | getMethods () const override |
IBasicReflectablePtr< std::allocator< uint8_t > > | createInstance (const std::allocator< uint8_t > &allocator) const override |
IBasicReflectablePtr< std::allocator< uint8_t > > | createInstance () const override |
TypeInfoBase (const TypeInfoBase &)=delete | |
TypeInfoBase (const TypeInfoBase &&)=delete | |
TypeInfoBase & | operator= (const TypeInfoBase &)=delete |
TypeInfoBase & | operator= (const TypeInfoBase &&)=delete |
Public Member Functions inherited from zserio::IBasicTypeInfo< std::allocator< uint8_t > > | |
virtual | ~IBasicTypeInfo ()=default |
virtual IBasicReflectablePtr< std::allocator< uint8_t > > | createInstance (const std::allocator< uint8_t > &allocator) const=0 |
Type information abstract base class for builtin types.
Definition at line 93 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. |
Definition at line 1006 of file TypeInfo.h.
|
static |
Gets the type information of extern schema type.
Definition at line 1170 of file TypeInfo.h.
|
static |
Gets the type information of bool schema type.
Definition at line 1011 of file TypeInfo.h.
|
static |
Gets the type information of bytes schema type.
Definition at line 1155 of file TypeInfo.h.
|
static |
Gets the type information of dynamic signed bit field schema type.
maxBitSize | The maximum bit size of the dynamic bit field. |
Definition at line 1190 of file TypeInfo.h.
|
static |
Gets the type information of dynamic unsigned bit field schema type.
maxBitSize | The maximum bit size of the dynamic bit field. |
Definition at line 1225 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 1178 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 1184 of file TypeInfo.h.
|
static |
Gets the type information of float16 schema type.
Definition at line 1137 of file TypeInfo.h.
|
static |
Gets the type information of float32 schema type.
Definition at line 1143 of file TypeInfo.h.
|
static |
Gets the type information of float64 schema type.
Definition at line 1149 of file TypeInfo.h.
|
static |
Gets the type information of int16 schema type.
Definition at line 1023 of file TypeInfo.h.
|
static |
Gets the type information of int32 schema type.
Definition at line 1029 of file TypeInfo.h.
|
static |
Gets the type information of int64 schema type.
Definition at line 1035 of file TypeInfo.h.
|
static |
Gets the type information of int8 schema type.
Definition at line 1017 of file TypeInfo.h.
|
static |
Gets the type information of string schema type.
Definition at line 1162 of file TypeInfo.h.
|
static |
Gets the type information of uint16 schema type.
Definition at line 1047 of file TypeInfo.h.
|
static |
Gets the type information of uint32 schema type.
Definition at line 1053 of file TypeInfo.h.
|
static |
Gets the type information of uint64 schema type.
Definition at line 1059 of file TypeInfo.h.
|
static |
Gets the type information of uint8 schema type.
Definition at line 1041 of file TypeInfo.h.
|
static |
Gets the type information of varint schema type.
Definition at line 1089 of file TypeInfo.h.
|
static |
Gets the type information of varint16 schema type.
Definition at line 1065 of file TypeInfo.h.
|
static |
Gets the type information of varint32 schema type.
Definition at line 1073 of file TypeInfo.h.
|
static |
Gets the type information of varint64 schema type.
Definition at line 1081 of file TypeInfo.h.
|
static |
Gets the type information of varsize schema type.
Definition at line 1129 of file TypeInfo.h.
|
static |
Gets the type information of varuint schema type.
Definition at line 1121 of file TypeInfo.h.
|
static |
Gets the type information of varuint16 schema type.
Definition at line 1097 of file TypeInfo.h.
|
static |
Gets the type information of varuint32 schema type.
Definition at line 1105 of file TypeInfo.h.
|
static |
Gets the type information of varuint64 schema type.
Definition at line 1113 of file TypeInfo.h.