Kanzi 4.1.1
kanzi::schema Namespace Reference

Typedefs

template<typename T >
using FlatBufferOffset
 Common rename of flatbuffers offset.
 
template<typename T >
using FlatBufferOffsetVector
 Common rename of flatbuffers offset vector.
 

Functions

AbstractPropertyType flatbuffersStringToAbstractPropertyType (const ::flatbuffers::String *flatbuffersString)
 Convert flatbuffers string to AbstractPropertyType safely.
 
string_view flatbuffersStringToStringView (const ::flatbuffers::String *flatbuffersString)
 Convert flatbuffers string to string_view safely.
 

Typedef Documentation

◆ FlatBufferOffset

Common rename of flatbuffers offset.

◆ FlatBufferOffsetVector

Common rename of flatbuffers offset vector.

Function Documentation

◆ flatbuffersStringToStringView()

string_view kanzi::schema::flatbuffersStringToStringView ( const ::flatbuffers::String * flatbuffersString)
inline

Convert flatbuffers string to string_view safely.

Parameters
flatbuffersStringFlatBuffer string.
Returns
Internal string_view or empty string_view on invalid input.

◆ flatbuffersStringToAbstractPropertyType()

AbstractPropertyType kanzi::schema::flatbuffersStringToAbstractPropertyType ( const ::flatbuffers::String * flatbuffersString)
inline

Convert flatbuffers string to AbstractPropertyType safely.

Parameters
flatbuffersStringFlatBuffer string.
Returns
AbstractPropertyType from the string, may be empty.