Zserio C++ runtime library  1.1.0
Built for Zserio 2.15.0
zserio::BasicFieldInfo< ALLOC > Struct Template Reference

#include <ITypeInfo.h>

Collaboration diagram for zserio::BasicFieldInfo< ALLOC >:

Public Member Functions

 BasicFieldInfo (StringView schemaName_, const IBasicTypeInfo< ALLOC > &typeInfo_, Span< const StringView > typeArguments_, bool isExtended_, StringView alignment_, StringView offset_, StringView initializer_, bool isOptional_, StringView optionalCondition_, StringView constraint_, bool isArray_, StringView arrayLength_, bool isPacked_, bool isImplicit_)
 

Public Attributes

StringView schemaName
 
const IBasicTypeInfo< ALLOC > & typeInfo
 
Span< const StringViewtypeArguments
 
bool isExtended
 
StringView alignment
 
StringView offset
 
StringView initializer
 
bool isOptional
 
StringView optionalCondition
 
StringView constraint
 
bool isArray
 
StringView arrayLength
 
bool isPacked
 
bool isImplicit
 

Detailed Description

template<typename ALLOC = std::allocator<uint8_t>>
struct zserio::BasicFieldInfo< ALLOC >

Type information for compound type field.

Definition at line 357 of file ITypeInfo.h.

Constructor & Destructor Documentation

◆ BasicFieldInfo()

template<typename ALLOC = std::allocator<uint8_t>>
zserio::BasicFieldInfo< ALLOC >::BasicFieldInfo ( StringView  schemaName_,
const IBasicTypeInfo< ALLOC > &  typeInfo_,
Span< const StringView typeArguments_,
bool  isExtended_,
StringView  alignment_,
StringView  offset_,
StringView  initializer_,
bool  isOptional_,
StringView  optionalCondition_,
StringView  constraint_,
bool  isArray_,
StringView  arrayLength_,
bool  isPacked_,
bool  isImplicit_ 
)
inline

Definition at line 359 of file ITypeInfo.h.

Member Data Documentation

◆ alignment

template<typename ALLOC = std::allocator<uint8_t>>
StringView zserio::BasicFieldInfo< ALLOC >::alignment

field alignment or empty in case of no alignment

Definition at line 383 of file ITypeInfo.h.

◆ arrayLength

template<typename ALLOC = std::allocator<uint8_t>>
StringView zserio::BasicFieldInfo< ALLOC >::arrayLength

array length or empty if field is not array or is auto/implicit array

Definition at line 390 of file ITypeInfo.h.

◆ constraint

template<typename ALLOC = std::allocator<uint8_t>>
StringView zserio::BasicFieldInfo< ALLOC >::constraint

constraint or empty if field does not have constraint

Definition at line 388 of file ITypeInfo.h.

◆ initializer

template<typename ALLOC = std::allocator<uint8_t>>
StringView zserio::BasicFieldInfo< ALLOC >::initializer

field initializer or empty in case of no alignment

Definition at line 385 of file ITypeInfo.h.

◆ isArray

template<typename ALLOC = std::allocator<uint8_t>>
bool zserio::BasicFieldInfo< ALLOC >::isArray

true if field is array

Definition at line 389 of file ITypeInfo.h.

◆ isExtended

template<typename ALLOC = std::allocator<uint8_t>>
bool zserio::BasicFieldInfo< ALLOC >::isExtended

true if field is extended

Definition at line 382 of file ITypeInfo.h.

◆ isImplicit

template<typename ALLOC = std::allocator<uint8_t>>
bool zserio::BasicFieldInfo< ALLOC >::isImplicit

true if field is array and implicit

Definition at line 392 of file ITypeInfo.h.

◆ isOptional

template<typename ALLOC = std::allocator<uint8_t>>
bool zserio::BasicFieldInfo< ALLOC >::isOptional

true if field is optional

Definition at line 386 of file ITypeInfo.h.

◆ isPacked

template<typename ALLOC = std::allocator<uint8_t>>
bool zserio::BasicFieldInfo< ALLOC >::isPacked

true if field is array and packed

Definition at line 391 of file ITypeInfo.h.

◆ offset

template<typename ALLOC = std::allocator<uint8_t>>
StringView zserio::BasicFieldInfo< ALLOC >::offset

field offset or empty in case of no alignment

Definition at line 384 of file ITypeInfo.h.

◆ optionalCondition

template<typename ALLOC = std::allocator<uint8_t>>
StringView zserio::BasicFieldInfo< ALLOC >::optionalCondition

optional condition or empty if field is not optional

Definition at line 387 of file ITypeInfo.h.

◆ schemaName

template<typename ALLOC = std::allocator<uint8_t>>
StringView zserio::BasicFieldInfo< ALLOC >::schemaName

field schema name

Definition at line 379 of file ITypeInfo.h.

◆ typeArguments

template<typename ALLOC = std::allocator<uint8_t>>
Span<const StringView> zserio::BasicFieldInfo< ALLOC >::typeArguments

sequence of field type arguments

Definition at line 381 of file ITypeInfo.h.

◆ typeInfo

template<typename ALLOC = std::allocator<uint8_t>>
const IBasicTypeInfo<ALLOC>& zserio::BasicFieldInfo< ALLOC >::typeInfo

reference to type information for a field type

Definition at line 380 of file ITypeInfo.h.


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