Zserio C++ runtime library  1.2.0
Built for Zserio 2.16.0
zserio::PubsubTypeInfo< ALLOC > Class Template Reference

#include <TypeInfo.h>

Inheritance diagram for zserio::PubsubTypeInfo< ALLOC >:
Collaboration diagram for zserio::PubsubTypeInfo< ALLOC >:

Public Member Functions

 PubsubTypeInfo (StringView schemaName, Span< const BasicMessageInfo< ALLOC >> messages)
 
Span< const BasicMessageInfo< ALLOC > > getMessages () 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
 
const IBasicTypeInfo< ALLOC > & getUnderlyingType () const override
 
Span< const StringViewgetUnderlyingTypeArguments () const override
 
Span< const ItemInfogetEnumItems () const override
 
Span< const ItemInfogetBitmaskValues () 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 BasicMethodInfo< ALLOC > > getMethods () const override
 
IBasicReflectablePtr< ALLOC > createInstance (const ALLOC &allocator) const override
 
IBasicReflectablePtr< ALLOC > createInstance () const override
 
 TypeInfoBase (const TypeInfoBase &)=delete
 
TypeInfoBaseoperator= (const TypeInfoBase &)=delete
 
 TypeInfoBase (const TypeInfoBase &&)=delete
 
TypeInfoBaseoperator= (const TypeInfoBase &&)=delete
 
- Public Member Functions inherited from zserio::IBasicTypeInfo< ALLOC >
virtual ~IBasicTypeInfo ()=default
 

Detailed Description

template<typename ALLOC>
class zserio::PubsubTypeInfo< ALLOC >

Type information class for pubsub types.

Definition at line 741 of file TypeInfo.h.

Constructor & Destructor Documentation

◆ PubsubTypeInfo()

template<typename ALLOC >
zserio::PubsubTypeInfo< ALLOC >::PubsubTypeInfo ( StringView  schemaName,
Span< const BasicMessageInfo< ALLOC >>  messages 
)

Constructor.

Parameters
schemaNameThe schema name to be stored in type information.
messagesThe sequence of type information for pubsub messages.

Definition at line 1736 of file TypeInfo.h.

Member Function Documentation

◆ getMessages()

template<typename ALLOC >
Span< const BasicMessageInfo< ALLOC > > zserio::PubsubTypeInfo< ALLOC >::getMessages
overridevirtual

Gets the type information for pubsub messages.

Returns
Sequence of type information for pubsub messages.
Exceptions
CppRuntimeExceptionIf the zserio type is not pubsub type.

Reimplemented from zserio::TypeInfoBase< ALLOC >.

Definition at line 1742 of file TypeInfo.h.


The documentation for this class was generated from the following file: