|
Zserio C++ runtime library
1.3.0
Built for Zserio 2.18.0
|
#include <TypeInfo.h>


Public Types | |
| using | CreateInstanceFunc = typename CompoundTypeInfoBase< ALLOC >::CreateInstanceFunc |
Public Types inherited from zserio::CompoundTypeInfoBase< ALLOC > | |
| using | CreateInstanceFunc = IBasicReflectablePtr< ALLOC >(*)(const ALLOC &) |
Type information class for choice types.
Definition at line 576 of file TypeInfo.h.
| using zserio::ChoiceTypeInfo< ALLOC >::CreateInstanceFunc = typename CompoundTypeInfoBase<ALLOC>::CreateInstanceFunc |
Definition at line 579 of file TypeInfo.h.
| zserio::ChoiceTypeInfo< ALLOC >::ChoiceTypeInfo | ( | StringView | schemaName, |
| CreateInstanceFunc | createInstanceFunc, | ||
| StringView | templateName, | ||
| Span< const BasicTemplateArgumentInfo< ALLOC >> | templateArguments, | ||
| Span< const BasicFieldInfo< ALLOC >> | fields, | ||
| Span< const BasicParameterInfo< ALLOC >> | parameters, | ||
| Span< const BasicFunctionInfo< ALLOC >> | functions, | ||
| StringView | selector, | ||
| Span< const BasicCaseInfo< ALLOC >> | cases | ||
| ) |
Constructor.
| schemaName | The schema name to be stored in type information. |
| templateName | The full schema template name. |
| templateArguments | The sequence of type information for template arguments. |
| fields | The sequence of type information for fields. |
| parameters | The sequence of type information for parameters. |
| functions | The sequence of type information for functions. |
| selector | The selector expression. |
| cases | The sequence of type information for cases. |
Definition at line 1614 of file TypeInfo.h.
|
overridevirtual |
Gets the type information for choice type cases.
| CppRuntimeException | If the zserio type is not choice type. |
Reimplemented from zserio::TypeInfoBase< ALLOC >.
Definition at line 1632 of file TypeInfo.h.
|
overridevirtual |
Gets the selector for choice type.
| CppRuntimeException | If the zserio type is not choice type. |
Reimplemented from zserio::TypeInfoBase< ALLOC >.
Definition at line 1626 of file TypeInfo.h.