Zserio C++17 runtime library
0.5.0
Built for Zserio 2.17.0
|
Namespaces | |
builtin | |
pmr | |
ppmr | |
Typedefs | |
using | Any = BasicAny<> |
using | BitBuffer = BasicBitBuffer<> |
template<typename ALLOC > | |
using | BasicBitBufferView = std::reference_wrapper< const BasicBitBuffer< ALLOC > > |
using | BitBufferView = std::reference_wrapper< const BitBuffer > |
using | BitSize = unsigned int |
template<typename ALLOC = std::allocator<uint8_t>> | |
using | BasicBytes = std::vector< uint8_t, ALLOC > |
using | Bytes = BasicBytes<> |
using | BytesView = Span< const uint8_t > |
template<typename T > | |
using | generic_accessor_t = typename detail::generic_accessor< T >::type |
template<typename ALLOC = std::allocator<uint8_t>> | |
using | IBasicIntrospectableViewConstPtr = typename IBasicIntrospectableView< ALLOC >::ConstPtr |
template<typename ALLOC = std::allocator<uint8_t>> | |
using | IBasicServiceDataPtr = std::shared_ptr< IBasicServiceData< ALLOC > > |
using | JsonParser = BasicJsonParser<> |
using | JsonReader = BasicJsonReader<> |
template<typename T > | |
using | Optional = BasicOptional< std::allocator< uint8_t >, T > |
template<typename ALLOC , typename T > | |
using | RebindAlloc = typename std::allocator_traits< ALLOC >::template rebind_alloc< T > |
template<typename ALLOC > | |
using | BasicString = std::basic_string< char, std::char_traits< char >, ALLOC > |
using | String = BasicString< std::allocator< char > > |
template<typename T , typename ALLOC = std::allocator<T>> | |
using | UniquePtr = std::unique_ptr< T, detail::UniquePtrDeleter< ALLOC > > |
template<typename INDEX , typename... T> | |
using | Variant = BasicVariant< std::allocator< uint8_t >, INDEX, T... > |
template<typename T , typename ALLOC = std::allocator<T>> | |
using | Vector = std::vector< T, ALLOC > |
using | ZserioTreeCreator = BasicZserioTreeCreator< std::allocator< uint8_t > > |
using | IIntrospectableView = IBasicIntrospectableView<> |
using | IIntrospectableViewConstPtr = IBasicIntrospectableViewConstPtr<> |
template<typename ALLOC = std::allocator<uint8_t>> | |
using | IBasicReflectableDataPtr = typename IBasicReflectableData< ALLOC >::Ptr |
template<typename ALLOC = std::allocator<uint8_t>> | |
using | IBasicReflectableDataConstPtr = typename IBasicReflectableData< ALLOC >::ConstPtr |
using | IReflectableData = IBasicReflectableData<> |
using | IReflectableDataPtr = IBasicReflectableDataPtr<> |
using | IReflectableDataConstPtr = IBasicReflectableDataConstPtr<> |
using | IServiceData = IBasicServiceData<> |
using | IServiceDataPtr = IBasicServiceDataPtr<> |
using | IService = IBasicService<> |
using | IServiceClient = IBasicServiceClient<> |
template<typename ZSERIO_OBJECT > | |
using | IntrospectableServiceData = BasicIntrospectableServiceData< ZSERIO_OBJECT > |
using | ObjectServiceData = BasicObjectServiceData<> |
using | RawServiceDataHolder = BasicRawServiceDataHolder<> |
using | RawServiceDataView = BasicRawServiceDataView<> |
using | ITypeInfo = IBasicTypeInfo<> |
using | FieldInfo = BasicFieldInfo<> |
using | ParameterInfo = BasicParameterInfo<> |
using | FunctionInfo = BasicFunctionInfo<> |
using | CaseInfo = BasicCaseInfo<> |
using | ColumnInfo = BasicColumnInfo<> |
using | TableInfo = BasicTableInfo<> |
using | TemplateArgumentInfo = BasicTemplateArgumentInfo<> |
using | MessageInfo = BasicMessageInfo<> |
using | MethodInfo = BasicMethodInfo<> |
using | IWalkFilter = IBasicWalkFilter<> |
using | IWalkObserver = IBasicWalkObserver<> |
using | JsonWriter = BasicJsonWriter<> |
template<typename T , typename V = void> | |
using | view_type_t = typename view_type< T, V >::type |
template<typename T , typename V = void> | |
using | offset_field_reference_t = typename offset_field_reference< T, V >::type |
using | Bool = detail::BoolWrapper |
using | Int1 = detail::FixedIntWrapper< 1, true > |
using | Int2 = detail::FixedIntWrapper< 2, true > |
using | Int3 = detail::FixedIntWrapper< 3, true > |
using | Int4 = detail::FixedIntWrapper< 4, true > |
using | Int5 = detail::FixedIntWrapper< 5, true > |
using | Int6 = detail::FixedIntWrapper< 6, true > |
using | Int7 = detail::FixedIntWrapper< 7, true > |
using | Int8 = detail::FixedIntWrapper< 8, true > |
using | Int9 = detail::FixedIntWrapper< 9, true > |
using | Int10 = detail::FixedIntWrapper< 10, true > |
using | Int11 = detail::FixedIntWrapper< 11, true > |
using | Int12 = detail::FixedIntWrapper< 12, true > |
using | Int13 = detail::FixedIntWrapper< 13, true > |
using | Int14 = detail::FixedIntWrapper< 14, true > |
using | Int15 = detail::FixedIntWrapper< 15, true > |
using | Int16 = detail::FixedIntWrapper< 16, true > |
using | Int17 = detail::FixedIntWrapper< 17, true > |
using | Int18 = detail::FixedIntWrapper< 18, true > |
using | Int19 = detail::FixedIntWrapper< 19, true > |
using | Int20 = detail::FixedIntWrapper< 20, true > |
using | Int21 = detail::FixedIntWrapper< 21, true > |
using | Int22 = detail::FixedIntWrapper< 22, true > |
using | Int23 = detail::FixedIntWrapper< 23, true > |
using | Int24 = detail::FixedIntWrapper< 24, true > |
using | Int25 = detail::FixedIntWrapper< 25, true > |
using | Int26 = detail::FixedIntWrapper< 26, true > |
using | Int27 = detail::FixedIntWrapper< 27, true > |
using | Int28 = detail::FixedIntWrapper< 28, true > |
using | Int29 = detail::FixedIntWrapper< 29, true > |
using | Int30 = detail::FixedIntWrapper< 30, true > |
using | Int31 = detail::FixedIntWrapper< 31, true > |
using | Int32 = detail::FixedIntWrapper< 32, true > |
using | Int33 = detail::FixedIntWrapper< 33, true > |
using | Int34 = detail::FixedIntWrapper< 34, true > |
using | Int35 = detail::FixedIntWrapper< 35, true > |
using | Int36 = detail::FixedIntWrapper< 36, true > |
using | Int37 = detail::FixedIntWrapper< 37, true > |
using | Int38 = detail::FixedIntWrapper< 38, true > |
using | Int39 = detail::FixedIntWrapper< 39, true > |
using | Int40 = detail::FixedIntWrapper< 40, true > |
using | Int41 = detail::FixedIntWrapper< 41, true > |
using | Int42 = detail::FixedIntWrapper< 42, true > |
using | Int43 = detail::FixedIntWrapper< 43, true > |
using | Int44 = detail::FixedIntWrapper< 44, true > |
using | Int45 = detail::FixedIntWrapper< 45, true > |
using | Int46 = detail::FixedIntWrapper< 46, true > |
using | Int47 = detail::FixedIntWrapper< 47, true > |
using | Int48 = detail::FixedIntWrapper< 48, true > |
using | Int49 = detail::FixedIntWrapper< 49, true > |
using | Int50 = detail::FixedIntWrapper< 50, true > |
using | Int51 = detail::FixedIntWrapper< 51, true > |
using | Int52 = detail::FixedIntWrapper< 52, true > |
using | Int53 = detail::FixedIntWrapper< 53, true > |
using | Int54 = detail::FixedIntWrapper< 54, true > |
using | Int55 = detail::FixedIntWrapper< 55, true > |
using | Int56 = detail::FixedIntWrapper< 56, true > |
using | Int57 = detail::FixedIntWrapper< 57, true > |
using | Int58 = detail::FixedIntWrapper< 58, true > |
using | Int59 = detail::FixedIntWrapper< 59, true > |
using | Int60 = detail::FixedIntWrapper< 60, true > |
using | Int61 = detail::FixedIntWrapper< 61, true > |
using | Int62 = detail::FixedIntWrapper< 62, true > |
using | Int63 = detail::FixedIntWrapper< 63, true > |
using | Int64 = detail::FixedIntWrapper< 64, true > |
using | UInt1 = detail::FixedIntWrapper< 1, false > |
using | UInt2 = detail::FixedIntWrapper< 2, false > |
using | UInt3 = detail::FixedIntWrapper< 3, false > |
using | UInt4 = detail::FixedIntWrapper< 4, false > |
using | UInt5 = detail::FixedIntWrapper< 5, false > |
using | UInt6 = detail::FixedIntWrapper< 6, false > |
using | UInt7 = detail::FixedIntWrapper< 7, false > |
using | UInt8 = detail::FixedIntWrapper< 8, false > |
using | UInt9 = detail::FixedIntWrapper< 9, false > |
using | UInt10 = detail::FixedIntWrapper< 10, false > |
using | UInt11 = detail::FixedIntWrapper< 11, false > |
using | UInt12 = detail::FixedIntWrapper< 12, false > |
using | UInt13 = detail::FixedIntWrapper< 13, false > |
using | UInt14 = detail::FixedIntWrapper< 14, false > |
using | UInt15 = detail::FixedIntWrapper< 15, false > |
using | UInt16 = detail::FixedIntWrapper< 16, false > |
using | UInt17 = detail::FixedIntWrapper< 17, false > |
using | UInt18 = detail::FixedIntWrapper< 18, false > |
using | UInt19 = detail::FixedIntWrapper< 19, false > |
using | UInt20 = detail::FixedIntWrapper< 20, false > |
using | UInt21 = detail::FixedIntWrapper< 21, false > |
using | UInt22 = detail::FixedIntWrapper< 22, false > |
using | UInt23 = detail::FixedIntWrapper< 23, false > |
using | UInt24 = detail::FixedIntWrapper< 24, false > |
using | UInt25 = detail::FixedIntWrapper< 25, false > |
using | UInt26 = detail::FixedIntWrapper< 26, false > |
using | UInt27 = detail::FixedIntWrapper< 27, false > |
using | UInt28 = detail::FixedIntWrapper< 28, false > |
using | UInt29 = detail::FixedIntWrapper< 29, false > |
using | UInt30 = detail::FixedIntWrapper< 30, false > |
using | UInt31 = detail::FixedIntWrapper< 31, false > |
using | UInt32 = detail::FixedIntWrapper< 32, false > |
using | UInt33 = detail::FixedIntWrapper< 33, false > |
using | UInt34 = detail::FixedIntWrapper< 34, false > |
using | UInt35 = detail::FixedIntWrapper< 35, false > |
using | UInt36 = detail::FixedIntWrapper< 36, false > |
using | UInt37 = detail::FixedIntWrapper< 37, false > |
using | UInt38 = detail::FixedIntWrapper< 38, false > |
using | UInt39 = detail::FixedIntWrapper< 39, false > |
using | UInt40 = detail::FixedIntWrapper< 40, false > |
using | UInt41 = detail::FixedIntWrapper< 41, false > |
using | UInt42 = detail::FixedIntWrapper< 42, false > |
using | UInt43 = detail::FixedIntWrapper< 43, false > |
using | UInt44 = detail::FixedIntWrapper< 44, false > |
using | UInt45 = detail::FixedIntWrapper< 45, false > |
using | UInt46 = detail::FixedIntWrapper< 46, false > |
using | UInt47 = detail::FixedIntWrapper< 47, false > |
using | UInt48 = detail::FixedIntWrapper< 48, false > |
using | UInt49 = detail::FixedIntWrapper< 49, false > |
using | UInt50 = detail::FixedIntWrapper< 50, false > |
using | UInt51 = detail::FixedIntWrapper< 51, false > |
using | UInt52 = detail::FixedIntWrapper< 52, false > |
using | UInt53 = detail::FixedIntWrapper< 53, false > |
using | UInt54 = detail::FixedIntWrapper< 54, false > |
using | UInt55 = detail::FixedIntWrapper< 55, false > |
using | UInt56 = detail::FixedIntWrapper< 56, false > |
using | UInt57 = detail::FixedIntWrapper< 57, false > |
using | UInt58 = detail::FixedIntWrapper< 58, false > |
using | UInt59 = detail::FixedIntWrapper< 59, false > |
using | UInt60 = detail::FixedIntWrapper< 60, false > |
using | UInt61 = detail::FixedIntWrapper< 61, false > |
using | UInt62 = detail::FixedIntWrapper< 62, false > |
using | UInt63 = detail::FixedIntWrapper< 63, false > |
using | UInt64 = detail::FixedIntWrapper< 64, false > |
template<size_t BIT_SIZE> | |
using | Int = detail::FixedIntWrapper< BIT_SIZE, true > |
template<size_t BIT_SIZE> | |
using | UInt = detail::FixedIntWrapper< BIT_SIZE, false > |
using | DynInt8 = detail::DynIntWrapper< int8_t > |
using | DynInt16 = detail::DynIntWrapper< int16_t > |
using | DynInt32 = detail::DynIntWrapper< int32_t > |
using | DynInt64 = detail::DynIntWrapper< int64_t > |
using | DynUInt8 = detail::DynIntWrapper< uint8_t > |
using | DynUInt16 = detail::DynIntWrapper< uint16_t > |
using | DynUInt32 = detail::DynIntWrapper< uint32_t > |
using | DynUInt64 = detail::DynIntWrapper< uint64_t > |
using | VarInt16 = detail::VarIntWrapper< int16_t, detail::VarIntType::VAR16 > |
using | VarInt32 = detail::VarIntWrapper< int32_t, detail::VarIntType::VAR32 > |
using | VarInt64 = detail::VarIntWrapper< int64_t, detail::VarIntType::VAR64 > |
using | VarInt = detail::VarIntWrapper< int64_t, detail::VarIntType::VAR > |
using | VarUInt16 = detail::VarIntWrapper< uint16_t, detail::VarIntType::VAR16 > |
using | VarUInt32 = detail::VarIntWrapper< uint32_t, detail::VarIntType::VAR32 > |
using | VarUInt64 = detail::VarIntWrapper< uint64_t, detail::VarIntType::VAR64 > |
using | VarUInt = detail::VarIntWrapper< uint64_t, detail::VarIntType::VAR > |
using | VarSize = detail::VarIntWrapper< uint32_t, detail::VarIntType::VARSIZE > |
using | Float16 = detail::FloatWrapper< float, detail::FloatType::FLOAT16 > |
using | Float32 = detail::FloatWrapper< float, detail::FloatType::FLOAT32 > |
using | Float64 = detail::FloatWrapper< double, detail::FloatType::FLOAT64 > |
using | Walker = BasicWalker<> |
using | DefaultWalkObserver = BasicDefaultWalkObserver<> |
using | DefaultWalkFilter = BasicDefaultWalkFilter<> |
using | DepthWalkFilter = BasicDepthWalkFilter<> |
using | RegexWalkFilter = BasicRegexWalkFilter<> |
using | ArrayLengthWalkFilter = BasicArrayLengthWalkFilter<> |
using | AndWalkFilter = BasicAndWalkFilter<> |
Functions | |
template<typename T , typename ARRAY_TRAITS > | |
uint32_t | calcHashCode (uint32_t seedValue, const ArrayView< T, ARRAY_TRAITS > &array) |
template<typename ALLOC > | |
CppRuntimeException & | operator<< (CppRuntimeException &exception, const BasicBitBuffer< ALLOC > &bitBuffer) |
template<typename ALLOC > | |
uint32_t | calcHashCode (uint32_t seedValue, const BasicBitBuffer< ALLOC > &value) |
int64_t | getBitFieldLowerBound (size_t length, bool isSigned) |
uint64_t | getBitFieldUpperBound (size_t length, bool isSigned) |
template<typename T , typename std::enable_if< is_bitmask< T >::value, int >::type = 0> | |
CppRuntimeException & | operator<< (CppRuntimeException &exception, T value) |
constexpr BitSize | alignTo (BitSize alignmentValue, BitSize bitPosition) |
bool | operator== (const BytesView &lhs, const BytesView &rhs) |
bool | operator!= (const BytesView &lhs, const BytesView &rhs) |
bool | operator< (const BytesView &lhs, const BytesView &rhs) |
bool | operator> (const BytesView &lhs, const BytesView &rhs) |
bool | operator<= (const BytesView &lhs, const BytesView &rhs) |
bool | operator>= (const BytesView &lhs, const BytesView &rhs) |
CppRuntimeException & | operator<< (CppRuntimeException &exception, const char *message) |
CppRuntimeException & | operator<< (CppRuntimeException &exception, bool value) |
CppRuntimeException & | operator<< (CppRuntimeException &exception, float value) |
CppRuntimeException & | operator<< (CppRuntimeException &exception, double value) |
CppRuntimeException & | operator<< (CppRuntimeException &exception, std::string_view value) |
template<typename ALLOC > | |
CppRuntimeException & | operator<< (CppRuntimeException &exception, const std::basic_string< char, std::char_traits< char >, ALLOC > &value) |
template<typename T , typename ALLOC > | |
CppRuntimeException & | operator<< (CppRuntimeException &exception, const std::vector< T, ALLOC > &value) |
template<typename CPP_RUNTIME_EXCEPTION , typename T > | |
detail::CppRuntimeExceptionRValueInsertion< CPP_RUNTIME_EXCEPTION, T > | operator<< (CPP_RUNTIME_EXCEPTION &&exception, const T &value) |
template<typename T , typename... ARGS> | |
DataView (T, ARGS &&...) -> DataView< T > | |
template<typename T , typename ALLOC = typename T::allocator_type, typename std::enable_if< is_allocator< ALLOC >::value, int >::type = 0> | |
void | toJsonStream (const T &object, std::ostream &stream, const ALLOC &allocator=ALLOC()) |
template<typename T , typename ALLOC = typename T::allocator_type, typename std::enable_if< is_allocator< ALLOC >::value, int >::type = 0> | |
void | toJsonStream (const T &object, std::ostream &stream, uint8_t indent, const ALLOC &allocator=ALLOC()) |
template<typename T , typename WALK_FILTER , typename ALLOC = typename T::allocator_type, typename std::enable_if< std::is_base_of< IBasicWalkFilter< ALLOC >, typename std::decay< WALK_FILTER >::type >::value, int >::type = 0> | |
void | toJsonStream (const T &object, std::ostream &stream, WALK_FILTER &&walkFilter, const ALLOC &allocator=ALLOC()) |
template<typename T , typename WALK_FILTER , typename ALLOC = typename T::allocator_type, typename std::enable_if< std::is_base_of< IBasicWalkFilter< ALLOC >, typename std::decay< WALK_FILTER >::type >::value, int >::type = 0> | |
void | toJsonStream (const T &object, std::ostream &stream, uint8_t indent, WALK_FILTER &&walkFilter, const ALLOC &allocator=ALLOC()) |
template<typename T , typename ALLOC = typename T::allocator_type, typename std::enable_if< is_allocator< ALLOC >::value, int >::type = 0> | |
BasicString< RebindAlloc< ALLOC, char > > | toJsonString (const T &object, const ALLOC &allocator=ALLOC()) |
template<typename T , typename ALLOC = typename T::allocator_type, typename std::enable_if< is_allocator< ALLOC >::value, int >::type = 0> | |
BasicString< RebindAlloc< ALLOC, char > > | toJsonString (const T &object, uint8_t indent, const ALLOC &allocator=ALLOC()) |
template<typename T , typename WALK_FILTER , typename ALLOC = typename T::allocator_type, typename std::enable_if< std::is_base_of< IBasicWalkFilter< ALLOC >, typename std::decay< WALK_FILTER >::type >::value, int >::type = 0> | |
BasicString< RebindAlloc< ALLOC, char > > | toJsonString (const T &object, WALK_FILTER &&walkFilter, const ALLOC &allocator=ALLOC()) |
template<typename T , typename WALK_FILTER , typename ALLOC = typename T::allocator_type, typename std::enable_if< std::is_base_of< IBasicWalkFilter< ALLOC >, typename std::decay< WALK_FILTER >::type >::value, int >::type = 0> | |
BasicString< RebindAlloc< ALLOC, char > > | toJsonString (const T &object, uint8_t indent, WALK_FILTER &&walkFilter, const ALLOC &allocator=ALLOC()) |
template<typename T , typename ALLOC = typename T::allocator_type, typename std::enable_if< is_allocator< ALLOC >::value, int >::type = 0> | |
void | toJsonFile (const T &object, std::string_view fileName, const ALLOC &allocator=ALLOC()) |
template<typename T , typename ALLOC = typename T::allocator_type, typename std::enable_if< is_allocator< ALLOC >::value, int >::type = 0> | |
void | toJsonFile (const T &object, std::string_view fileName, uint8_t indent, const ALLOC &allocator=ALLOC()) |
template<typename T , typename WALK_FILTER , typename ALLOC = typename T::allocator_type, typename std::enable_if< std::is_base_of< IBasicWalkFilter< ALLOC >, typename std::decay< WALK_FILTER >::type >::value, int >::type = 0> | |
void | toJsonFile (const T &object, std::string_view fileName, WALK_FILTER &&walkFilter, const ALLOC &allocator=ALLOC()) |
template<typename T , typename WALK_FILTER , typename ALLOC = typename T::allocator_type, typename std::enable_if< std::is_base_of< IBasicWalkFilter< ALLOC >, typename std::decay< WALK_FILTER >::type >::value, int >::type = 0> | |
void | toJsonFile (const T &object, const BasicString< RebindAlloc< ALLOC, char >> &fileName, uint8_t indent, WALK_FILTER &&walkFilter, const ALLOC &allocator=ALLOC()) |
template<typename ALLOC = std::allocator<uint8_t>> | |
detail::DebugStringTraits< ALLOC >::ReflectableDataPtr | fromJsonStream (const IBasicTypeInfo< ALLOC > &typeInfo, std::istream &is, const ALLOC &allocator=ALLOC()) |
template<typename T , typename ALLOC = typename T::allocator_type> | |
T | fromJsonStream (std::istream &is, const ALLOC &allocator=ALLOC()) |
template<typename ALLOC = std::allocator<uint8_t>> | |
detail::DebugStringTraits< ALLOC >::ReflectableDataPtr | fromJsonString (const IBasicTypeInfo< ALLOC > &typeInfo, const BasicString< RebindAlloc< ALLOC, char >> &json, const ALLOC &allocator=ALLOC()) |
template<typename T , typename ALLOC = typename T::allocator_type> | |
T | fromJsonString (const BasicString< RebindAlloc< ALLOC, char >> &json, const ALLOC &allocator=ALLOC()) |
template<typename ALLOC = std::allocator<uint8_t>> | |
detail::DebugStringTraits< ALLOC >::ReflectableDataPtr | fromJsonFile (const IBasicTypeInfo< ALLOC > &typeInfo, std::string_view fileName, const ALLOC &allocator=ALLOC()) |
template<typename T , typename ALLOC = typename T::allocator_type> | |
T | fromJsonFile (std::string_view fileName, const ALLOC &allocator=ALLOC()) |
template<typename T > | |
size_t | enumToOrdinal (T value) |
template<typename T > | |
T | valueToEnum (typename EnumTraits< T >::ZserioType rawValue) |
template<typename T > | |
constexpr EnumTraits< T >::ZserioType | enumToValue (T value) |
template<typename T > | |
T | stringToEnum (std::string_view itemName) |
template<typename T > | |
std::string_view | enumToString (T value) |
template<typename T > | |
bool | operator== (const Extended< T > &lhs, const Extended< T > &rhs) |
template<typename T > | |
bool | operator!= (const Extended< T > &lhs, const Extended< T > &rhs) |
template<typename T > | |
bool | operator< (const Extended< T > &lhs, const Extended< T > &rhs) |
template<typename T > | |
bool | operator> (const Extended< T > &lhs, const Extended< T > &rhs) |
template<typename T > | |
bool | operator<= (const Extended< T > &lhs, const Extended< T > &rhs) |
template<typename T > | |
bool | operator>= (const Extended< T > &lhs, const Extended< T > &rhs) |
template<typename T > | |
uint32_t | calcHashCode (uint32_t seed, const Extended< T > &extendedValue) |
void | writeBufferToFile (const uint8_t *buffer, size_t bitSize, BitsTag, std::string_view fileName) |
BitBuffer | readBufferFromFile (std::string_view fileName) |
void | writeBufferToFile (const uint8_t *buffer, size_t byteSize, std::string_view fileName) |
template<typename ALLOC > | |
void | writeBufferToFile (const BasicBitBuffer< ALLOC > &bitBuffer, std::string_view fileName) |
float | convertUInt16ToFloat (uint16_t float16Value) |
uint16_t | convertFloatToUInt16 (float float32) |
float | convertUInt32ToFloat (uint32_t float32Value) |
uint32_t | convertFloatToUInt32 (float float32) |
double | convertUInt64ToDouble (uint64_t float64Value) |
uint64_t | convertDoubleToUInt64 (double float64) |
template<typename T > | |
const T & | genericAccessor (const T &value) |
template<typename ALLOC , typename T > | |
const auto & | genericAccessor (const BasicOptional< ALLOC, T > &optionalValue) |
template<typename T > | |
const auto & | genericAccessor (const Extended< T > &extendedValue) |
template<typename T > | |
T & | genericAccessor (T &value) |
template<typename ALLOC , typename T > | |
auto & | genericAccessor (BasicOptional< ALLOC, T > &optionalValue) |
template<typename T > | |
auto & | genericAccessor (Extended< T > &extendedValue) |
uint32_t | calcHashCodeFirstTerm (uint32_t seedValue) |
template<typename T > | |
std::enable_if< std::is_integral< T >::value &&(sizeof(T)<=4), uint32_t >::type | calcHashCode (uint32_t seedValue, T value) |
template<typename T > | |
std::enable_if< std::is_integral< T >::value &&(sizeof(T) > 4), uint32_t >::type | calcHashCode (uint32_t seedValue, T value) |
uint32_t | calcHashCode (uint32_t seedValue, float value) |
uint32_t | calcHashCode (uint32_t seedValue, double value) |
uint32_t | calcHashCode (uint32_t seedValue, Bool value) |
template<BitSize BIT_SIZE, bool IS_SIGNED> | |
uint32_t | calcHashCode (uint32_t seedValue, detail::FixedIntWrapper< BIT_SIZE, IS_SIGNED > value) |
template<typename VALUE_TYPE > | |
uint32_t | calcHashCode (uint32_t seedValue, detail::DynIntWrapper< VALUE_TYPE > value) |
template<typename VALUE_TYPE , detail::VarIntType VAR_TYPE> | |
uint32_t | calcHashCode (uint32_t seedValue, detail::VarIntWrapper< VALUE_TYPE, VAR_TYPE > value) |
template<typename VALUE_TYPE , detail::FloatType FLOAT_TYPE> | |
uint32_t | calcHashCode (uint32_t seedValue, detail::FloatWrapper< VALUE_TYPE, FLOAT_TYPE > value) |
template<typename ALLOC > | |
uint32_t | calcHashCode (uint32_t seedValue, const BasicString< ALLOC > &stringValue) |
uint32_t | calcHashCode (uint32_t seedValue, std::string_view stringValue) |
template<typename T > | |
std::enable_if_t< std::is_enum_v< T >||is_bitmask_v< T >, uint32_t > | calcHashCode (uint32_t seedValue, T value) |
template<typename OBJECT > | |
std::enable_if_t<!std::is_enum_v< OBJECT > &&!is_bitmask_v< OBJECT > &&!std::is_integral_v< OBJECT >, uint32_t > | calcHashCode (uint32_t seedValue, const OBJECT &object) |
uint32_t | calcHashCode (uint32_t seedValue, const BytesView &bytes) |
template<typename ARRAY_ELEMENT , typename ALLOC > | |
uint32_t | calcHashCode (uint32_t seedValue, const Vector< ARRAY_ELEMENT, ALLOC > &array) |
uint32_t | calcHashCode (uint32_t seedValue, std::monostate) |
template<typename ALLOC = std::allocator<uint8_t>> | |
IBasicIntrospectableViewConstPtr< ALLOC > | introspectable (Bool value, const ALLOC &allocator=ALLOC()) |
template<BitSize BIT_SIZE, bool IS_SIGNED, typename ALLOC = std::allocator<uint8_t>> | |
IBasicIntrospectableViewConstPtr< ALLOC > | introspectable (detail::FixedIntWrapper< BIT_SIZE, IS_SIGNED > value, const ALLOC &allocator=ALLOC()) |
template<typename T , typename ALLOC = std::allocator<uint8_t>> | |
IBasicIntrospectableViewConstPtr< ALLOC > | introspectable (const View< detail::DynIntWrapper< T >> &value, const ALLOC &allocator=ALLOC()) |
template<typename ALLOC = std::allocator<uint8_t>> | |
IBasicIntrospectableViewConstPtr< ALLOC > | introspectable (VarInt16 value, const ALLOC &allocator=ALLOC()) |
template<typename ALLOC = std::allocator<uint8_t>> | |
IBasicIntrospectableViewConstPtr< ALLOC > | introspectable (Float16 value, const ALLOC &allocator=ALLOC()) |
template<typename ALLOC = std::allocator<uint8_t>> | |
IBasicIntrospectableViewConstPtr< ALLOC > | introspectable (BytesView value, const ALLOC &allocator=ALLOC()) |
template<typename ALLOC = std::allocator<uint8_t>> | |
IBasicIntrospectableViewConstPtr< ALLOC > | introspectable (std::string_view value, const ALLOC &allocator=ALLOC()) |
template<typename ALLOC = std::allocator<uint8_t>> | |
IBasicIntrospectableViewConstPtr< ALLOC > | introspectable (BasicBitBufferView< ALLOC > value, const ALLOC &allocator=ALLOC()) |
template<typename T , typename TRAITS , typename ALLOC = std::allocator<uint8_t>> | |
IBasicIntrospectableViewConstPtr< ALLOC > | introspectableArray (ArrayView< T, TRAITS > value, const ALLOC &allocator=ALLOC()) |
template<typename T , typename ALLOC = detail::type_info_default_alloc_t<T>> | |
const IBasicTypeInfo< ALLOC > & | typeInfo () |
CppRuntimeException & | operator<< (CppRuntimeException &exception, JsonToken token) |
template<typename ALLOC , typename T > | |
uint32_t | calcHashCode (uint32_t seed, const BasicOptional< ALLOC, T > &opt) |
template<typename T > | |
constexpr auto | make_optional (T &&value) |
template<typename T , typename... ARGS> | |
constexpr Optional< T > | make_optional (ARGS &&... args) |
template<typename A1 , typename T , typename A2 , typename U > | |
constexpr bool | operator== (const BasicOptional< A1, T > &first, const BasicOptional< A2, U > &second) |
template<typename A , typename T > | |
constexpr bool | operator== (const BasicOptional< A, T > &opt, std::nullopt_t) |
template<typename A , typename T > | |
constexpr bool | operator== (std::nullopt_t, const BasicOptional< A, T > &opt) |
template<typename A , typename T , typename U > | |
constexpr bool | operator== (const BasicOptional< A, T > &opt, const U &value) |
template<typename A , typename T , typename U > | |
constexpr bool | operator== (const U &value, const BasicOptional< A, T > &opt) |
template<typename A1 , typename T , typename A2 , typename U > | |
constexpr bool | operator!= (const BasicOptional< A1, T > &first, const BasicOptional< A2, U > &second) |
template<typename A , typename T > | |
constexpr bool | operator!= (const BasicOptional< A, T > &opt, std::nullopt_t) |
template<typename A , typename T > | |
constexpr bool | operator!= (std::nullopt_t, const BasicOptional< A, T > &opt) |
template<typename A , typename T , typename U > | |
constexpr bool | operator!= (const BasicOptional< A, T > &opt, const U &value) |
template<typename A , typename T , typename U > | |
constexpr bool | operator!= (const U &value, const BasicOptional< A, T > &opt) |
template<typename A1 , typename T , typename A2 , typename U > | |
constexpr bool | operator< (const BasicOptional< A1, T > &first, const BasicOptional< A2, U > &second) |
template<typename A , typename T > | |
constexpr bool | operator< (const BasicOptional< A, T > &, std::nullopt_t) |
template<typename A , typename T > | |
constexpr bool | operator< (std::nullopt_t, const BasicOptional< A, T > &opt) |
template<typename A , typename T , typename U > | |
constexpr bool | operator< (const BasicOptional< A, T > &opt, const U &value) |
template<typename A , typename T , typename U > | |
constexpr bool | operator< (const U &value, const BasicOptional< A, T > &opt) |
template<typename A1 , typename T , typename A2 , typename U > | |
constexpr bool | operator> (const BasicOptional< A1, T > &first, const BasicOptional< A2, U > &second) |
template<typename A , typename T > | |
constexpr bool | operator> (const BasicOptional< A, T > &opt, std::nullopt_t) |
template<typename A , typename T > | |
constexpr bool | operator> (std::nullopt_t, const BasicOptional< A, T > &) |
template<typename A , typename T , typename U > | |
constexpr bool | operator> (const BasicOptional< A, T > &opt, const U &value) |
template<typename A , typename T , typename U > | |
constexpr bool | operator> (const U &value, const BasicOptional< A, T > &opt) |
template<typename A1 , typename T , typename A2 , typename U > | |
constexpr bool | operator<= (const BasicOptional< A1, T > &first, const BasicOptional< A2, U > &second) |
template<typename A , typename T > | |
constexpr bool | operator<= (const BasicOptional< A, T > &opt, std::nullopt_t) |
template<typename A , typename T > | |
constexpr bool | operator<= (std::nullopt_t, const BasicOptional< A, T > &opt) |
template<typename A , typename T , typename U > | |
constexpr bool | operator<= (const BasicOptional< A, T > &opt, const U &value) |
template<typename A , typename T , typename U > | |
constexpr bool | operator<= (const U &value, const BasicOptional< A, T > &opt) |
template<typename A1 , typename T , typename A2 , typename U > | |
constexpr bool | operator>= (const BasicOptional< A1, T > &first, const BasicOptional< A2, U > &second) |
template<typename A , typename T > | |
constexpr bool | operator>= (const BasicOptional< A, T > &opt, std::nullopt_t) |
template<typename A , typename T > | |
constexpr bool | operator>= (std::nullopt_t, const BasicOptional< A, T > &opt) |
template<typename A , typename T , typename U > | |
constexpr bool | operator>= (const BasicOptional< A, T > &opt, const U &value) |
template<typename A , typename T , typename U > | |
constexpr bool | operator>= (const U &value, const BasicOptional< A, T > &opt) |
template<typename ALLOC = std::allocator<uint8_t>> | |
IBasicReflectableDataPtr< ALLOC > | reflectable (Bool value, const ALLOC &allocator=ALLOC()) |
template<BitSize BIT_SIZE, bool IS_SIGNED, typename ALLOC = std::allocator<uint8_t>> | |
IBasicReflectableDataPtr< ALLOC > | reflectable (detail::FixedIntWrapper< BIT_SIZE, IS_SIGNED > value, const ALLOC &allocator=ALLOC()) |
template<typename T , typename ALLOC = std::allocator<uint8_t>> | |
IBasicReflectableDataPtr< ALLOC > | reflectable (detail::DynIntWrapper< T > value, const ALLOC &allocator=ALLOC()) |
template<typename ALLOC = std::allocator<uint8_t>> | |
IBasicReflectableDataPtr< ALLOC > | reflectable (VarInt16 value, const ALLOC &allocator=ALLOC()) |
template<typename ALLOC = std::allocator<uint8_t>> | |
IBasicReflectableDataPtr< ALLOC > | reflectable (Float16 value, const ALLOC &allocator=ALLOC()) |
template<typename ALLOC = std::allocator<uint8_t>> | |
IBasicReflectableDataPtr< ALLOC > | reflectable (const BasicBytes< ALLOC > &value, const ALLOC &allocator=ALLOC()) |
template<typename ALLOC = std::allocator<uint8_t>> | |
IBasicReflectableDataPtr< ALLOC > | reflectable (BytesView value, const ALLOC &allocator=ALLOC()) |
template<typename STRING_ALLOC , typename ALLOC = std::allocator<uint8_t>> | |
IBasicReflectableDataPtr< ALLOC > | reflectable (const BasicString< STRING_ALLOC > &value, const ALLOC &allocator=ALLOC()) |
template<typename ALLOC = std::allocator<uint8_t>> | |
IBasicReflectableDataPtr< ALLOC > | reflectable (std::string_view value, const ALLOC &allocator=ALLOC()) |
template<typename ALLOC = std::allocator<uint8_t>> | |
IBasicReflectableDataPtr< ALLOC > | reflectable (BasicBitBuffer< ALLOC > &value, const ALLOC &allocator=ALLOC()) |
template<typename ALLOC = std::allocator<uint8_t>> | |
IBasicReflectableDataConstPtr< ALLOC > | reflectable (const BasicBitBuffer< ALLOC > &value, const ALLOC &allocator=ALLOC()) |
template<typename T , typename VECTOR_ALLOC , typename ALLOC = std::allocator<uint8_t>> | |
IBasicReflectableDataConstPtr< ALLOC > | reflectableArray (const std::vector< T, VECTOR_ALLOC > &array, const ALLOC &allocator=ALLOC()) |
template<typename T , typename VECTOR_ALLOC , typename ALLOC = std::allocator<uint8_t>> | |
IBasicReflectableDataPtr< ALLOC > | reflectableArray (std::vector< T, VECTOR_ALLOC > &array, const ALLOC &allocator=ALLOC()) |
template<typename T , typename ALLOC , typename... ARGS, std::enable_if_t< is_allocator_v< ALLOC >, int > = 0> | |
BasicBitBuffer< ALLOC > | serialize (const T &data, const ALLOC &allocator, ARGS &&... arguments) |
template<typename T , typename ALLOC , typename... ARGS, std::enable_if_t< is_allocator_v< ALLOC >, int > = 0> | |
Vector< uint8_t, ALLOC > | serializeToBytes (const T &data, const ALLOC &allocator, ARGS &&... arguments) |
template<typename T , typename... ARGS, typename std::enable_if_t<!is_first_allocator_v< ARGS... >, int > = 0> | |
BasicBitBuffer< typename T::allocator_type > | serialize (const T &data, ARGS &&... arguments) |
template<typename T , typename... ARGS, typename std::enable_if_t<!is_first_allocator_v< ARGS... >, int > = 0> | |
Vector< uint8_t, typename T::allocator_type > | serializeToBytes (const T &data, ARGS &&... arguments) |
template<typename T , typename ALLOC , typename... ARGS> | |
View< T > | deserialize (const BasicBitBuffer< ALLOC > &buffer, T &data, ARGS &&... arguments) |
template<typename T , typename... ARGS> | |
View< T > | deserializeFromBytes (Span< const uint8_t > buffer, T &data, ARGS &&... arguments) |
template<typename T , typename ALLOC > | |
BasicBitBuffer< ALLOC > | serialize (const View< T > &view, const ALLOC &allocator) |
template<typename T , typename ALLOC > | |
Vector< uint8_t, ALLOC > | serializeToBytes (const View< T > &view, const ALLOC &allocator) |
template<typename T > | |
BasicBitBuffer< typename T::allocator_type > | serialize (const View< T > &view) |
template<typename T > | |
Vector< uint8_t, typename T::allocator_type > | serializeToBytes (const View< T > &view) |
template<typename T , typename ALLOC > | |
BasicBitBuffer< ALLOC > | serialize (const DataView< T > &dataView, const ALLOC &allocator) |
template<typename T , typename ALLOC > | |
Vector< uint8_t, ALLOC > | serializeToBytes (const DataView< T > &dataView, const ALLOC &allocator) |
template<typename T > | |
BasicBitBuffer< typename T::allocator_type > | serialize (const DataView< T > &dataView) |
template<typename T > | |
Vector< uint8_t, typename T::allocator_type > | serializeToBytes (const DataView< T > &dataView) |
template<typename T , typename ALLOC , typename... ARGS> | |
DataView< T > | deserialize (const BasicBitBuffer< ALLOC > &buffer, const typename T::allocator_type &allocator, ARGS &&... arguments) |
template<typename T , typename... ARGS> | |
DataView< T > | deserializeFromBytes (Span< const uint8_t > buffer, const typename T::allocator_type &allocator, ARGS &&... arguments) |
template<typename T , typename ALLOC , typename... ARGS, std::enable_if_t<!is_first_allocator_v< ARGS... >, int > = 0> | |
DataView< T > | deserialize (const BasicBitBuffer< ALLOC > &buffer, ARGS &&... arguments) |
template<typename T , typename... ARGS, std::enable_if_t<!is_first_allocator_v< ARGS... >, int > = 0> | |
DataView< T > | deserializeFromBytes (Span< const uint8_t > buffer, ARGS &&... arguments) |
template<typename T > | |
void | serializeToFile (const View< T > &view, std::string_view fileName) |
template<typename T > | |
void | serializeToFile (const DataView< T > &dataView, std::string_view fileName) |
template<typename T , typename... ARGS> | |
void | serializeToFile (const T &data, std::string_view fileName, ARGS &&... arguments) |
template<typename T , typename... ARGS> | |
View< T > | deserializeFromFile (std::string_view fileName, T &data, ARGS &&... arguments) |
template<typename T , typename... ARGS> | |
DataView< T > | deserializeFromFile (std::string_view fileName, ARGS &&... arguments) |
uint32_t | convertSizeToUInt32 (size_t value) |
size_t | convertUInt64ToSize (uint64_t value) |
CppRuntimeException & | operator<< (CppRuntimeException &exception, SqliteErrorCode code) |
template<typename T , std::enable_if_t< std::is_unsigned_v< T >, int > = 0> | |
const char * | convertIntToString (std::array< char, 24 > &buffer, T value) |
void | convertFloatToString (std::array< char, 24 > &integerPartBuffer, std::array< char, 24 > &floatingPartBuffer, float value, const char *&integerPartString, const char *&floatingPartString) |
const char * | convertBoolToString (bool value) |
template<typename ALLOC , typename T , std::enable_if_t< std::is_integral_v< T >, int > = 0> | |
BasicString< RebindAlloc< ALLOC, char > > | toString (T value, const ALLOC &allocator=ALLOC()) |
template<typename ALLOC > | |
BasicString< RebindAlloc< ALLOC, char > > | toString (bool value, const ALLOC &allocator=ALLOC()) |
template<typename ALLOC > | |
BasicString< RebindAlloc< ALLOC, char > > | toString (std::string_view value, const ALLOC &allocator=ALLOC()) |
template<typename T > | |
BasicString< std::allocator< char > > | toString (T value) |
template<typename T , typename ALLOC , typename... ARGS> | |
constexpr T | constructWithAllocator (const ALLOC &allocator, ARGS &&... args) |
template<typename T , typename ALLOC , typename U , std::enable_if_t< is_numeric_wrapper_v< T >, int > = 0> | |
constexpr T | constructWithAllocator (const ALLOC &, U value) |
template<typename T , std::enable_if_t< is_numeric_wrapper_v< T >, int > = 0> | |
constexpr T | fromCheckedValue (typename T::ValueType value) noexcept(!detail::needs_range_check_v< T >) |
template<typename T , std::enable_if_t< is_numeric_wrapper_v< T >, int > = 0> | |
constexpr T | fromCheckedValue (typename T::ValueType value, BitSize numBits) |
template<typename T , std::enable_if_t< is_numeric_wrapper_v< T >, int > = 0> | |
constexpr T::ValueType | toCheckedValue (T wrapper) noexcept(!detail::needs_range_check_v< T >) |
template<typename T , std::enable_if_t< is_numeric_wrapper_v< T >, int > = 0> | |
constexpr T::ValueType | toCheckedValue (T wrapper, BitSize numBits) |
template<typename VALUE_TYPE > | |
CppRuntimeException & | operator<< (CppRuntimeException &exception, detail::NumericTypeWrapper< VALUE_TYPE > value) |
template<typename T , typename ALLOC , class... Args> | |
UniquePtr< T, RebindAlloc< ALLOC, T > > | allocate_unique (const ALLOC &allocator, Args &&... args) |
template<auto I, typename ALLOC , typename INDEX , typename... T> | |
decltype(auto) | get (BasicVariant< ALLOC, INDEX, T... > &var) |
template<auto I, typename ALLOC , typename INDEX , typename... T> | |
decltype(auto) | get (const BasicVariant< ALLOC, INDEX, T... > &var) |
template<auto I, typename ALLOC , typename INDEX , typename... T> | |
decltype(auto) | get_if (BasicVariant< ALLOC, INDEX, T... > *var) |
template<auto I, typename ALLOC , typename INDEX , typename... T> | |
decltype(auto) | get_if (const BasicVariant< ALLOC, INDEX, T... > *var) |
template<typename F , typename ALLOC , typename INDEX , typename... T> | |
decltype(auto) | visit (F &&fun, BasicVariant< ALLOC, INDEX, T... > &var) |
template<typename F , typename ALLOC , typename INDEX , typename... T> | |
decltype(auto) | visit (F &&fun, const BasicVariant< ALLOC, INDEX, T... > &var) |
template<typename ALLOC , typename INDEX , typename... T> | |
uint32_t | calcHashCode (uint32_t seed, const BasicVariant< ALLOC, INDEX, T... > &var) |
template<typename T , typename... ARGS> | |
View (T, ARGS &&...) -> View< T > | |
template<typename VALUE_TYPE > | |
bool | operator== (const View< detail::DynIntWrapper< VALUE_TYPE >> &lhs, const View< detail::DynIntWrapper< VALUE_TYPE >> &rhs) |
template<typename VALUE_TYPE > | |
bool | operator!= (const View< detail::DynIntWrapper< VALUE_TYPE >> &lhs, const View< detail::DynIntWrapper< VALUE_TYPE >> &rhs) |
template<typename VALUE_TYPE > | |
bool | operator< (const View< detail::DynIntWrapper< VALUE_TYPE >> &lhs, const View< detail::DynIntWrapper< VALUE_TYPE >> &rhs) |
template<typename VALUE_TYPE > | |
bool | operator> (const View< detail::DynIntWrapper< VALUE_TYPE >> &lhs, const View< detail::DynIntWrapper< VALUE_TYPE >> &rhs) |
template<typename VALUE_TYPE > | |
bool | operator<= (const View< detail::DynIntWrapper< VALUE_TYPE >> &lhs, const View< detail::DynIntWrapper< VALUE_TYPE >> &rhs) |
template<typename VALUE_TYPE > | |
bool | operator>= (const View< detail::DynIntWrapper< VALUE_TYPE >> &lhs, const View< detail::DynIntWrapper< VALUE_TYPE >> &rhs) |
CppRuntimeException & | operator<< (CppRuntimeException &exception, detail::CreatorState state) |
template<typename ALLOC > | |
bool | operator== (const BasicBitBufferView< ALLOC > &lhs, const BasicBitBufferView< ALLOC > &rhs) |
template<typename ALLOC > | |
bool | operator!= (const BasicBitBufferView< ALLOC > &lhs, const BasicBitBufferView< ALLOC > &rhs) |
template<typename ALLOC > | |
bool | operator< (const BasicBitBufferView< ALLOC > &lhs, const BasicBitBufferView< ALLOC > &rhs) |
template<typename ALLOC > | |
bool | operator> (const BasicBitBufferView< ALLOC > &lhs, const BasicBitBufferView< ALLOC > &rhs) |
template<typename ALLOC > | |
bool | operator<= (const BasicBitBufferView< ALLOC > &lhs, const BasicBitBufferView< ALLOC > &rhs) |
template<typename ALLOC > | |
bool | operator>= (const BasicBitBufferView< ALLOC > &lhs, const BasicBitBufferView< ALLOC > &rhs) |
template<typename T , typename ALLOC = typename T::allocator_type> | |
IBasicIntrospectableViewConstPtr< ALLOC > | introspectable (const View< T > &view, const ALLOC &allocator=ALLOC()) |
template<typename T , typename ALLOC = std::allocator<uint8_t>, std::enable_if_t< std::is_enum_v< T >||is_bitmask_v< T >, int > = 0> | |
IBasicIntrospectableViewConstPtr< ALLOC > | introspectable (T value, const ALLOC &allocator=ALLOC()) |
template<typename T , typename ALLOC = typename T::allocator_type, std::enable_if_t< is_complete_v< View< T >> &&has_allocator_v< std::decay_t< T >>, int > = 0> | |
IBasicReflectableDataConstPtr< ALLOC > | reflectable (const T &value, const ALLOC &allocator=ALLOC()) |
template<typename T , typename ALLOC = typename T::allocator_type, std::enable_if_t< is_complete_v< View< T >> &&has_allocator_v< std::decay_t< T >>, int > = 0> | |
IBasicReflectableDataPtr< ALLOC > | reflectable (T &value, const ALLOC &allocator=ALLOC()) |
template<typename T , typename ALLOC = std::allocator<uint8_t>, std::enable_if_t<(std::is_enum_v< T >||is_bitmask_v< T >) &&!has_allocator_v< std::decay_t< T >>, int > = 0> | |
IBasicReflectableDataPtr< ALLOC > | reflectable (T value, const ALLOC &allocator=ALLOC()) |
Variables | |
constexpr std::size_t | dynamic_extent = std::numeric_limits<std::size_t>::max() |
template<typename T , typename V = void> | |
constexpr bool | is_numeric_wrapper_v = is_numeric_wrapper<T, V>::value |
template<typename T , typename V = void> | |
constexpr bool | is_dyn_int_wrapper_v = is_dyn_int_wrapper<T, V>::value |
template<auto I> | |
constexpr in_place_index_t< I > | in_place_index {} |
template<typename T > | |
constexpr bool | is_allocator_v = is_allocator<T>::value |
template<typename... ARGS> | |
constexpr bool | is_first_allocator_v = is_first_allocator<ARGS...>::value |
template<typename T , typename V = void> | |
constexpr bool | has_allocator_v = has_allocator<T, V>::value |
template<typename T , typename V = void> | |
constexpr bool | is_bitmask_v = is_bitmask<T, V>::value |
template<typename T > | |
constexpr bool | is_span_v = is_span<T>::value |
template<typename T > | |
constexpr bool | is_complete_v = is_complete<T>::value |
using zserio::AndWalkFilter = typedef BasicAndWalkFilter<> |
using zserio::Any = typedef BasicAny<> |
using zserio::ArrayLengthWalkFilter = typedef BasicArrayLengthWalkFilter<> |
using zserio::BasicBitBufferView = typedef std::reference_wrapper<const BasicBitBuffer<ALLOC> > |
BitBufferView which is just a reference_wrapper for simplicity.
Definition at line 492 of file BitBuffer.h.
using zserio::BasicBytes = typedef std::vector<uint8_t, ALLOC> |
using zserio::BasicString = typedef std::basic_string<char, std::char_traits<char>, ALLOC> |
using zserio::BitBuffer = typedef BasicBitBuffer<> |
Typedef to BitBuffer provided for convenience - using std::allocator<uint8_t>.
Definition at line 488 of file BitBuffer.h.
using zserio::BitBufferView = typedef std::reference_wrapper<const BitBuffer> |
Typedef to BitBufferView provided for convenience - using std::allocator<uint8_t>.
Definition at line 495 of file BitBuffer.h.
using zserio::BitSize = typedef unsigned int |
using zserio::Bool = typedef detail::BoolWrapper |
using zserio::Bytes = typedef BasicBytes<> |
using zserio::BytesView = typedef Span<const uint8_t> |
using zserio::CaseInfo = typedef BasicCaseInfo<> |
Typedef provided for convenience - using default std::allocator<uint8_t>.
Definition at line 679 of file ITypeInfo.h.
using zserio::ColumnInfo = typedef BasicColumnInfo<> |
Typedef provided for convenience - using default std::allocator<uint8_t>.
Definition at line 680 of file ITypeInfo.h.
using zserio::DefaultWalkFilter = typedef BasicDefaultWalkFilter<> |
using zserio::DefaultWalkObserver = typedef BasicDefaultWalkObserver<> |
using zserio::DepthWalkFilter = typedef BasicDepthWalkFilter<> |
using zserio::DynInt16 = typedef detail::DynIntWrapper<int16_t> |
using zserio::DynInt32 = typedef detail::DynIntWrapper<int32_t> |
using zserio::DynInt64 = typedef detail::DynIntWrapper<int64_t> |
using zserio::DynInt8 = typedef detail::DynIntWrapper<int8_t> |
using zserio::DynUInt16 = typedef detail::DynIntWrapper<uint16_t> |
using zserio::DynUInt32 = typedef detail::DynIntWrapper<uint32_t> |
using zserio::DynUInt64 = typedef detail::DynIntWrapper<uint64_t> |
using zserio::DynUInt8 = typedef detail::DynIntWrapper<uint8_t> |
using zserio::FieldInfo = typedef BasicFieldInfo<> |
Typedef provided for convenience - using default std::allocator<uint8_t>.
Definition at line 676 of file ITypeInfo.h.
using zserio::Float16 = typedef detail::FloatWrapper<float, detail::FloatType::FLOAT16> |
using zserio::Float32 = typedef detail::FloatWrapper<float, detail::FloatType::FLOAT32> |
using zserio::Float64 = typedef detail::FloatWrapper<double, detail::FloatType::FLOAT64> |
using zserio::FunctionInfo = typedef BasicFunctionInfo<> |
Typedef provided for convenience - using default std::allocator<uint8_t>.
Definition at line 678 of file ITypeInfo.h.
using zserio::generic_accessor_t = typedef typename detail::generic_accessor<T>::type |
Definition at line 38 of file GenericAccessor.h.
using zserio::IBasicIntrospectableViewConstPtr = typedef typename IBasicIntrospectableView<ALLOC>::ConstPtr |
Typedef to introspectable smart pointer needed for convenience in generated code.
Definition at line 77 of file IIntrospectableView.h.
using zserio::IBasicReflectableDataConstPtr = typedef typename IBasicReflectableData<ALLOC>::ConstPtr |
Typedef to reflectable smart pointer needed for convenience in generated code.
Definition at line 185 of file IReflectableData.h.
using zserio::IBasicReflectableDataPtr = typedef typename IBasicReflectableData<ALLOC>::Ptr |
Typedef to reflectable smart pointer needed for convenience in generated code.
Definition at line 182 of file IReflectableData.h.
using zserio::IBasicServiceDataPtr = typedef std::shared_ptr<IBasicServiceData<ALLOC> > |
Typedef to service data smart pointer needed for convenience in generated code.
Definition at line 45 of file IService.h.
using zserio::IIntrospectableView = typedef IBasicIntrospectableView<> |
Typedef to introspectable interface provided for convenience - using default std::allocator<uint8_t>.
Definition at line 81 of file IIntrospectableView.h.
using zserio::IIntrospectableViewConstPtr = typedef IBasicIntrospectableViewConstPtr<> |
Typedef to introspectable interface provided for convenience - using default std::allocator<uint8_t>.
Definition at line 82 of file IIntrospectableView.h.
using zserio::Int = typedef detail::FixedIntWrapper<BIT_SIZE, true> |
using zserio::Int1 = typedef detail::FixedIntWrapper<1, true> |
using zserio::Int10 = typedef detail::FixedIntWrapper<10, true> |
using zserio::Int11 = typedef detail::FixedIntWrapper<11, true> |
using zserio::Int12 = typedef detail::FixedIntWrapper<12, true> |
using zserio::Int13 = typedef detail::FixedIntWrapper<13, true> |
using zserio::Int14 = typedef detail::FixedIntWrapper<14, true> |
using zserio::Int15 = typedef detail::FixedIntWrapper<15, true> |
using zserio::Int16 = typedef detail::FixedIntWrapper<16, true> |
using zserio::Int17 = typedef detail::FixedIntWrapper<17, true> |
using zserio::Int18 = typedef detail::FixedIntWrapper<18, true> |
using zserio::Int19 = typedef detail::FixedIntWrapper<19, true> |
using zserio::Int2 = typedef detail::FixedIntWrapper<2, true> |
using zserio::Int20 = typedef detail::FixedIntWrapper<20, true> |
using zserio::Int21 = typedef detail::FixedIntWrapper<21, true> |
using zserio::Int22 = typedef detail::FixedIntWrapper<22, true> |
using zserio::Int23 = typedef detail::FixedIntWrapper<23, true> |
using zserio::Int24 = typedef detail::FixedIntWrapper<24, true> |
using zserio::Int25 = typedef detail::FixedIntWrapper<25, true> |
using zserio::Int26 = typedef detail::FixedIntWrapper<26, true> |
using zserio::Int27 = typedef detail::FixedIntWrapper<27, true> |
using zserio::Int28 = typedef detail::FixedIntWrapper<28, true> |
using zserio::Int29 = typedef detail::FixedIntWrapper<29, true> |
using zserio::Int3 = typedef detail::FixedIntWrapper<3, true> |
using zserio::Int30 = typedef detail::FixedIntWrapper<30, true> |
using zserio::Int31 = typedef detail::FixedIntWrapper<31, true> |
using zserio::Int32 = typedef detail::FixedIntWrapper<32, true> |
using zserio::Int33 = typedef detail::FixedIntWrapper<33, true> |
using zserio::Int34 = typedef detail::FixedIntWrapper<34, true> |
using zserio::Int35 = typedef detail::FixedIntWrapper<35, true> |
using zserio::Int36 = typedef detail::FixedIntWrapper<36, true> |
using zserio::Int37 = typedef detail::FixedIntWrapper<37, true> |
using zserio::Int38 = typedef detail::FixedIntWrapper<38, true> |
using zserio::Int39 = typedef detail::FixedIntWrapper<39, true> |
using zserio::Int4 = typedef detail::FixedIntWrapper<4, true> |
using zserio::Int40 = typedef detail::FixedIntWrapper<40, true> |
using zserio::Int41 = typedef detail::FixedIntWrapper<41, true> |
using zserio::Int42 = typedef detail::FixedIntWrapper<42, true> |
using zserio::Int43 = typedef detail::FixedIntWrapper<43, true> |
using zserio::Int44 = typedef detail::FixedIntWrapper<44, true> |
using zserio::Int45 = typedef detail::FixedIntWrapper<45, true> |
using zserio::Int46 = typedef detail::FixedIntWrapper<46, true> |
using zserio::Int47 = typedef detail::FixedIntWrapper<47, true> |
using zserio::Int48 = typedef detail::FixedIntWrapper<48, true> |
using zserio::Int49 = typedef detail::FixedIntWrapper<49, true> |
using zserio::Int5 = typedef detail::FixedIntWrapper<5, true> |
using zserio::Int50 = typedef detail::FixedIntWrapper<50, true> |
using zserio::Int51 = typedef detail::FixedIntWrapper<51, true> |
using zserio::Int52 = typedef detail::FixedIntWrapper<52, true> |
using zserio::Int53 = typedef detail::FixedIntWrapper<53, true> |
using zserio::Int54 = typedef detail::FixedIntWrapper<54, true> |
using zserio::Int55 = typedef detail::FixedIntWrapper<55, true> |
using zserio::Int56 = typedef detail::FixedIntWrapper<56, true> |
using zserio::Int57 = typedef detail::FixedIntWrapper<57, true> |
using zserio::Int58 = typedef detail::FixedIntWrapper<58, true> |
using zserio::Int59 = typedef detail::FixedIntWrapper<59, true> |
using zserio::Int6 = typedef detail::FixedIntWrapper<6, true> |
using zserio::Int60 = typedef detail::FixedIntWrapper<60, true> |
using zserio::Int61 = typedef detail::FixedIntWrapper<61, true> |
using zserio::Int62 = typedef detail::FixedIntWrapper<62, true> |
using zserio::Int63 = typedef detail::FixedIntWrapper<63, true> |
using zserio::Int64 = typedef detail::FixedIntWrapper<64, true> |
using zserio::Int7 = typedef detail::FixedIntWrapper<7, true> |
using zserio::Int8 = typedef detail::FixedIntWrapper<8, true> |
using zserio::Int9 = typedef detail::FixedIntWrapper<9, true> |
using zserio::IntrospectableServiceData = typedef BasicIntrospectableServiceData<ZSERIO_OBJECT> |
Typedef to service data implementation provided for convenience - using default std::allocator<uint8_t>.
Definition at line 257 of file IService.h.
using zserio::IReflectableData = typedef IBasicReflectableData<> |
Typedef to reflectable interface provided for convenience - using default std::allocator<uint8_t>.
Definition at line 190 of file IReflectableData.h.
using zserio::IReflectableDataConstPtr = typedef IBasicReflectableDataConstPtr<> |
Typedef to reflectable interface provided for convenience - using default std::allocator<uint8_t>.
Definition at line 192 of file IReflectableData.h.
using zserio::IReflectableDataPtr = typedef IBasicReflectableDataPtr<> |
Typedef to reflectable interface provided for convenience - using default std::allocator<uint8_t>.
Definition at line 191 of file IReflectableData.h.
using zserio::IService = typedef IBasicService<> |
Typedef to service interface provided for convenience - using default std::allocator<uint8_t>.
Definition at line 250 of file IService.h.
using zserio::IServiceClient = typedef IBasicServiceClient<> |
Typedef to service interface provided for convenience - using default std::allocator<uint8_t>.
Definition at line 251 of file IService.h.
using zserio::IServiceData = typedef IBasicServiceData<> |
Typedef to service interface provided for convenience - using default std::allocator<uint8_t>.
Definition at line 248 of file IService.h.
using zserio::IServiceDataPtr = typedef IBasicServiceDataPtr<> |
Typedef to service interface provided for convenience - using default std::allocator<uint8_t>.
Definition at line 249 of file IService.h.
using zserio::ITypeInfo = typedef IBasicTypeInfo<> |
Typedef provided for convenience - using default std::allocator<uint8_t>.
Definition at line 675 of file ITypeInfo.h.
using zserio::IWalkFilter = typedef IBasicWalkFilter<> |
Typedefs to walk filter interface provided for convenience - using default std::allocator<uint8_t>.
Definition at line 104 of file IWalkFilter.h.
using zserio::IWalkObserver = typedef IBasicWalkObserver<> |
Typedefs to walk observer interface provided for convenience - using default std::allocator<uint8_t>.
Definition at line 92 of file IWalkObserver.h.
using zserio::JsonParser = typedef BasicJsonParser<> |
Typedef to Json Parser provided for convenience - using default std::allocator<uint8_t>.
Definition at line 359 of file JsonParser.h.
using zserio::JsonReader = typedef BasicJsonReader<> |
Typedef to Json Reader provided for convenience - using default std::allocator<uint8_t>.
Definition at line 244 of file JsonReader.h.
using zserio::JsonWriter = typedef BasicJsonWriter<> |
Typedef to JsonWriter provided for convenience - using default std::allocator<uint8_t>.
Definition at line 189 of file JsonWriter.h.
using zserio::MessageInfo = typedef BasicMessageInfo<> |
Typedef provided for convenience - using default std::allocator<uint8_t>.
Definition at line 683 of file ITypeInfo.h.
using zserio::MethodInfo = typedef BasicMethodInfo<> |
Typedef provided for convenience - using default std::allocator<uint8_t>.
Definition at line 684 of file ITypeInfo.h.
using zserio::ObjectServiceData = typedef BasicObjectServiceData<> |
Typedef to service data implementation provided for convenience - using default std::allocator<uint8_t>.
Definition at line 258 of file IService.h.
using zserio::offset_field_reference_t = typedef typename offset_field_reference<T, V>::type |
using zserio::Optional = typedef BasicOptional<std::allocator<uint8_t>, T> |
Definition at line 713 of file Optional.h.
using zserio::ParameterInfo = typedef BasicParameterInfo<> |
Typedef provided for convenience - using default std::allocator<uint8_t>.
Definition at line 677 of file ITypeInfo.h.
using zserio::RawServiceDataHolder = typedef BasicRawServiceDataHolder<> |
Typedef to service data implementation provided for convenience - using default std::allocator<uint8_t>.
Definition at line 259 of file IService.h.
using zserio::RawServiceDataView = typedef BasicRawServiceDataView<> |
Typedef to service data implementation provided for convenience - using default std::allocator<uint8_t>.
Definition at line 260 of file IService.h.
using zserio::RebindAlloc = typedef typename std::allocator_traits<ALLOC>::template rebind_alloc<T> |
Definition at line 10 of file RebindAlloc.h.
using zserio::RegexWalkFilter = typedef BasicRegexWalkFilter<> |
using zserio::String = typedef BasicString<std::allocator<char> > |
using zserio::TableInfo = typedef BasicTableInfo<> |
Typedef provided for convenience - using default std::allocator<uint8_t>.
Definition at line 681 of file ITypeInfo.h.
using zserio::TemplateArgumentInfo = typedef BasicTemplateArgumentInfo<> |
Typedef provided for convenience - using default std::allocator<uint8_t>.
Definition at line 682 of file ITypeInfo.h.
using zserio::UInt = typedef detail::FixedIntWrapper<BIT_SIZE, false> |
using zserio::UInt1 = typedef detail::FixedIntWrapper<1, false> |
using zserio::UInt10 = typedef detail::FixedIntWrapper<10, false> |
using zserio::UInt11 = typedef detail::FixedIntWrapper<11, false> |
using zserio::UInt12 = typedef detail::FixedIntWrapper<12, false> |
using zserio::UInt13 = typedef detail::FixedIntWrapper<13, false> |
using zserio::UInt14 = typedef detail::FixedIntWrapper<14, false> |
using zserio::UInt15 = typedef detail::FixedIntWrapper<15, false> |
using zserio::UInt16 = typedef detail::FixedIntWrapper<16, false> |
using zserio::UInt17 = typedef detail::FixedIntWrapper<17, false> |
using zserio::UInt18 = typedef detail::FixedIntWrapper<18, false> |
using zserio::UInt19 = typedef detail::FixedIntWrapper<19, false> |
using zserio::UInt2 = typedef detail::FixedIntWrapper<2, false> |
using zserio::UInt20 = typedef detail::FixedIntWrapper<20, false> |
using zserio::UInt21 = typedef detail::FixedIntWrapper<21, false> |
using zserio::UInt22 = typedef detail::FixedIntWrapper<22, false> |
using zserio::UInt23 = typedef detail::FixedIntWrapper<23, false> |
using zserio::UInt24 = typedef detail::FixedIntWrapper<24, false> |
using zserio::UInt25 = typedef detail::FixedIntWrapper<25, false> |
using zserio::UInt26 = typedef detail::FixedIntWrapper<26, false> |
using zserio::UInt27 = typedef detail::FixedIntWrapper<27, false> |
using zserio::UInt28 = typedef detail::FixedIntWrapper<28, false> |
using zserio::UInt29 = typedef detail::FixedIntWrapper<29, false> |
using zserio::UInt3 = typedef detail::FixedIntWrapper<3, false> |
using zserio::UInt30 = typedef detail::FixedIntWrapper<30, false> |
using zserio::UInt31 = typedef detail::FixedIntWrapper<31, false> |
using zserio::UInt32 = typedef detail::FixedIntWrapper<32, false> |
using zserio::UInt33 = typedef detail::FixedIntWrapper<33, false> |
using zserio::UInt34 = typedef detail::FixedIntWrapper<34, false> |
using zserio::UInt35 = typedef detail::FixedIntWrapper<35, false> |
using zserio::UInt36 = typedef detail::FixedIntWrapper<36, false> |
using zserio::UInt37 = typedef detail::FixedIntWrapper<37, false> |
using zserio::UInt38 = typedef detail::FixedIntWrapper<38, false> |
using zserio::UInt39 = typedef detail::FixedIntWrapper<39, false> |
using zserio::UInt4 = typedef detail::FixedIntWrapper<4, false> |
using zserio::UInt40 = typedef detail::FixedIntWrapper<40, false> |
using zserio::UInt41 = typedef detail::FixedIntWrapper<41, false> |
using zserio::UInt42 = typedef detail::FixedIntWrapper<42, false> |
using zserio::UInt43 = typedef detail::FixedIntWrapper<43, false> |
using zserio::UInt44 = typedef detail::FixedIntWrapper<44, false> |
using zserio::UInt45 = typedef detail::FixedIntWrapper<45, false> |
using zserio::UInt46 = typedef detail::FixedIntWrapper<46, false> |
using zserio::UInt47 = typedef detail::FixedIntWrapper<47, false> |
using zserio::UInt48 = typedef detail::FixedIntWrapper<48, false> |
using zserio::UInt49 = typedef detail::FixedIntWrapper<49, false> |
using zserio::UInt5 = typedef detail::FixedIntWrapper<5, false> |
using zserio::UInt50 = typedef detail::FixedIntWrapper<50, false> |
using zserio::UInt51 = typedef detail::FixedIntWrapper<51, false> |
using zserio::UInt52 = typedef detail::FixedIntWrapper<52, false> |
using zserio::UInt53 = typedef detail::FixedIntWrapper<53, false> |
using zserio::UInt54 = typedef detail::FixedIntWrapper<54, false> |
using zserio::UInt55 = typedef detail::FixedIntWrapper<55, false> |
using zserio::UInt56 = typedef detail::FixedIntWrapper<56, false> |
using zserio::UInt57 = typedef detail::FixedIntWrapper<57, false> |
using zserio::UInt58 = typedef detail::FixedIntWrapper<58, false> |
using zserio::UInt59 = typedef detail::FixedIntWrapper<59, false> |
using zserio::UInt6 = typedef detail::FixedIntWrapper<6, false> |
using zserio::UInt60 = typedef detail::FixedIntWrapper<60, false> |
using zserio::UInt61 = typedef detail::FixedIntWrapper<61, false> |
using zserio::UInt62 = typedef detail::FixedIntWrapper<62, false> |
using zserio::UInt63 = typedef detail::FixedIntWrapper<63, false> |
using zserio::UInt64 = typedef detail::FixedIntWrapper<64, false> |
using zserio::UInt7 = typedef detail::FixedIntWrapper<7, false> |
using zserio::UInt8 = typedef detail::FixedIntWrapper<8, false> |
using zserio::UInt9 = typedef detail::FixedIntWrapper<9, false> |
using zserio::UniquePtr = typedef std::unique_ptr<T, detail::UniquePtrDeleter<ALLOC> > |
Typedef to std::unique_ptr provided for convenience - using std::allocator.
Uses custom deleter to ensure proper deallocation.
Definition at line 76 of file UniquePtr.h.
using zserio::Variant = typedef BasicVariant<std::allocator<uint8_t>, INDEX, T...> |
using zserio::VarInt = typedef detail::VarIntWrapper<int64_t, detail::VarIntType::VAR> |
using zserio::VarInt16 = typedef detail::VarIntWrapper<int16_t, detail::VarIntType::VAR16> |
using zserio::VarInt32 = typedef detail::VarIntWrapper<int32_t, detail::VarIntType::VAR32> |
using zserio::VarInt64 = typedef detail::VarIntWrapper<int64_t, detail::VarIntType::VAR64> |
using zserio::VarSize = typedef detail::VarIntWrapper<uint32_t, detail::VarIntType::VARSIZE> |
using zserio::VarUInt = typedef detail::VarIntWrapper<uint64_t, detail::VarIntType::VAR> |
using zserio::VarUInt16 = typedef detail::VarIntWrapper<uint16_t, detail::VarIntType::VAR16> |
using zserio::VarUInt32 = typedef detail::VarIntWrapper<uint32_t, detail::VarIntType::VAR32> |
using zserio::VarUInt64 = typedef detail::VarIntWrapper<uint64_t, detail::VarIntType::VAR64> |
using zserio::Vector = typedef std::vector<T, ALLOC> |
using zserio::view_type_t = typedef typename view_type<T, V>::type |
using zserio::Walker = typedef BasicWalker<> |
using zserio::ZserioTreeCreator = typedef BasicZserioTreeCreator<std::allocator<uint8_t> > |
Typedef provided for convenience - using default std::allocator<uint8_t>.
Definition at line 565 of file ZserioTreeCreator.h.
|
strong |
Enumeration which specifies C++ type used in type information.
Enumerator | |
---|---|
BOOL | C++ bool type |
INT8 | C++ int8_t type |
INT16 | C++ int16_t type |
INT32 | C++ int32_t type |
INT64 | C++ int64_t type |
UINT8 | C++ uint8_t type |
UINT16 | C++ uint16_t type |
UINT32 | C++ uint32_t type |
UINT64 | C++ uint64_t type |
FLOAT | C++ float type |
DOUBLE | C++ double type |
BYTES | C++ bytes type (mapped as std::vector<uint8_t>) |
STRING | C++ string type |
BIT_BUFFER | C++ zserio::BitBuffer type |
ENUM | C++ enumeration generated from zserio enumeration type |
BITMASK | C++ object generated from zserio bitmask type |
STRUCT | C++ object generated from zserio structure type |
CHOICE | C++ object generated from zserio choice type |
UNION | C++ object generated from zserio union type |
SQL_TABLE | C++ object generated from zserio SQL table type |
SQL_DATABASE | C++ object generated from zserio SQL database type |
SERVICE | C++ object generated from zserio service type |
PUBSUB | C++ object generated from zserio pubsub type |
Definition at line 14 of file ITypeInfo.h.
|
strong |
Tokens used by Json Tokenizer.
Enumerator | |
---|---|
UNKNOWN | |
BEGIN_OF_FILE | |
END_OF_FILE | |
BEGIN_OBJECT | |
END_OBJECT | |
BEGIN_ARRAY | |
END_ARRAY | |
KEY_SEPARATOR | |
ITEM_SEPARATOR | |
VALUE |
Definition at line 20 of file JsonTokenizer.h.
|
strong |
Enumeration which specifies zserio type used in type information.
Definition at line 44 of file ITypeInfo.h.
Aligns the bit size to the given alignment value.
alignmentValue | Value to align. |
bitPosition | Current bit position where to apply alignment. |
Definition at line 19 of file BitPositionUtil.h.
UniquePtr<T, RebindAlloc<ALLOC, T> > zserio::allocate_unique | ( | const ALLOC & | allocator, |
Args &&... | args | ||
) |
Allocates memory for an object of type T using given allocator and constructs it passing args to its constructor.
allocator | Allocator to use. |
args | List of elements passed to T's constructor. |
Definition at line 88 of file UniquePtr.h.
uint32_t zserio::calcHashCode | ( | uint32_t | seed, |
const BasicOptional< ALLOC, T > & | opt | ||
) |
Calculates Optional hash code from given seed.
seed | Initial hash value. |
opt | Optional to calculate the hash from. |
Definition at line 724 of file Optional.h.
uint32_t zserio::calcHashCode | ( | uint32_t | seed, |
const BasicVariant< ALLOC, INDEX, T... > & | var | ||
) |
uint32_t zserio::calcHashCode | ( | uint32_t | seed, |
const Extended< T > & | extendedValue | ||
) |
Calculates Optional hash code from given seed.
seed | Initial hash value. |
var | Optional to calculate the hash from. |
Definition at line 226 of file Extended.h.
|
inline |
Calculates hash code of the given bool wrapper value using the given seed value.
seedValue | Seed value (current hash code). |
value | Value for which to calculate the hash code. |
Definition at line 102 of file HashCodeUtil.h.
uint32_t zserio::calcHashCode | ( | uint32_t | seedValue, |
const ArrayView< T, ARRAY_TRAITS > & | array | ||
) |
Definition at line 860 of file ArrayView.h.
uint32_t zserio::calcHashCode | ( | uint32_t | seedValue, |
const BasicBitBuffer< ALLOC > & | value | ||
) |
Calculates hash code of the given BitBuffer value using the given seed value.
seedValue | Seed value (current hash code). |
value | Value for which to calculate the hash code. |
Definition at line 567 of file BitBuffer.h.
|
inline |
Calculates hash code of the given string value using the given seed value.
seedValue | Seed value (current hash code). |
stringValue | Value for which to calculate the hash code. |
Definition at line 175 of file HashCodeUtil.h.
|
inline |
Calculates hash code of the given BytesView type using the given seed value.
seedValue | Seed value (current hash code). |
array | Array for which to calculate the hash code. |
Definition at line 245 of file HashCodeUtil.h.
|
inline |
Calculates hash code of the given Zserio object (structure, choice, ...) using the given seed value.
seedValue | Seed value (current hash code). |
object | Object for which to calculate the hash code. |
Definition at line 231 of file HashCodeUtil.h.
|
inline |
Calculates hash code of the given Zserio array using the given seed value.
seedValue | Seed value (current hash code). |
array | Array for which to calculate the hash code. |
Definition at line 265 of file HashCodeUtil.h.
|
inline |
Calculates hash code of the given dynamic int wrapper value using the given seed value.
seedValue | Seed value (current hash code). |
value | Value for which to calculate the hash code. |
Definition at line 131 of file HashCodeUtil.h.
|
inline |
Calculates hash code of the given int wrapper value using the given seed value.
seedValue | Seed value (current hash code). |
value | Value for which to calculate the hash code. |
Definition at line 116 of file HashCodeUtil.h.
|
inline |
Calculates hash code of the given floating-point wrapper value using the given seed value.
seedValue | Seed value (current hash code). |
value | Value for which to calculate the hash code. |
Definition at line 159 of file HashCodeUtil.h.
|
inline |
Calculates hash code of the given variable int wrapper value using the given seed value.
seedValue | Seed value (current hash code). |
value | Value for which to calculate the hash code. |
Definition at line 145 of file HashCodeUtil.h.
|
inline |
Calculates hash code of the given double value using the given seed value.
seedValue | Seed value (current hash code). |
value | Value for which to calculate the hash code. |
Definition at line 89 of file HashCodeUtil.h.
|
inline |
Calculates hash code of the given float value using the given seed value.
seedValue | Seed value (current hash code). |
value | Value for which to calculate the hash code. |
Definition at line 76 of file HashCodeUtil.h.
|
inline |
Calculates the hash code of std::monostate which is often used in variants so the hash code is not implementation defined.
seedValue | Seed value (current hash code) |
Definition at line 284 of file HashCodeUtil.h.
|
inline |
Calculates hash code of the given string value using the given seed value.
seedValue | Seed value (current hash code). |
stringValue | Value for which to calculate the hash code. |
Definition at line 194 of file HashCodeUtil.h.
|
inline |
Calculates hash code of the given integral value using the given seed value.
seedValue | Seed value (current hash code). |
value | Value for which to calculate the hash code. |
Definition at line 46 of file HashCodeUtil.h.
|
inline |
Calculates hash code of the given integral value using the given seed value.
seedValue | Seed value (current hash code). |
value | Value for which to calculate the hash code. |
Definition at line 61 of file HashCodeUtil.h.
|
inline |
Calculates hash code of the given enum item or bitmask value using the given seed value.
seedValue | Seed value (current hash code). |
value | Enum item or bitmask value for which to calculate the hash code. |
Definition at line 214 of file HashCodeUtil.h.
|
inline |
Gets initial hash code calculated from the given seed value.
seedValue | Seed value (current hash code). |
Definition at line 32 of file HashCodeUtil.h.
|
constexpr |
|
constexpr |
Helper function to construct object of generic type T with allocator argument if supported. When the type T is not constructible with allocator, the allocator argument is ignored.
allocator | Allocator to use if constructor with an allocator exists. |
args | Other arguments to constructor. |
|
inline |
Converts bool value to boolalpha C-string ("true" or "false").
value | Value to convert. |
Definition at line 151 of file StringConvertUtil.h.
uint64_t zserio::convertDoubleToUInt64 | ( | double | float64 | ) |
Converts 64-bit float (double) to 64-bit float (double) stored in uint64_t value.
float64 | Double precision float to convert. |
Definition at line 193 of file FloatUtil.cpp.
|
inline |
Converts float to string and writes the result to the given buffer.
Note that only five three digits after point are used and that the buffers are filled from behind.
integerPartBuffer | Buffer to fill with the string representation of the integer part. |
floatingPartBuffer | Buffer to fill with the string representation of the floating part. |
value | Value to convert. |
floatingPartString | Reference where to fill pointer to the beginning of the floating part in string. |
integerPartString | Reference where to fill pointer to the beginning of the integer part in string. |
Definition at line 119 of file StringConvertUtil.h.
uint16_t zserio::convertFloatToUInt16 | ( | float | float32 | ) |
Converts 32-bit float to 16-bit float stored in uint16_t value.
float32 | Single precision float to convert. |
Definition at line 83 of file FloatUtil.cpp.
uint32_t zserio::convertFloatToUInt32 | ( | float | float32 | ) |
Converts 32-bit float to 32-bit float stored in uint32_t value.
float32 | Single precision float to convert. |
Definition at line 177 of file FloatUtil.cpp.
const char * zserio::convertIntToString | ( | std::array< char, 24 > & | buffer, |
T | value | ||
) |
Converts unsigned integral value to string and writes the result to the given buffer.
Note that the buffer is filled from behind.
buffer | Buffer to fill with the string representation of the given value. |
value | Value to convert. |
Converts signed integral value to string and writes the result to the given buffer.
Note that the buffer is filled from behind.
buffer | Buffer to fill with the string representation of the given value. |
value | Value to convert. |
Definition at line 79 of file StringConvertUtil.h.
uint32_t zserio::convertSizeToUInt32 | ( | size_t | value | ) |
Converts size (array size, string size or bit buffer size) of type size_t to uint32_t value.
value | Size of type size_t to convert. |
CppRuntimeException | when input value is not convertible to uint32_t value. |
Definition at line 11 of file SizeConvertUtil.cpp.
float zserio::convertUInt16ToFloat | ( | uint16_t | float16Value | ) |
Converts 16-bit float stored in uint16_t value to 32-bit float.
float16Value | Half precision float value stored in uint16_t to convert. |
Definition at line 32 of file FloatUtil.cpp.
float zserio::convertUInt32ToFloat | ( | uint32_t | float32Value | ) |
Converts 32-bit float stored in uint32_t value to 32-bit float.
float32Value | Single precision float value stored in uint32_t to convert. |
Definition at line 169 of file FloatUtil.cpp.
double zserio::convertUInt64ToDouble | ( | uint64_t | float64Value | ) |
Converts 64-bit float (double) stored in uint64_t value to 64-bit float (double).
float64Value | Double precision float value stored in uint64_t to convert. |
Definition at line 185 of file FloatUtil.cpp.
size_t zserio::convertUInt64ToSize | ( | uint64_t | value | ) |
Converts uint64_t value to size (array size, string size of bit buffer size).
value | uint64_t value to convert. |
CppRuntimeException | when input value is not convertible to size_t value. |
Definition at line 24 of file SizeConvertUtil.cpp.
zserio::DataView | ( | T | , |
ARGS && | ... | ||
) | -> DataView< T > |
DataView<T> zserio::deserialize | ( | const BasicBitBuffer< ALLOC > & | buffer, |
ARGS &&... | arguments | ||
) |
Deserializes bit buffer to DataView.
The memory for deserialization is allocated using new allocator of the type defined by the Zserio object.
Example:
bitBuffer | Bit buffer to use. |
arguments | All parameters in case of Zserio parameterized type. |
CppRuntimeException | When deserialization fails. |
Definition at line 551 of file SerializeUtil.h.
DataView<T> zserio::deserialize | ( | const BasicBitBuffer< ALLOC > & | buffer, |
const typename T::allocator_type & | allocator, | ||
ARGS &&... | arguments | ||
) |
Deserializes bit buffer to DataView using given allocator.
Example:
bitBuffer | Bit buffer to use. |
allocator | Allocator to use to allocate data for DataView. |
arguments | All parameters in case of Zserio parameterized type. |
CppRuntimeException | When deserialization fails. |
Definition at line 489 of file SerializeUtil.h.
View<T> zserio::deserialize | ( | const BasicBitBuffer< ALLOC > & | buffer, |
T & | data, | ||
ARGS &&... | arguments | ||
) |
Deserializes bit buffer to instance of generated object.
Example:
buffer | Bit buffer to use. |
data | Data of Zserio object to fill. |
arguments | All parameters in case of Zserio parameterized type. |
CppRuntimeException | When deserialization fails. |
Definition at line 175 of file SerializeUtil.h.
DataView<T> zserio::deserializeFromBytes | ( | Span< const uint8_t > | buffer, |
ARGS &&... | arguments | ||
) |
Deserializes byte buffer to DataView.
Example:
buffer | Byte buffer to use. |
arguments | All parameters in case of Zserio parameterized type. |
CppRuntimeException | When deserialization fails. |
Definition at line 575 of file SerializeUtil.h.
DataView<T> zserio::deserializeFromBytes | ( | Span< const uint8_t > | buffer, |
const typename T::allocator_type & | allocator, | ||
ARGS &&... | arguments | ||
) |
Deserializes byte buffer to DataView using given allocator.
Example:
buffer | Byte buffer to use. |
allocator | Allocator to use to allocate data for DataView. |
arguments | All parameters in case of Zserio parameterized type. |
CppRuntimeException | When deserialization fails. |
Definition at line 520 of file SerializeUtil.h.
View<T> zserio::deserializeFromBytes | ( | Span< const uint8_t > | buffer, |
T & | data, | ||
ARGS &&... | arguments | ||
) |
Deserializes byte buffer to instance of generated object.
Example:
buffer | Byte buffer to use. |
data | Data of Zserio object to fill. |
arguments | All parameters in case of Zserio parameterized type. |
CppRuntimeException | When deserialization fails. |
Definition at line 203 of file SerializeUtil.h.
DataView<T> zserio::deserializeFromFile | ( | std::string_view | fileName, |
ARGS &&... | arguments | ||
) |
Deserializes given file contents to DataView with Zserio object.
Example:
fileName | File to use. |
arguments | All parameters in case of Zserio parameterized type. |
CppRuntimeException | When deserialization fails. |
Definition at line 704 of file SerializeUtil.h.
View<T> zserio::deserializeFromFile | ( | std::string_view | fileName, |
T & | data, | ||
ARGS &&... | arguments | ||
) |
Deserializes given file contents to instance of Zserio object.
Example:
fileName | File to use. |
arguments | All parameters in case of Zserio parameterized type. |
CppRuntimeException | When deserialization fails. |
Definition at line 675 of file SerializeUtil.h.
size_t zserio::enumToOrdinal | ( | T | value | ) |
Gets ordinal number of the given enum item.
value | Enum item. |
std::string_view zserio::enumToString | ( | T | value | ) |
|
constexpr |
|
constexprnoexcept |
Utility to safely construct zserio numeric type wrapper from its underlying value with range checking.
value | Underlying value to convert to the type wrapper. |
OutOfRangeException | when the underlying value is out of range of the zserio numeric type. |
|
constexpr |
Utility to safely construct zserio numeric type wrapper from its underlying value with range checking.
Overload for dynamic length types wrappers.
value | Underlying value to convert to the type wrapper. |
numBits | Number of bits as a length of a dynamic length numeric type. |
OutOfRangeException | when the underlying value is out of range of the zserio numeric type. |
detail::DebugStringTraits<ALLOC>::ReflectableDataPtr zserio::fromJsonFile | ( | const IBasicTypeInfo< ALLOC > & | typeInfo, |
std::string_view | fileName, | ||
const ALLOC & | allocator = ALLOC() |
||
) |
Parses JSON debug string from given text file and creates instance of the requested zserio object according to the data contained in the debug string.
Example:
typeInfo | Type info of the generated zserio object to create. |
fileName | Name of file to read. |
allocator | Allocator to use. |
CppRuntimeException | In case of any error. |
Definition at line 582 of file DebugStringUtil.h.
T zserio::fromJsonFile | ( | std::string_view | fileName, |
const ALLOC & | allocator = ALLOC() |
||
) |
Parses JSON debug string from given text file and creates instance of the requested zserio object according to the data contained in the debug string.
Example:
fileName | Name of file to read. |
allocator | Allocator to use. |
CppRuntimeException | In case of any error. |
Definition at line 618 of file DebugStringUtil.h.
detail::DebugStringTraits<ALLOC>::ReflectableDataPtr zserio::fromJsonStream | ( | const IBasicTypeInfo< ALLOC > & | typeInfo, |
std::istream & | is, | ||
const ALLOC & | allocator = ALLOC() |
||
) |
Parses JSON debug string from given text stream and creates instance of the requested zserio object according to the data contained in the debug string.
Example:
typeInfo | Type info of the generated zserio object to create. |
is | Text stream to use. |
allocator | Allocator to use. |
CppRuntimeException | In case of any error. |
Definition at line 458 of file DebugStringUtil.h.
T zserio::fromJsonStream | ( | std::istream & | is, |
const ALLOC & | allocator = ALLOC() |
||
) |
Parses JSON debug string from given text stream and creates instance of the requested zserio object according to the data contained in the debug string.
Example:
is | Text stream to use. |
allocator | Allocator to use. |
CppRuntimeException | In case of any error. |
Definition at line 490 of file DebugStringUtil.h.
T zserio::fromJsonString | ( | const BasicString< RebindAlloc< ALLOC, char >> & | json, |
const ALLOC & | allocator = ALLOC() |
||
) |
Parses JSON debug string from given JSON string and creates instance of the requested zserio object according to the data contained in the debug string.
Example:
json | String to use. |
allocator | Allocator to use. |
CppRuntimeException | In case of any error. |
Definition at line 553 of file DebugStringUtil.h.
detail::DebugStringTraits<ALLOC>::ReflectableDataPtr zserio::fromJsonString | ( | const IBasicTypeInfo< ALLOC > & | typeInfo, |
const BasicString< RebindAlloc< ALLOC, char >> & | json, | ||
const ALLOC & | allocator = ALLOC() |
||
) |
Parses JSON debug string from given JSON string and creates instance of the requested zserio object according to the data contained in the debug string.
Example:
typeInfo | Type info of the generated zserio object to create. |
json | String to use. |
allocator | Allocator to use. |
CppRuntimeException | In case of any error. |
Definition at line 520 of file DebugStringUtil.h.
auto& zserio::genericAccessor | ( | BasicOptional< ALLOC, T > & | optionalValue | ) |
Definition at line 65 of file GenericAccessor.h.
const auto& zserio::genericAccessor | ( | const BasicOptional< ALLOC, T > & | optionalValue | ) |
Definition at line 47 of file GenericAccessor.h.
const auto& zserio::genericAccessor | ( | const Extended< T > & | extendedValue | ) |
Definition at line 53 of file GenericAccessor.h.
const T& zserio::genericAccessor | ( | const T & | value | ) |
Definition at line 41 of file GenericAccessor.h.
auto& zserio::genericAccessor | ( | Extended< T > & | extendedValue | ) |
Definition at line 71 of file GenericAccessor.h.
T& zserio::genericAccessor | ( | T & | value | ) |
Definition at line 59 of file GenericAccessor.h.
decltype(auto) zserio::get | ( | BasicVariant< ALLOC, INDEX, T... > & | var | ) |
Gets value of an element at given index.
var | Variant to be accessed. |
CppRuntimeException | if the requested type doesn't match to the stored value. |
decltype(auto) zserio::get | ( | const BasicVariant< ALLOC, INDEX, T... > & | var | ) |
Gets value of an element at given index.
var | Variant to be accessed. |
CppRuntimeException | if the requested type doesn't match to the stored value. |
decltype(auto) zserio::get_if | ( | BasicVariant< ALLOC, INDEX, T... > * | var | ) |
decltype(auto) zserio::get_if | ( | const BasicVariant< ALLOC, INDEX, T... > * | var | ) |
int64_t zserio::getBitFieldLowerBound | ( | size_t | length, |
bool | isSigned | ||
) |
Calculates lower bound for the given bit field.
length | Length of the bit field. |
isSigned | Whether the bit field is signed. |
Definition at line 15 of file BitFieldUtil.cpp.
uint64_t zserio::getBitFieldUpperBound | ( | size_t | length, |
bool | isSigned | ||
) |
Calculates lower bound for the given bit field.
length | Length of the bit field. |
isSigned | Whether the bit field is signed. |
Definition at line 29 of file BitFieldUtil.cpp.
IBasicIntrospectableViewConstPtr<ALLOC> zserio::introspectable | ( | BasicBitBufferView< ALLOC > | value, |
const ALLOC & | allocator = ALLOC() |
||
) |
Definition at line 868 of file IntrospectableView.h.
IBasicIntrospectableViewConstPtr<ALLOC> zserio::introspectable | ( | Bool | value, |
const ALLOC & | allocator = ALLOC() |
||
) |
Definition at line 685 of file IntrospectableView.h.
IBasicIntrospectableViewConstPtr<ALLOC> zserio::introspectable | ( | BytesView | value, |
const ALLOC & | allocator = ALLOC() |
||
) |
Definition at line 856 of file IntrospectableView.h.
IBasicIntrospectableViewConstPtr<ALLOC> zserio::introspectable | ( | const View< detail::DynIntWrapper< T >> & | value, |
const ALLOC & | allocator = ALLOC() |
||
) |
Definition at line 738 of file IntrospectableView.h.
IBasicIntrospectableViewConstPtr<ALLOC> zserio::introspectable | ( | const View< T > & | view, |
const ALLOC & | allocator = ALLOC() |
||
) |
Gets reflectable for the given object.
value | Object value to reflect. |
allocator | Allocator to use for reflectable allocation. |
Definition at line 103 of file IIntrospectableView.h.
IBasicIntrospectableViewConstPtr<ALLOC> zserio::introspectable | ( | detail::FixedIntWrapper< BIT_SIZE, IS_SIGNED > | value, |
const ALLOC & | allocator = ALLOC() |
||
) |
Definition at line 691 of file IntrospectableView.h.
IBasicIntrospectableViewConstPtr< ALLOC > zserio::introspectable | ( | Float16 | value, |
const ALLOC & | allocator = ALLOC() |
||
) |
Definition at line 838 of file IntrospectableView.h.
IBasicIntrospectableViewConstPtr<ALLOC> zserio::introspectable | ( | std::string_view | value, |
const ALLOC & | allocator = ALLOC() |
||
) |
Definition at line 862 of file IntrospectableView.h.
IBasicIntrospectableViewConstPtr<ALLOC> zserio::introspectable | ( | T | value, |
const ALLOC & | allocator = ALLOC() |
||
) |
Gets reflectable for the given object.
value | Object value to reflect. |
allocator | Allocator to use for reflectable allocation. |
Definition at line 110 of file IIntrospectableView.h.
IBasicIntrospectableViewConstPtr< ALLOC > zserio::introspectable | ( | VarInt16 | value, |
const ALLOC & | allocator = ALLOC() |
||
) |
Definition at line 784 of file IntrospectableView.h.
IBasicIntrospectableViewConstPtr<ALLOC> zserio::introspectableArray | ( | ArrayView< T, TRAITS > | value, |
const ALLOC & | allocator = ALLOC() |
||
) |
Definition at line 1157 of file IntrospectableView.h.
|
constexpr |
Calls Optional<T> constructor with arguments for T.
args | Variadic arguments for T construction. |
Definition at line 755 of file Optional.h.
|
constexpr |
Calls Optional constructor with value.
value | Value to copy. |
Definition at line 742 of file Optional.h.
bool zserio::operator!= | ( | const BasicBitBufferView< ALLOC > & | lhs, |
const BasicBitBufferView< ALLOC > & | rhs | ||
) |
Comparison operator for BitBufferView.
Definition at line 513 of file BitBuffer.h.
|
constexpr |
Optional inequality test with value.
opt | The optional to compare. |
value | Value to compare. |
Definition at line 881 of file Optional.h.
|
constexpr |
Optional inequality test with nullopt.
opt | The optional to compare. |
Definition at line 854 of file Optional.h.
|
constexpr |
Optional inequality test.
first | First optional to compare. |
second | Second optional to compare. |
Definition at line 841 of file Optional.h.
bool zserio::operator!= | ( | const Extended< T > & | lhs, |
const Extended< T > & | rhs | ||
) |
Definition at line 180 of file Extended.h.
|
constexpr |
Optional inequality test with value.
opt | The optional to compare. |
value | Value to compare. |
Definition at line 895 of file Optional.h.
|
constexpr |
Optional inequality test with nullopt.
opt | The optional to compare. |
Definition at line 867 of file Optional.h.
bool zserio::operator< | ( | const BasicBitBufferView< ALLOC > & | lhs, |
const BasicBitBufferView< ALLOC > & | rhs | ||
) |
Comparison operator for BitBufferView.
Definition at line 519 of file BitBuffer.h.
|
constexpr |
Optional less-than test with nullopt.
opt | The optional to compare. |
Definition at line 926 of file Optional.h.
|
constexpr |
Optional less-than test with value.
opt | The optional to compare. |
value | Value to compare. |
Definition at line 953 of file Optional.h.
|
constexpr |
Optional less-than test.
first | First optional to compare. |
second | Second optional to compare. |
Definition at line 909 of file Optional.h.
bool zserio::operator< | ( | const Extended< T > & | lhs, |
const Extended< T > & | rhs | ||
) |
Definition at line 186 of file Extended.h.
|
constexpr |
Optional less-than test with value.
opt | The optional to compare. |
value | Value to compare. |
Definition at line 967 of file Optional.h.
|
constexpr |
Optional less-than test with nullopt.
opt | The optional to compare. |
Definition at line 939 of file Optional.h.
detail::CppRuntimeExceptionRValueInsertion<CPP_RUNTIME_EXCEPTION, T> zserio::operator<< | ( | CPP_RUNTIME_EXCEPTION && | exception, |
const T & | value | ||
) |
Appends any value for which operator<< is implemented to the exception's description.
Overload for rvalue to enable operator<< on a temporary object, .e.g. CppRuntimeException() << "value". Moreover note that this overload preserves the concrete type of the exception!
exception | Exception to modify. |
value | Value to append. |
Definition at line 159 of file CppRuntimeException.h.
CppRuntimeException & zserio::operator<< | ( | CppRuntimeException & | exception, |
bool | value | ||
) |
Appends a bool value to the exception's description.
exception | Exception to modify. |
value | Bool value to append. |
Definition at line 50 of file CppRuntimeException.cpp.
CppRuntimeException& zserio::operator<< | ( | CppRuntimeException & | exception, |
const BasicBitBuffer< ALLOC > & | bitBuffer | ||
) |
Allows to append BitBuffer to CppRuntimeException.
exception | Exception to modify. |
bitBuffer | Bit buffer value. |
Definition at line 553 of file BitBuffer.h.
CppRuntimeException & zserio::operator<< | ( | CppRuntimeException & | exception, |
const char * | message | ||
) |
Appends a message to the exception's description.
exception | Exception to modify. |
message | Description of the error to append. |
Definition at line 44 of file CppRuntimeException.cpp.
CppRuntimeException& zserio::operator<< | ( | CppRuntimeException & | exception, |
const std::basic_string< char, std::char_traits< char >, ALLOC > & | value | ||
) |
Appends a string value to the exception's description.
exception | Exception to modify. |
value | String value to append. |
Definition at line 143 of file CppRuntimeException.h.
CppRuntimeException& zserio::operator<< | ( | CppRuntimeException & | exception, |
const std::vector< T, ALLOC > & | value | ||
) |
Appends a vector value to the exception's description.
exception | Exception to modify. |
value | Vector value to append. |
Definition at line 159 of file CppRuntimeException.h.
CppRuntimeException & zserio::operator<< | ( | CppRuntimeException & | exception, |
detail::CreatorState | state | ||
) |
Allows to append detail::CreatorState to CppRuntimeException.
exception | Exception to modify. |
state | Creator state to append. |
Definition at line 6 of file ZserioTreeCreator.cpp.
CppRuntimeException& zserio::operator<< | ( | CppRuntimeException & | exception, |
detail::NumericTypeWrapper< VALUE_TYPE > | value | ||
) |
Allows to append NumericTypeWrapper to CppRuntimeException.
exception | Exception to modify. |
bitBuffer | Bit buffer value. |
CppRuntimeException & zserio::operator<< | ( | CppRuntimeException & | exception, |
double | value | ||
) |
Appends a double value to the exception's description.
exception | Exception to modify. |
value | Double value to append. |
Definition at line 71 of file CppRuntimeException.cpp.
CppRuntimeException & zserio::operator<< | ( | CppRuntimeException & | exception, |
float | value | ||
) |
Appends a float value to the exception's description.
exception | Exception to modify. |
value | Float value to append. |
Definition at line 55 of file CppRuntimeException.cpp.
CppRuntimeException & zserio::operator<< | ( | CppRuntimeException & | exception, |
JsonToken | token | ||
) |
Allows to append JsonToken to CppRuntimeException.
exception | Exception to modify. |
token | JSON Token to append. |
Definition at line 6 of file JsonTokenizer.cpp.
|
inline |
Allow to append SqliteErrorCode to CppRuntimeException.
exception | Exception to modify. |
code | SQLite error code. |
Definition at line 52 of file SqliteException.h.
CppRuntimeException & zserio::operator<< | ( | CppRuntimeException & | exception, |
std::string_view | value | ||
) |
Appends a string_view to the exception's description.
exception | Exception to modify. |
value | String view to append. |
Definition at line 76 of file CppRuntimeException.cpp.
CppRuntimeException & zserio::operator<< | ( | CppRuntimeException & | exception, |
T | value | ||
) |
Appends any bitmask value to the exception's description.
exception | Exception to modify. |
value | Bitmask value to append. |
Appends an integral value to the exception's description.
exception | Exception to modify. |
value | Integral value to append. |
Appends any enumeration value to the exception's description.
exception | Exception to modify. |
value | Enumeration value to append. |
Definition at line 82 of file Bitmasks.h.
bool zserio::operator<= | ( | const BasicBitBufferView< ALLOC > & | lhs, |
const BasicBitBufferView< ALLOC > & | rhs | ||
) |
Comparison operator for BitBufferView.
Definition at line 531 of file BitBuffer.h.
|
constexpr |
Optional less-or-equal test with value.
opt | The optional to compare. |
value | Value to compare. |
Definition at line 1093 of file Optional.h.
|
constexpr |
Optional less-or-equal test with nullopt.
opt | The optional to compare. |
Definition at line 1066 of file Optional.h.
|
constexpr |
Optional less-or-equal test.
first | First optional to compare. |
second | Second optional to compare. |
Definition at line 1053 of file Optional.h.
bool zserio::operator<= | ( | const Extended< T > & | lhs, |
const Extended< T > & | rhs | ||
) |
Definition at line 206 of file Extended.h.
|
constexpr |
Optional less-or-equal test with value.
opt | The optional to compare. |
value | Value to compare. |
Definition at line 1107 of file Optional.h.
|
constexpr |
Optional less-or-equal test with nullopt.
opt | The optional to compare. |
Definition at line 1079 of file Optional.h.
bool zserio::operator== | ( | const BasicBitBufferView< ALLOC > & | lhs, |
const BasicBitBufferView< ALLOC > & | rhs | ||
) |
Comparison operator for BitBufferView.
Definition at line 507 of file BitBuffer.h.
|
constexpr |
Optional equality test with value.
opt | The optional to compare. |
value | Value to compare. |
Definition at line 813 of file Optional.h.
|
constexpr |
Optional equality test with nullopt.
opt | The optional to compare. |
Definition at line 786 of file Optional.h.
|
constexpr |
Optional equality test.
first | First optional to compare. |
second | Second optional to compare. |
Definition at line 769 of file Optional.h.
bool zserio::operator== | ( | const Extended< T > & | lhs, |
const Extended< T > & | rhs | ||
) |
Definition at line 170 of file Extended.h.
|
constexpr |
Optional equality test with value.
opt | The optional to compare. |
value | Value to compare. |
Definition at line 827 of file Optional.h.
|
constexpr |
Optional equality test with nullopt.
opt | The optional to compare. |
Definition at line 799 of file Optional.h.
bool zserio::operator> | ( | const BasicBitBufferView< ALLOC > & | lhs, |
const BasicBitBufferView< ALLOC > & | rhs | ||
) |
Comparison operator for BitBufferView.
Definition at line 525 of file BitBuffer.h.
|
constexpr |
Optional greater-than test with value.
opt | The optional to compare. |
value | Value to compare. |
Definition at line 1025 of file Optional.h.
|
constexpr |
Optional greater-than test with nullopt.
opt | The optional to compare. |
Definition at line 998 of file Optional.h.
|
constexpr |
Optional greater-than test.
first | First optional to compare. |
second | Second optional to compare. |
Definition at line 981 of file Optional.h.
bool zserio::operator> | ( | const Extended< T > & | lhs, |
const Extended< T > & | rhs | ||
) |
Definition at line 196 of file Extended.h.
|
constexpr |
Optional greater-than test with value.
opt | The optional to compare. |
value | Value to compare. |
Definition at line 1039 of file Optional.h.
|
constexpr |
Optional greater-than test with nullopt.
opt | The optional to compare. |
Definition at line 1011 of file Optional.h.
bool zserio::operator>= | ( | const BasicBitBufferView< ALLOC > & | lhs, |
const BasicBitBufferView< ALLOC > & | rhs | ||
) |
Comparison operator for BitBufferView.
Definition at line 537 of file BitBuffer.h.
|
constexpr |
Optional greater-or-equal test with value.
opt | The optional to compare. |
value | Value to compare. |
Definition at line 1161 of file Optional.h.
|
constexpr |
Optional greater-or-equal test with nullopt.
opt | The optional to compare. |
Definition at line 1134 of file Optional.h.
|
constexpr |
Optional greater-or-equal test.
first | First optional to compare. |
second | Second optional to compare. |
Definition at line 1121 of file Optional.h.
bool zserio::operator>= | ( | const Extended< T > & | lhs, |
const Extended< T > & | rhs | ||
) |
Definition at line 212 of file Extended.h.
|
constexpr |
Optional greater-or-equal test with value.
opt | The optional to compare. |
value | Value to compare. |
Definition at line 1175 of file Optional.h.
|
constexpr |
Optional greater-or-equal test with nullopt.
opt | The optional to compare. |
Definition at line 1147 of file Optional.h.
BitBuffer zserio::readBufferFromFile | ( | std::string_view | fileName | ) |
Read file to bit buffer object.
fileName | File to read. |
CppRuntimeException | When reading fails. |
Definition at line 25 of file FileUtil.cpp.
IBasicReflectableDataPtr<ALLOC> zserio::reflectable | ( | BasicBitBuffer< ALLOC > & | value, |
const ALLOC & | allocator = ALLOC() |
||
) |
Definition at line 817 of file ReflectableData.h.
IBasicReflectableDataPtr<ALLOC> zserio::reflectable | ( | Bool | value, |
const ALLOC & | allocator = ALLOC() |
||
) |
Definition at line 622 of file ReflectableData.h.
IBasicReflectableDataPtr<ALLOC> zserio::reflectable | ( | BytesView | value, |
const ALLOC & | allocator = ALLOC() |
||
) |
Definition at line 798 of file ReflectableData.h.
IBasicReflectableDataConstPtr<ALLOC> zserio::reflectable | ( | const BasicBitBuffer< ALLOC > & | value, |
const ALLOC & | allocator = ALLOC() |
||
) |
Definition at line 823 of file ReflectableData.h.
IBasicReflectableDataPtr<ALLOC> zserio::reflectable | ( | const BasicBytes< ALLOC > & | value, |
const ALLOC & | allocator = ALLOC() |
||
) |
Definition at line 792 of file ReflectableData.h.
IBasicReflectableDataPtr<ALLOC> zserio::reflectable | ( | const BasicString< STRING_ALLOC > & | value, |
const ALLOC & | allocator = ALLOC() |
||
) |
Definition at line 804 of file ReflectableData.h.
IBasicReflectableDataConstPtr<ALLOC> zserio::reflectable | ( | const T & | value, |
const ALLOC & | allocator = ALLOC() |
||
) |
Gets reflectable for the given object.
value | Object value to reflect. |
allocator | Allocator to use for reflectable allocation. |
Definition at line 214 of file IReflectableData.h.
IBasicReflectableDataPtr<ALLOC> zserio::reflectable | ( | detail::DynIntWrapper< T > | value, |
const ALLOC & | allocator = ALLOC() |
||
) |
Definition at line 675 of file ReflectableData.h.
IBasicReflectableDataPtr<ALLOC> zserio::reflectable | ( | detail::FixedIntWrapper< BIT_SIZE, IS_SIGNED > | value, |
const ALLOC & | allocator = ALLOC() |
||
) |
Definition at line 628 of file ReflectableData.h.
IBasicReflectableDataPtr< ALLOC > zserio::reflectable | ( | Float16 | value, |
const ALLOC & | allocator = ALLOC() |
||
) |
Definition at line 774 of file ReflectableData.h.
IBasicReflectableDataPtr<ALLOC> zserio::reflectable | ( | std::string_view | value, |
const ALLOC & | allocator = ALLOC() |
||
) |
Definition at line 811 of file ReflectableData.h.
IBasicReflectableDataPtr<ALLOC> zserio::reflectable | ( | T & | value, |
const ALLOC & | allocator = ALLOC() |
||
) |
Gets reflectable for the given object.
value | Object value to reflect. |
allocator | Allocator to use for reflectable allocation. |
Definition at line 221 of file IReflectableData.h.
IBasicReflectableDataPtr<ALLOC> zserio::reflectable | ( | T | value, |
const ALLOC & | allocator = ALLOC() |
||
) |
Gets reflectable for the given object.
value | Object value to reflect. |
allocator | Allocator to use for reflectable allocation. |
Definition at line 228 of file IReflectableData.h.
IBasicReflectableDataPtr< ALLOC > zserio::reflectable | ( | VarInt16 | value, |
const ALLOC & | allocator = ALLOC() |
||
) |
Definition at line 720 of file ReflectableData.h.
IBasicReflectableDataConstPtr<ALLOC> zserio::reflectableArray | ( | const std::vector< T, VECTOR_ALLOC > & | array, |
const ALLOC & | allocator = ALLOC() |
||
) |
Definition at line 1563 of file ReflectableData.h.
IBasicReflectableDataPtr<ALLOC> zserio::reflectableArray | ( | std::vector< T, VECTOR_ALLOC > & | array, |
const ALLOC & | allocator = ALLOC() |
||
) |
Definition at line 1571 of file ReflectableData.h.
BasicBitBuffer<typename T::allocator_type> zserio::serialize | ( | const DataView< T > & | dataView | ) |
Serializes Zserio object using DataView to bit buffer.
The memory for serialization is allocated using new allocator of the type defined by the Zserio object.
Note that it doesn't need to call validate since the data view in already consistent.
Example:
view | View of Zserio object to serialize. |
CppRuntimeException | When serialization fails. |
Definition at line 435 of file SerializeUtil.h.
BasicBitBuffer<ALLOC> zserio::serialize | ( | const DataView< T > & | dataView, |
const ALLOC & | allocator | ||
) |
Serializes Zserio object using DataView to bit buffer using given allocator.
Note that it doesn't need to call validate since the data view in already consistent.
Example:
dataView | DataView with Zserio object to serialize. |
allocator | Allocator to use to allocate bit buffer. |
CppRuntimeException | When validation or serialization fails. |
Definition at line 365 of file SerializeUtil.h.
BasicBitBuffer<typename T::allocator_type> zserio::serialize | ( | const T & | data, |
ARGS &&... | arguments | ||
) |
Serializes Zserio object using Data to bit buffer.
The memory for serialization is allocated using new allocator of the type defined by the Zserio object.
Before serialization, the method properly calls initializeOffsets()
and validate()
method on the given Zserio object.
Example:
data | Data of Zserio object to serialize. |
arguments | All parameters in case of Zserio parameterized type. |
CppRuntimeException | When serialization fails. |
Definition at line 118 of file SerializeUtil.h.
BasicBitBuffer<ALLOC> zserio::serialize | ( | const T & | data, |
const ALLOC & | allocator, | ||
ARGS &&... | arguments | ||
) |
Serializes Zserio object using Data to bit buffer using given allocator.
Before serialization, the method properly calls initializeOffsets()
and validate()
method on the given Zserio object.
Example:
data | Data of Zserio object to serialize. |
allocator | Allocator to use to allocate bit buffer. |
arguments | All parameters in case of Zserio parameterized type. |
CppRuntimeException | When serialization fails. |
Definition at line 53 of file SerializeUtil.h.
BasicBitBuffer<typename T::allocator_type> zserio::serialize | ( | const View< T > & | view | ) |
Serializes Zserio object using View to bit buffer.
The memory for serialization is allocated using new allocator of the type defined by the Zserio object.
Before serialization, the method properly calls initializeOffsets()
and validate()
method on the given Zserio object.
Example:
view | View of Zserio object to serialize. |
CppRuntimeException | When serialization fails. |
Definition at line 308 of file SerializeUtil.h.
BasicBitBuffer<ALLOC> zserio::serialize | ( | const View< T > & | view, |
const ALLOC & | allocator | ||
) |
Serializes Zserio object using View to bit buffer using given allocator.
Before serialization, the method properly calls initializeOffsets()
and validate()
method on the given Zserio object.
Example:
view | View of Zserio object to serialize. |
allocator | Allocator to use to allocate bit buffer. |
CppRuntimeException | When validation or serialization fails. |
Definition at line 236 of file SerializeUtil.h.
Vector<uint8_t, typename T::allocator_type> zserio::serializeToBytes | ( | const DataView< T > & | dataView | ) |
Serializes Zserio object using DataView to vector of bytes.
Before serialization, the method properly calls initializeOffsets()
and validate()
method on the given Zserio object.
Example:
dataView | DataView with Zserio object to serialize. |
CppRuntimeException | When serialization fails. |
Definition at line 462 of file SerializeUtil.h.
Vector<uint8_t, ALLOC> zserio::serializeToBytes | ( | const DataView< T > & | dataView, |
const ALLOC & | allocator | ||
) |
Serializes Zserio object using DataView to vector of bytes using given allocator.
Before serialization, the method properly calls initializeOffsets()
and validate()
method on the given Zserio object.
Example:
dataView | DataView with Zserio object to serialize. |
allocator | Allocator to use to allocate vector. |
CppRuntimeException | When serialization fails. |
Definition at line 401 of file SerializeUtil.h.
Vector<uint8_t, typename T::allocator_type> zserio::serializeToBytes | ( | const T & | data, |
ARGS &&... | arguments | ||
) |
Serializes Zserio object using Data to vector of bytes.
Before serialization, the method properly calls initializeOffsets()
and validate()
method on the given Zserio object.
Example:
object | Generated object to serialize. |
arguments | All parameters in case of Zserio parameterized type. |
CppRuntimeException | When serialization fails. |
Definition at line 149 of file SerializeUtil.h.
Vector<uint8_t, ALLOC> zserio::serializeToBytes | ( | const T & | data, |
const ALLOC & | allocator, | ||
ARGS &&... | arguments | ||
) |
Serializes Zserio object using Data to vector of bytes using given allocator.
Before serialization, the method properly calls initializeOffsets()
and validate()
method on the given Zserio object.
Example:
object | Generated object to serialize. |
allocator | Allocator to use to allocate vector. |
arguments | All parameters in case of Zserio parameterized type. |
CppRuntimeException | When serialization fails. |
Definition at line 87 of file SerializeUtil.h.
Vector<uint8_t, typename T::allocator_type> zserio::serializeToBytes | ( | const View< T > & | view | ) |
Serializes Zserio object using View to vector of bytes.
Before serialization, the method properly calls initializeOffsets()
and validate()
method on the given Zserio object.
Example:
object | Generated object to serialize. |
CppRuntimeException | When serialization fails. |
Definition at line 335 of file SerializeUtil.h.
Vector<uint8_t, ALLOC> zserio::serializeToBytes | ( | const View< T > & | view, |
const ALLOC & | allocator | ||
) |
Serializes Zserio object using View to vector of bytes using given allocator.
Before serialization, the method properly calls initializeOffsets()
and validate()
method on the given Zserio object.
Example:
object | Generated object to serialize. |
allocator | Allocator to use to allocate vector. |
CppRuntimeException | When serialization fails. |
Definition at line 273 of file SerializeUtil.h.
void zserio::serializeToFile | ( | const DataView< T > & | dataView, |
std::string_view | fileName | ||
) |
Serializes Zserio object using DataView to the file.
Example:
dataView | DataView with Zserio object to serialize. |
fileName | File name to write. |
CppRuntimeException | When serialization fails. |
Definition at line 622 of file SerializeUtil.h.
void zserio::serializeToFile | ( | const T & | data, |
std::string_view | fileName, | ||
ARGS &&... | arguments | ||
) |
Serializes Zserio object using Data to the file.
Example:
data | Data of Zserio object to serialize. |
fileName | File name to write. |
arguments | All parameters in case of Zserio parameterized type. |
CppRuntimeException | When serialization fails. |
Definition at line 646 of file SerializeUtil.h.
void zserio::serializeToFile | ( | const View< T > & | view, |
std::string_view | fileName | ||
) |
Serializes Zserio object using View to the file.
Example:
view | View of Zserio object to serialize. |
fileName | File name to write. |
CppRuntimeException | When serialization fails. |
Definition at line 598 of file SerializeUtil.h.
T zserio::stringToEnum | ( | std::string_view | itemName | ) |
Converts the given enum item name to an appropriate enum item.
itemName | Name of the enum item. |
CppRuntimeException | when the itemName doesn't match to any enum item. |
|
constexprnoexcept |
Utility to get checked underlying value from zserio numeric type wrapper.
wrapper | Numeric type wrapper to use. |
OutOfRangeException | when the underlying value is out of range of the zserio numeric type. |
|
constexpr |
Utility to get checked underlying value from zserio numeric type wrapper.
Overload for dynamic length types wrappers.
wrapper | Numeric type wrapper to use. |
numBits | Number of bits as a length of a dynamic length numeric type. |
OutOfRangeException | when the underlying value is out of range of the zserio numeric type. |
void zserio::toJsonFile | ( | const T & | object, |
const BasicString< RebindAlloc< ALLOC, char >> & | fileName, | ||
uint8_t | indent, | ||
WALK_FILTER && | walkFilter, | ||
const ALLOC & | allocator = ALLOC() |
||
) |
Writes contents of given zserio object to debug file in JSON format using Walker with JsonWriter.
This function allows setting of indentation of JSON output together with the walk filter.
Example:
object | Zserio object to use. |
fileName | Name of file to write. |
indent | Indent argument for JsonWriter. |
walkFilter | WalkFilter to use by Walker. |
allocator | Allocator to use. |
Definition at line 427 of file DebugStringUtil.h.
void zserio::toJsonFile | ( | const T & | object, |
std::string_view | fileName, | ||
const ALLOC & | allocator = ALLOC() |
||
) |
Writes contents of given zserio object to debug file in JSON format using Walker with JsonWriter.
Example:
object | Zserio object to use. |
fileName | Name of file to write. |
allocator | Allocator to use. |
Definition at line 338 of file DebugStringUtil.h.
void zserio::toJsonFile | ( | const T & | object, |
std::string_view | fileName, | ||
uint8_t | indent, | ||
const ALLOC & | allocator = ALLOC() |
||
) |
Writes contents of given zserio object to debug file in JSON format using Walker with JsonWriter.
This function allows setting of indentation of JSON output.
Example:
object | Zserio object to use. |
fileName | Name of file to write. |
indent | Indent argument for JsonWriter. |
allocator | Allocator to use. |
CppRuntimeException | When the writing fails. |
Definition at line 366 of file DebugStringUtil.h.
void zserio::toJsonFile | ( | const T & | object, |
std::string_view | fileName, | ||
WALK_FILTER && | walkFilter, | ||
const ALLOC & | allocator = ALLOC() |
||
) |
Writes contents of given zserio object to debug file in JSON format using Walker with JsonWriter.
This function allows setting of walk filter.
The following example shows filtering of arrays up to 5 elements:
Example:
object | Zserio object to use. |
fileName | Name of file to write. |
walkFilter | WalkFilter to use by Walker. |
allocator | Allocator to use. |
Definition at line 396 of file DebugStringUtil.h.
void zserio::toJsonStream | ( | const T & | object, |
std::ostream & | stream, | ||
const ALLOC & | allocator = ALLOC() |
||
) |
Writes contents of given zserio object to debug stream in JSON format using Walker with JsonWriter.
Example:
object | Zserio object to use. |
stream | Output stream to use. |
allocator | Allocator to use. |
Definition at line 105 of file DebugStringUtil.h.
void zserio::toJsonStream | ( | const T & | object, |
std::ostream & | stream, | ||
uint8_t | indent, | ||
const ALLOC & | allocator = ALLOC() |
||
) |
Writes contents of given zserio object to debug stream in JSON format using Walker with JsonWriter.
This function allows setting of indentation of JSON output.
Example:
object | Zserio object to use. |
stream | Output stream to use. |
indent | Indent argument for JsonWriter. |
allocator | Allocator to use. |
Definition at line 133 of file DebugStringUtil.h.
void zserio::toJsonStream | ( | const T & | object, |
std::ostream & | stream, | ||
uint8_t | indent, | ||
WALK_FILTER && | walkFilter, | ||
const ALLOC & | allocator = ALLOC() |
||
) |
Writes contents of given zserio object to debug stream in JSON format using Walker with JsonWriter.
This function allows setting of indentation of JSON output together with the walk filter.
Example:
object | Zserio object to use. |
stream | Output stream to use. |
indent | Indent argument for JsonWriter. |
walkFilter | WalkFilter to use by Walker. |
allocator | Allocator to use. |
Definition at line 198 of file DebugStringUtil.h.
void zserio::toJsonStream | ( | const T & | object, |
std::ostream & | stream, | ||
WALK_FILTER && | walkFilter, | ||
const ALLOC & | allocator = ALLOC() |
||
) |
Writes contents of given zserio object to debug stream in JSON format using Walker with JsonWriter.
This function allows setting of walk filter.
The following example shows filtering of arrays up to 5 elements:
object | Zserio object to use. |
stream | Output stream to use. |
walkFilter | WalkFilter to use by Walker. |
allocator | Allocator to use. |
Definition at line 164 of file DebugStringUtil.h.
BasicString<RebindAlloc<ALLOC, char> > zserio::toJsonString | ( | const T & | object, |
const ALLOC & | allocator = ALLOC() |
||
) |
Gets debug string in JSON format using Walker with JsonWriter for given zserio object.
Example:
object | Zserio object to use. |
allocator | Allocator to use. |
Definition at line 223 of file DebugStringUtil.h.
BasicString<RebindAlloc<ALLOC, char> > zserio::toJsonString | ( | const T & | object, |
uint8_t | indent, | ||
const ALLOC & | allocator = ALLOC() |
||
) |
Gets debug string in JSON format using Walker with JsonWriter for given zserio object.
This function allows setting of indentation of JSON output.
Example:
object | Zserio object to use. |
indent | Indent argument for JsonWriter. |
allocator | Allocator to use. |
Definition at line 251 of file DebugStringUtil.h.
BasicString<RebindAlloc<ALLOC, char> > zserio::toJsonString | ( | const T & | object, |
uint8_t | indent, | ||
WALK_FILTER && | walkFilter, | ||
const ALLOC & | allocator = ALLOC() |
||
) |
Gets debug string in JSON format using Walker with JsonWriter for given zserio object.
This function allows setting of indentation of JSON output together with the walk filter.
Example:
object | Zserio object to use. |
indent | Indent argument for JsonWriter. |
walkFilter | WalkFilter to use by Walker. |
allocator | Allocator to use. |
Definition at line 315 of file DebugStringUtil.h.
BasicString<RebindAlloc<ALLOC, char> > zserio::toJsonString | ( | const T & | object, |
WALK_FILTER && | walkFilter, | ||
const ALLOC & | allocator = ALLOC() |
||
) |
Gets debug string in JSON format using Walker with JsonWriter for given zserio object.
This function allows setting of walk filter.
The following example shows filtering of arrays up to 5 elements:
object | Zserio object to use. |
walkFilter | WalkFilter to use by Walker. |
allocator | Allocator to use. |
Definition at line 282 of file DebugStringUtil.h.
BasicString<RebindAlloc<ALLOC, char> > zserio::toString | ( | bool | value, |
const ALLOC & | allocator = ALLOC() |
||
) |
Converts a boolean value to string using the given allocator. Defined for convenience.
Note that in contrast to std::to_string, this behaves as STL streams with boolalpha flag and produces "true" and "false" strings.
value | Value to convert. |
allocator | Allocator to use for the string allocation. |
Definition at line 204 of file StringConvertUtil.h.
BasicString<RebindAlloc<ALLOC, char> > zserio::toString | ( | std::string_view | value, |
const ALLOC & | allocator = ALLOC() |
||
) |
Converts a string view to string using the given allocator. Defined for convenience.
value | String view to convert. |
allocator | Allocator to use for the string allocation. |
Definition at line 216 of file StringConvertUtil.h.
BasicString<std::allocator<char> > zserio::toString | ( | T | value | ) |
Converts an integral (or a boolean) value to string. Convenience wrapper to call without allocator.
value | Value to convert. |
Definition at line 229 of file StringConvertUtil.h.
BasicString< RebindAlloc< ALLOC, char > > zserio::toString | ( | T | value, |
const ALLOC & | allocator = ALLOC() |
||
) |
Converts an integral value to string using the given allocator. Defined for convenience.
value | Value to convert. |
allocator | Allocator to use for the string allocation. |
Definition at line 165 of file StringConvertUtil.h.
const IBasicTypeInfo<ALLOC>& zserio::typeInfo | ( | ) |
Global function for type info of a generated type provided via specializations.
Definition at line 668 of file ITypeInfo.h.
T zserio::valueToEnum | ( | typename EnumTraits< T >::ZserioType | rawValue | ) |
Converts the given raw value to an appropriate enum item.
rawValue | Raw value of the proper underlying type. |
CppRuntimeException | when the rawValue doesn't match to any enum item. |
zserio::View | ( | T | , |
ARGS && | ... | ||
) | -> View< T > |
decltype(auto) zserio::visit | ( | F && | fun, |
BasicVariant< ALLOC, INDEX, T... > & | var | ||
) |
Calls a given functor with active element.
fun | Functor to be called with the active element. |
var | Variant to be accessed. |
BadVariantAccess | if variant is in valueless state. |
decltype(auto) zserio::visit | ( | F && | fun, |
const BasicVariant< ALLOC, INDEX, T... > & | var | ||
) |
Calls a given functor with active element.
fun | Functor to be called with the active element. |
var | Variant to be accessed. |
BadVariantAccess | if variant is in valueless state. |
|
inline |
Writes given bit buffer to file.
Overloaded function provided for convenience.
bitBuffer | Bit buffer to write. |
fileName | Name of the file to write. |
CppRuntimeException | When writing fails. |
Definition at line 69 of file FileUtil.h.
void zserio::writeBufferToFile | ( | const uint8_t * | buffer, |
size_t | bitSize, | ||
BitsTag | , | ||
std::string_view | fileName | ||
) |
Writes given buffer to file.
buffer | Buffer to write. |
bitSize | Buffer bit size. |
fileName | Name of the file to write. |
CppRuntimeException | When writing fails. |
Definition at line 10 of file FileUtil.cpp.
|
inline |
Writes given buffer to file.
Overloaded function provided for convenience.
buffer | Buffer to write. |
byteSize | Buffer byte size. |
fileName | Name of the file to write. |
CppRuntimeException | When writing fails. |
Definition at line 53 of file FileUtil.h.
|
constexpr |
|
inlineconstexpr |
|
constexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
constexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |