Zserio C++17 runtime library  0.5.0
Built for Zserio 2.17.0
zserio::BasicFieldInfo< ALLOC > Struct Template Reference

#include <ITypeInfo.h>

Collaboration diagram for zserio::BasicFieldInfo< ALLOC >:

Public Member Functions

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

Public Attributes

std::string_view schemaName
 
const IBasicTypeInfo< ALLOC > & typeInfo
 
Span< const std::string_view > typeArguments
 
bool isExtended
 
std::string_view alignment
 
std::string_view offset
 
std::string_view initializer
 
bool isOptional
 
std::string_view optionalCondition
 
std::string_view constraint
 
bool isArray
 
std::string_view 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 470 of file ITypeInfo.h.

Constructor & Destructor Documentation

◆ BasicFieldInfo()

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

Definition at line 472 of file ITypeInfo.h.

Member Data Documentation

◆ alignment

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

field alignment or empty in case of no alignment

Definition at line 497 of file ITypeInfo.h.

◆ arrayLength

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

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

Definition at line 504 of file ITypeInfo.h.

◆ constraint

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

constraint or empty if field does not have constraint

Definition at line 502 of file ITypeInfo.h.

◆ initializer

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

field initializer or empty in case of no alignment

Definition at line 499 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 503 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 496 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 506 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 500 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 505 of file ITypeInfo.h.

◆ offset

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

field offset or empty in case of no alignment

Definition at line 498 of file ITypeInfo.h.

◆ optionalCondition

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

optional condition or empty if field is not optional

Definition at line 501 of file ITypeInfo.h.

◆ schemaName

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

field schema name

Definition at line 493 of file ITypeInfo.h.

◆ typeArguments

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

sequence of field type arguments

Definition at line 495 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 494 of file ITypeInfo.h.


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