Zserio C++17 runtime library
0.5.0
Built for Zserio 2.17.0
|
#include <ITypeInfo.h>
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 |
Type information for compound type field.
Definition at line 470 of file ITypeInfo.h.
|
inline |
Definition at line 472 of file ITypeInfo.h.
std::string_view zserio::BasicFieldInfo< ALLOC >::alignment |
field alignment or empty in case of no alignment
Definition at line 497 of file ITypeInfo.h.
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.
std::string_view zserio::BasicFieldInfo< ALLOC >::constraint |
constraint or empty if field does not have constraint
Definition at line 502 of file ITypeInfo.h.
std::string_view zserio::BasicFieldInfo< ALLOC >::initializer |
field initializer or empty in case of no alignment
Definition at line 499 of file ITypeInfo.h.
bool zserio::BasicFieldInfo< ALLOC >::isArray |
true if field is array
Definition at line 503 of file ITypeInfo.h.
bool zserio::BasicFieldInfo< ALLOC >::isExtended |
true if field is extended
Definition at line 496 of file ITypeInfo.h.
bool zserio::BasicFieldInfo< ALLOC >::isImplicit |
true if field is array and implicit
Definition at line 506 of file ITypeInfo.h.
bool zserio::BasicFieldInfo< ALLOC >::isOptional |
true if field is optional
Definition at line 500 of file ITypeInfo.h.
bool zserio::BasicFieldInfo< ALLOC >::isPacked |
true if field is array and packed
Definition at line 505 of file ITypeInfo.h.
std::string_view zserio::BasicFieldInfo< ALLOC >::offset |
field offset or empty in case of no alignment
Definition at line 498 of file ITypeInfo.h.
std::string_view zserio::BasicFieldInfo< ALLOC >::optionalCondition |
optional condition or empty if field is not optional
Definition at line 501 of file ITypeInfo.h.
std::string_view zserio::BasicFieldInfo< ALLOC >::schemaName |
field schema name
Definition at line 493 of file ITypeInfo.h.
Span<const std::string_view> zserio::BasicFieldInfo< ALLOC >::typeArguments |
sequence of field type arguments
Definition at line 495 of file ITypeInfo.h.
const IBasicTypeInfo<ALLOC>& zserio::BasicFieldInfo< ALLOC >::typeInfo |
reference to type information for a field type
Definition at line 494 of file ITypeInfo.h.