Zserio C++ runtime library
1.1.0
Built for Zserio 2.15.0
|
Namespaces | |
builtin | |
literals | |
pmr | |
Typedefs | |
using | BytesArrayTraits = BasicBytesArrayTraits<> |
using | StringArrayTraits = BasicStringArrayTraits<> |
using | BitBufferArrayTraits = BasicBitBufferArrayTraits<> |
using | BitBuffer = BasicBitBuffer<> |
template<typename ALLOC = std::allocator<uint8_t>> | |
using | IBasicServiceDataPtr = std::shared_ptr< IBasicServiceData< ALLOC > > |
using | JsonParser = BasicJsonParser<> |
using | JsonReader = BasicJsonReader<> |
template<typename T > | |
using | InplaceOptionalHolder = detail::inplace_optional_holder< T > |
template<typename T , typename ALLOC = std::allocator<T>> | |
using | HeapOptionalHolder = detail::heap_optional_holder< T, ALLOC > |
template<typename ALLOC , typename T > | |
using | RebindAlloc = typename std::allocator_traits< ALLOC >::template rebind_alloc< T > |
using | ReflectableFactory = BasicReflectableFactory< std::allocator< uint8_t > > |
template<typename ALLOC = std::allocator<char>> | |
using | string = std::basic_string< char, std::char_traits< char >, RebindAlloc< ALLOC, char > > |
using | StringView = BasicStringView< char, std::char_traits< char > > |
template<typename FIELD_TYPE , typename COMPOUND_TYPE , typename ALLOCATOR_TYPE > | |
using | is_field_constructor_enabled_t = typename is_field_constructor_enabled< FIELD_TYPE, COMPOUND_TYPE, ALLOCATOR_TYPE >::type |
template<typename T , typename ALLOC = std::allocator<T>> | |
using | unique_ptr = std::unique_ptr< T, detail::UniquePtrDeleter< ALLOC > > |
template<typename T , typename ALLOC = std::allocator<T>> | |
using | vector = std::vector< T, RebindAlloc< ALLOC, T > > |
using | ZserioTreeCreator = BasicZserioTreeCreator< std::allocator< uint8_t > > |
template<typename ALLOC = std::allocator<uint8_t>> | |
using | IBasicReflectablePtr = typename IBasicReflectable< ALLOC >::Ptr |
template<typename ALLOC = std::allocator<uint8_t>> | |
using | IBasicReflectableConstPtr = typename IBasicReflectable< ALLOC >::ConstPtr |
using | IReflectable = IBasicReflectable<> |
using | IReflectablePtr = IBasicReflectablePtr<> |
using | IReflectableConstPtr = IBasicReflectableConstPtr<> |
using | IServiceData = IBasicServiceData<> |
using | IServiceDataPtr = IBasicServiceDataPtr<> |
using | IService = IBasicService<> |
using | IServiceClient = IBasicServiceClient<> |
using | ReflectableServiceData = BasicReflectableServiceData<> |
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 ALLOC , typename RAW_ARRAY > | |
using | BoolReflectableConstArray = BuiltinReflectableConstArray< ALLOC, RAW_ARRAY, BoolReflectable< ALLOC > > |
template<typename ALLOC , typename RAW_ARRAY > | |
using | BoolReflectableArray = BuiltinReflectableArray< ALLOC, RAW_ARRAY, BoolReflectable< ALLOC > > |
template<typename ALLOC , typename RAW_ARRAY > | |
using | Int8ReflectableConstArray = BuiltinReflectableConstArray< ALLOC, RAW_ARRAY, Int8Reflectable< ALLOC > > |
template<typename ALLOC , typename RAW_ARRAY > | |
using | Int8ReflectableArray = BuiltinReflectableArray< ALLOC, RAW_ARRAY, Int8Reflectable< ALLOC > > |
template<typename ALLOC , typename RAW_ARRAY > | |
using | Int16ReflectableConstArray = BuiltinReflectableConstArray< ALLOC, RAW_ARRAY, Int16Reflectable< ALLOC > > |
template<typename ALLOC , typename RAW_ARRAY > | |
using | Int16ReflectableArray = BuiltinReflectableArray< ALLOC, RAW_ARRAY, Int16Reflectable< ALLOC > > |
template<typename ALLOC , typename RAW_ARRAY > | |
using | Int32ReflectableConstArray = BuiltinReflectableConstArray< ALLOC, RAW_ARRAY, Int32Reflectable< ALLOC > > |
template<typename ALLOC , typename RAW_ARRAY > | |
using | Int32ReflectableArray = BuiltinReflectableArray< ALLOC, RAW_ARRAY, Int32Reflectable< ALLOC > > |
template<typename ALLOC , typename RAW_ARRAY > | |
using | Int64ReflectableConstArray = BuiltinReflectableConstArray< ALLOC, RAW_ARRAY, Int64Reflectable< ALLOC > > |
template<typename ALLOC , typename RAW_ARRAY > | |
using | Int64ReflectableArray = BuiltinReflectableArray< ALLOC, RAW_ARRAY, Int64Reflectable< ALLOC > > |
template<typename ALLOC , typename RAW_ARRAY > | |
using | UInt8ReflectableConstArray = BuiltinReflectableConstArray< ALLOC, RAW_ARRAY, UInt8Reflectable< ALLOC > > |
template<typename ALLOC , typename RAW_ARRAY > | |
using | UInt8ReflectableArray = BuiltinReflectableArray< ALLOC, RAW_ARRAY, UInt8Reflectable< ALLOC > > |
template<typename ALLOC , typename RAW_ARRAY > | |
using | UInt16ReflectableConstArray = BuiltinReflectableConstArray< ALLOC, RAW_ARRAY, UInt16Reflectable< ALLOC > > |
template<typename ALLOC , typename RAW_ARRAY > | |
using | UInt16ReflectableArray = BuiltinReflectableArray< ALLOC, RAW_ARRAY, UInt16Reflectable< ALLOC > > |
template<typename ALLOC , typename RAW_ARRAY > | |
using | UInt32ReflectableConstArray = BuiltinReflectableConstArray< ALLOC, RAW_ARRAY, UInt32Reflectable< ALLOC > > |
template<typename ALLOC , typename RAW_ARRAY > | |
using | UInt32ReflectableArray = BuiltinReflectableArray< ALLOC, RAW_ARRAY, UInt32Reflectable< ALLOC > > |
template<typename ALLOC , typename RAW_ARRAY > | |
using | UInt64ReflectableConstArray = BuiltinReflectableConstArray< ALLOC, RAW_ARRAY, UInt64Reflectable< ALLOC > > |
template<typename ALLOC , typename RAW_ARRAY > | |
using | UInt64ReflectableArray = BuiltinReflectableArray< ALLOC, RAW_ARRAY, UInt64Reflectable< ALLOC > > |
template<typename ALLOC , typename RAW_ARRAY > | |
using | FixedSignedBitFieldReflectableConstArray = FixedBitFieldReflectableConstArray< ALLOC, RAW_ARRAY, FixedSignedBitFieldReflectable< ALLOC, typename RAW_ARRAY::value_type > > |
template<typename ALLOC , typename RAW_ARRAY > | |
using | FixedSignedBitFieldReflectableArray = FixedBitFieldReflectableArray< ALLOC, RAW_ARRAY, FixedSignedBitFieldReflectable< ALLOC, typename RAW_ARRAY::value_type > > |
template<typename ALLOC , typename RAW_ARRAY > | |
using | FixedUnsignedBitFieldReflectableConstArray = FixedBitFieldReflectableConstArray< ALLOC, RAW_ARRAY, FixedUnsignedBitFieldReflectable< ALLOC, typename RAW_ARRAY::value_type > > |
template<typename ALLOC , typename RAW_ARRAY > | |
using | FixedUnsignedBitFieldReflectableArray = FixedBitFieldReflectableArray< ALLOC, RAW_ARRAY, FixedUnsignedBitFieldReflectable< ALLOC, typename RAW_ARRAY::value_type > > |
template<typename ALLOC , typename RAW_ARRAY > | |
using | DynamicSignedBitFieldReflectableConstArray = DynamicBitFieldReflectableConstArray< ALLOC, RAW_ARRAY, DynamicSignedBitFieldReflectable< ALLOC, typename RAW_ARRAY::value_type > > |
template<typename ALLOC , typename RAW_ARRAY > | |
using | DynamicSignedBitFieldReflectableArray = DynamicBitFieldReflectableArray< ALLOC, RAW_ARRAY, DynamicSignedBitFieldReflectable< ALLOC, typename RAW_ARRAY::value_type > > |
template<typename ALLOC , typename RAW_ARRAY > | |
using | DynamicUnsignedBitFieldReflectableConstArray = DynamicBitFieldReflectableConstArray< ALLOC, RAW_ARRAY, DynamicUnsignedBitFieldReflectable< ALLOC, typename RAW_ARRAY::value_type > > |
template<typename ALLOC , typename RAW_ARRAY > | |
using | DynamicUnsignedBitFieldReflectableArray = DynamicBitFieldReflectableArray< ALLOC, RAW_ARRAY, DynamicUnsignedBitFieldReflectable< ALLOC, typename RAW_ARRAY::value_type > > |
template<typename ALLOC , typename RAW_ARRAY > | |
using | VarInt16ReflectableConstArray = BuiltinReflectableConstArray< ALLOC, RAW_ARRAY, VarInt16Reflectable< ALLOC > > |
template<typename ALLOC , typename RAW_ARRAY > | |
using | VarInt16ReflectableArray = BuiltinReflectableArray< ALLOC, RAW_ARRAY, VarInt16Reflectable< ALLOC > > |
template<typename ALLOC , typename RAW_ARRAY > | |
using | VarInt32ReflectableConstArray = BuiltinReflectableConstArray< ALLOC, RAW_ARRAY, VarInt32Reflectable< ALLOC > > |
template<typename ALLOC , typename RAW_ARRAY > | |
using | VarInt32ReflectableArray = BuiltinReflectableArray< ALLOC, RAW_ARRAY, VarInt32Reflectable< ALLOC > > |
template<typename ALLOC , typename RAW_ARRAY > | |
using | VarInt64ReflectableConstArray = BuiltinReflectableConstArray< ALLOC, RAW_ARRAY, VarInt64Reflectable< ALLOC > > |
template<typename ALLOC , typename RAW_ARRAY > | |
using | VarInt64ReflectableArray = BuiltinReflectableArray< ALLOC, RAW_ARRAY, VarInt64Reflectable< ALLOC > > |
template<typename ALLOC , typename RAW_ARRAY > | |
using | VarIntReflectableConstArray = BuiltinReflectableConstArray< ALLOC, RAW_ARRAY, VarIntReflectable< ALLOC > > |
template<typename ALLOC , typename RAW_ARRAY > | |
using | VarIntReflectableArray = BuiltinReflectableArray< ALLOC, RAW_ARRAY, VarIntReflectable< ALLOC > > |
template<typename ALLOC , typename RAW_ARRAY > | |
using | VarUInt16ReflectableConstArray = BuiltinReflectableConstArray< ALLOC, RAW_ARRAY, VarUInt16Reflectable< ALLOC > > |
template<typename ALLOC , typename RAW_ARRAY > | |
using | VarUInt16ReflectableArray = BuiltinReflectableArray< ALLOC, RAW_ARRAY, VarUInt16Reflectable< ALLOC > > |
template<typename ALLOC , typename RAW_ARRAY > | |
using | VarUInt32ReflectableConstArray = BuiltinReflectableConstArray< ALLOC, RAW_ARRAY, VarUInt32Reflectable< ALLOC > > |
template<typename ALLOC , typename RAW_ARRAY > | |
using | VarUInt32ReflectableArray = BuiltinReflectableArray< ALLOC, RAW_ARRAY, VarUInt32Reflectable< ALLOC > > |
template<typename ALLOC , typename RAW_ARRAY > | |
using | VarUInt64ReflectableConstArray = BuiltinReflectableConstArray< ALLOC, RAW_ARRAY, VarUInt64Reflectable< ALLOC > > |
template<typename ALLOC , typename RAW_ARRAY > | |
using | VarUInt64ReflectableArray = BuiltinReflectableArray< ALLOC, RAW_ARRAY, VarUInt64Reflectable< ALLOC > > |
template<typename ALLOC , typename RAW_ARRAY > | |
using | VarUIntReflectableConstArray = BuiltinReflectableConstArray< ALLOC, RAW_ARRAY, VarUIntReflectable< ALLOC > > |
template<typename ALLOC , typename RAW_ARRAY > | |
using | VarUIntReflectableArray = BuiltinReflectableArray< ALLOC, RAW_ARRAY, VarUIntReflectable< ALLOC > > |
template<typename ALLOC , typename RAW_ARRAY > | |
using | VarSizeReflectableConstArray = BuiltinReflectableConstArray< ALLOC, RAW_ARRAY, VarSizeReflectable< ALLOC > > |
template<typename ALLOC , typename RAW_ARRAY > | |
using | VarSizeReflectableArray = BuiltinReflectableArray< ALLOC, RAW_ARRAY, VarSizeReflectable< ALLOC > > |
template<typename ALLOC , typename RAW_ARRAY > | |
using | Float16ReflectableConstArray = BuiltinReflectableConstArray< ALLOC, RAW_ARRAY, Float16Reflectable< ALLOC > > |
template<typename ALLOC , typename RAW_ARRAY > | |
using | Float16ReflectableArray = BuiltinReflectableArray< ALLOC, RAW_ARRAY, Float16Reflectable< ALLOC > > |
template<typename ALLOC , typename RAW_ARRAY > | |
using | Float32ReflectableConstArray = BuiltinReflectableConstArray< ALLOC, RAW_ARRAY, Float32Reflectable< ALLOC > > |
template<typename ALLOC , typename RAW_ARRAY > | |
using | Float32ReflectableArray = BuiltinReflectableArray< ALLOC, RAW_ARRAY, Float32Reflectable< ALLOC > > |
template<typename ALLOC , typename RAW_ARRAY > | |
using | Float64ReflectableConstArray = BuiltinReflectableConstArray< ALLOC, RAW_ARRAY, Float64Reflectable< ALLOC > > |
template<typename ALLOC , typename RAW_ARRAY > | |
using | Float64ReflectableArray = BuiltinReflectableArray< ALLOC, RAW_ARRAY, Float64Reflectable< ALLOC > > |
template<typename ALLOC , typename RAW_ARRAY > | |
using | BytesReflectableConstArray = BuiltinReflectableConstArray< ALLOC, RAW_ARRAY, BytesReflectable< ALLOC > > |
template<typename ALLOC , typename RAW_ARRAY > | |
using | BytesReflectableArray = BuiltinReflectableArray< ALLOC, RAW_ARRAY, BytesReflectable< ALLOC > > |
template<typename ALLOC , typename RAW_ARRAY > | |
using | StringReflectableConstArray = BuiltinReflectableConstArray< ALLOC, RAW_ARRAY, StringReflectable< ALLOC > > |
template<typename ALLOC , typename RAW_ARRAY > | |
using | StringReflectableArray = BuiltinReflectableArray< ALLOC, RAW_ARRAY, StringReflectable< ALLOC > > |
template<typename ALLOC , typename RAW_ARRAY > | |
using | BitBufferReflectableConstArray = BuiltinReflectableConstArray< ALLOC, RAW_ARRAY, BitBufferReflectable< ALLOC > > |
template<typename ALLOC , typename RAW_ARRAY > | |
using | BitBufferReflectableArray = BuiltinReflectableArray< ALLOC, RAW_ARRAY, BitBufferReflectable< ALLOC > > |
using | Walker = BasicWalker<> |
using | DefaultWalkObserver = BasicDefaultWalkObserver<> |
using | DefaultWalkFilter = BasicDefaultWalkFilter<> |
using | DepthWalkFilter = BasicDepthWalkFilter<> |
using | RegexWalkFilter = BasicRegexWalkFilter<> |
using | ArrayLengthWalkFilter = BasicArrayLengthWalkFilter<> |
using | AndWalkFilter = BasicAndWalkFilter<> |
Enumerations | |
enum | ArrayType { NORMAL , IMPLICIT , ALIGNED , AUTO , ALIGNED_AUTO } |
enum class | CppType { BOOL , INT8 , INT16 , INT32 , INT64 , UINT8 , UINT16 , UINT32 , UINT64 , FLOAT , DOUBLE , BYTES , STRING , BIT_BUFFER , ENUM , BITMASK , STRUCT , CHOICE , UNION , SQL_TABLE , SQL_DATABASE , SERVICE , PUBSUB } |
enum class | SchemaType { BOOL , INT8 , INT16 , INT32 , INT64 , UINT8 , UINT16 , UINT32 , UINT64 , VARINT16 , VARINT32 , VARINT64 , VARINT , VARUINT16 , VARUINT32 , VARUINT64 , VARUINT , VARSIZE , FIXED_SIGNED_BITFIELD , FIXED_UNSIGNED_BITFIELD , DYNAMIC_SIGNED_BITFIELD , DYNAMIC_UNSIGNED_BITFIELD , FLOAT16 , FLOAT32 , FLOAT64 , BYTES , STRING , EXTERN , ENUM , BITMASK , STRUCT , CHOICE , UNION , SQL_TABLE , SQL_DATABASE , SERVICE , PUBSUB } |
enum class | JsonToken : int8_t { UNKNOWN = -1 , BEGIN_OF_FILE , END_OF_FILE , BEGIN_OBJECT , END_OBJECT , BEGIN_ARRAY , END_ARRAY , KEY_SEPARATOR , ITEM_SEPARATOR , VALUE } |
Functions | |
template<typename T , typename ALLOC > | |
T | allocatorPropagatingCopy (const T &source, const ALLOC &allocator) |
template<typename T , typename ALLOC , typename ALLOC2 > | |
AnyHolder< ALLOC > | allocatorPropagatingCopy (const AnyHolder< ALLOC > &source, const ALLOC2 &allocator) |
template<typename T , typename ALLOC > | |
T | allocatorPropagatingCopy (NoInitT, const T &source, const ALLOC &allocator) |
template<typename T , typename ALLOC , typename ALLOC2 > | |
AnyHolder< ALLOC > | allocatorPropagatingCopy (NoInitT, const AnyHolder< ALLOC > &source, const ALLOC2 &allocator) |
template<typename ARRAY , typename RAW_ARRAY > | |
ARRAY | createOptionalArray (RAW_ARRAY &&rawArray) |
template<typename ARRAY > | |
NullOptType | createOptionalArray (NullOptType) |
template<typename ALLOC > | |
CppRuntimeException & | operator<< (CppRuntimeException &exception, const BasicBitBuffer< ALLOC > &bitBuffer) |
int64_t | getBitFieldLowerBound (size_t length, bool isSigned) |
uint64_t | getBitFieldUpperBound (size_t length, bool isSigned) |
size_t | alignTo (size_t alignmentValue, size_t bitPosition) |
size_t | bitSizeOfVarInt16 (int16_t value) |
size_t | bitSizeOfVarInt32 (int32_t value) |
size_t | bitSizeOfVarInt64 (int64_t value) |
size_t | bitSizeOfVarUInt16 (uint16_t value) |
size_t | bitSizeOfVarUInt32 (uint32_t value) |
size_t | bitSizeOfVarUInt64 (uint64_t value) |
size_t | bitSizeOfVarInt (int64_t value) |
size_t | bitSizeOfVarUInt (uint64_t value) |
size_t | bitSizeOfVarSize (uint32_t value) |
size_t | bitSizeOfBytes (Span< const uint8_t > bytesValue) |
size_t | bitSizeOfString (StringView stringValue) |
template<typename ALLOC > | |
size_t | bitSizeOfBitBuffer (const BasicBitBuffer< ALLOC > &bitBuffer) |
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) |
template<typename T , typename std::enable_if< std::is_integral< T >::value, int >::type = 0> | |
CppRuntimeException & | operator<< (CppRuntimeException &exception, T 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 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> | |
string< ALLOC > | 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> | |
string< ALLOC > | 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> | |
string< ALLOC > | 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> | |
string< ALLOC > | 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, const string< ALLOC > &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, const string< ALLOC > &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, const string< ALLOC > &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 string< ALLOC > &fileName, uint8_t indent, WALK_FILTER &&walkFilter, const ALLOC &allocator=ALLOC()) |
template<typename ALLOC = std::allocator<uint8_t>> | |
detail::DebugStringTraits< ALLOC >::ReflectablePtr | 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 >::ReflectablePtr | fromJsonString (const IBasicTypeInfo< ALLOC > &typeInfo, const string< ALLOC > &json, const ALLOC &allocator=ALLOC()) |
template<typename T , typename ALLOC = typename T::allocator_type> | |
T | fromJsonString (const string< ALLOC > &json, const ALLOC &allocator=ALLOC()) |
template<typename ALLOC = std::allocator<uint8_t>> | |
detail::DebugStringTraits< ALLOC >::ReflectablePtr | fromJsonFile (const IBasicTypeInfo< ALLOC > &typeInfo, const string< ALLOC > &fileName, const ALLOC &allocator=ALLOC()) |
template<typename T , typename ALLOC = typename T::allocator_type> | |
T | fromJsonFile (const string< ALLOC > &fileName, const ALLOC &allocator=ALLOC()) |
template<typename T > | |
size_t | enumToOrdinal (T value) |
template<typename T > | |
T | valueToEnum (typename std::underlying_type< T >::type rawValue) |
template<typename T > | |
constexpr std::underlying_type< T >::type | enumToValue (T value) |
template<typename T > | |
uint32_t | enumHashCode (T value) |
template<typename T > | |
T | stringToEnum (StringView itemName) |
template<typename T > | |
const char * | enumToString (T value) |
template<typename PACKING_CONTEXT , typename T > | |
void | initPackingContext (PACKING_CONTEXT &context, T value) |
template<typename T > | |
size_t | bitSizeOf (T value) |
template<typename PACKING_CONTEXT , typename T > | |
size_t | bitSizeOf (PACKING_CONTEXT &context, T value) |
template<typename T > | |
size_t | initializeOffsets (size_t bitPosition, T value) |
template<typename PACKING_CONTEXT , typename T > | |
size_t | initializeOffsets (PACKING_CONTEXT &context, size_t bitPosition, T value) |
template<typename T > | |
T | read (BitStreamReader &in) |
template<typename T , typename PACKING_CONTEXT > | |
T | read (PACKING_CONTEXT &context, BitStreamReader &in) |
template<typename T > | |
void | write (BitStreamWriter &out, T value) |
template<typename PACKING_CONTEXT , typename T > | |
void | write (PACKING_CONTEXT &context, BitStreamWriter &out, T value) |
void | writeBufferToFile (const uint8_t *buffer, size_t bitSize, BitsTag, const std::string &fileName) |
BitBuffer | readBufferFromFile (const std::string &fileName) |
void | writeBufferToFile (const uint8_t *buffer, size_t byteSize, const std::string &fileName) |
template<typename ALLOC > | |
void | writeBufferToFile (const BasicBitBuffer< ALLOC > &bitBuffer, const std::string &fileName) |
void | writeBufferToFile (const BitStreamWriter &writer, const std::string &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) |
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) |
template<typename ALLOC > | |
uint32_t | calcHashCode (uint32_t seedValue, const std::basic_string< char, std::char_traits< char >, ALLOC > &stringValue) |
template<typename ENUM_TYPE > | |
std::enable_if< std::is_enum< ENUM_TYPE >::value, uint32_t >::type | calcHashCode (uint32_t seedValue, ENUM_TYPE enumValue) |
template<typename OBJECT > | |
std::enable_if<!std::is_enum< OBJECT >::value &&!std::is_integral< OBJECT >::value, uint32_t >::type | calcHashCode (uint32_t seedValue, const OBJECT &object) |
template<typename ARRAY_ELEMENT , typename ALLOC > | |
uint32_t | calcHashCode (uint32_t seedValue, const std::vector< ARRAY_ELEMENT, ALLOC > &array) |
template<typename FIELD > | |
uint32_t | calcHashCode (uint32_t seedValue, const InplaceOptionalHolder< FIELD > &optionalHolder) |
template<typename FIELD , typename ALLOC > | |
uint32_t | calcHashCode (uint32_t seedValue, const HeapOptionalHolder< FIELD, ALLOC > &optionalHolder) |
template<typename T , typename ALLOC = std::allocator<uint8_t>> | |
IBasicReflectablePtr< ALLOC > | enumReflectable (T value, const ALLOC &allocator=ALLOC()) |
template<typename T , typename ALLOC = std::allocator<uint8_t>> | |
const IBasicTypeInfo< ALLOC > & | enumTypeInfo () |
CppRuntimeException & | operator<< (CppRuntimeException &exception, JsonToken token) |
template<typename T , typename ALLOC , typename... ARGS, typename std::enable_if<!std::is_enum< T >::value &&is_allocator< ALLOC >::value, int >::type = 0> | |
BasicBitBuffer< ALLOC > | serialize (T &object, const ALLOC &allocator, ARGS &&... arguments) |
template<typename T , typename ALLOC = typename detail::allocator_chooser<T>::type, typename... ARGS, typename std::enable_if<!std::is_enum< T >::value &&!is_first_allocator< typename std::decay< ARGS >::type... >::value, int >::type = 0> | |
BasicBitBuffer< ALLOC > | serialize (T &object, ARGS &&... arguments) |
template<typename T , typename ALLOC = std::allocator<uint8_t>, typename std::enable_if< std::is_enum< T >::value, int >::type = 0> | |
BasicBitBuffer< ALLOC > | serialize (T enumValue, const ALLOC &allocator=ALLOC()) |
template<typename T , typename ALLOC , typename... ARGS> | |
std::enable_if<!std::is_enum< T >::value, T >::type | deserialize (const BasicBitBuffer< ALLOC > &bitBuffer, ARGS &&... arguments) |
template<typename T , typename ALLOC > | |
std::enable_if< std::is_enum< T >::value, T >::type | deserialize (const BasicBitBuffer< ALLOC > &bitBuffer) |
template<typename T , typename ALLOC , typename... ARGS, typename std::enable_if<!std::is_enum< T >::value &&is_allocator< ALLOC >::value, int >::type = 0> | |
vector< uint8_t, ALLOC > | serializeToBytes (T &object, const ALLOC &allocator, ARGS &&... arguments) |
template<typename T , typename ALLOC = typename detail::allocator_chooser<T>::type, typename... ARGS, typename std::enable_if<!std::is_enum< T >::value &&!is_first_allocator< typename std::decay< ARGS >::type... >::value, int >::type = 0> | |
vector< uint8_t, ALLOC > | serializeToBytes (T &object, ARGS &&... arguments) |
template<typename T , typename ALLOC = std::allocator<uint8_t>, typename std::enable_if< std::is_enum< T >::value, int >::type = 0> | |
vector< uint8_t, ALLOC > | serializeToBytes (T enumValue, const ALLOC &allocator=ALLOC()) |
template<typename T , typename... ARGS> | |
std::enable_if<!std::is_enum< T >::value, T >::type | deserializeFromBytes (Span< const uint8_t > buffer, ARGS &&... arguments) |
template<typename T > | |
std::enable_if< std::is_enum< T >::value, T >::type | deserializeFromBytes (Span< const uint8_t > buffer) |
template<typename T , typename... ARGS> | |
void | serializeToFile (T &object, const std::string &fileName, ARGS &&... arguments) |
template<typename T , typename... ARGS> | |
T | deserializeFromFile (const std::string &fileName, ARGS &&... arguments) |
uint32_t | convertSizeToUInt32 (size_t value) |
size_t | convertUInt64ToSize (uint64_t value) |
CppRuntimeException & | operator<< (CppRuntimeException &exception, SqliteErrorCode code) |
template<typename T , typename std::enable_if< std::is_unsigned< T >::value, int >::type = 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 > | |
string< ALLOC > | toString (T value, const ALLOC &allocator=ALLOC()) |
template<typename ALLOC > | |
string< ALLOC > | toString (bool value, const ALLOC &allocator=ALLOC()) |
template<typename T > | |
string< std::allocator< char > > | toString (T value) |
template<typename CharT , class Traits > | |
constexpr bool | operator== (BasicStringView< CharT, Traits > lhs, BasicStringView< CharT, Traits > rhs) noexcept |
template<typename CharT , class Traits > | |
constexpr bool | operator!= (BasicStringView< CharT, Traits > lhs, BasicStringView< CharT, Traits > rhs) noexcept |
template<typename CharT , class Traits > | |
constexpr bool | operator< (BasicStringView< CharT, Traits > lhs, BasicStringView< CharT, Traits > rhs) noexcept |
template<typename CharT , class Traits > | |
constexpr bool | operator<= (BasicStringView< CharT, Traits > lhs, BasicStringView< CharT, Traits > rhs) noexcept |
template<typename CharT , class Traits > | |
constexpr bool | operator> (BasicStringView< CharT, Traits > lhs, BasicStringView< CharT, Traits > rhs) noexcept |
template<typename CharT , class Traits > | |
constexpr bool | operator>= (BasicStringView< CharT, Traits > lhs, BasicStringView< CharT, Traits > rhs) noexcept |
template<typename CharT , size_t N> | |
constexpr BasicStringView< CharT > | makeStringView (const CharT(&str)[N]) |
template<typename CharT , typename Traits , typename ALLOC = std::allocator<char>> | |
std::basic_string< CharT, Traits, RebindAlloc< ALLOC, CharT > > | stringViewToString (BasicStringView< CharT, Traits > stringView, const ALLOC &allocator=ALLOC()) |
template<typename CharT , typename Traits , typename ALLOC = std::allocator<char>> | |
std::basic_string< CharT, Traits, ALLOC > & | operator+= (std::basic_string< CharT, Traits, ALLOC > &first, BasicStringView< CharT, Traits > second) |
template<typename ALLOC > | |
string< ALLOC > | toString (StringView value, const ALLOC &allocator=ALLOC()) |
CppRuntimeException & | operator<< (CppRuntimeException &exception, StringView view) |
constexpr ::zserio::StringView | operator""_sv (const char *str, std::size_t len) noexcept |
template<typename T , typename ALLOC , class... Args> | |
zserio::unique_ptr< T, RebindAlloc< ALLOC, T > > | allocate_unique (const ALLOC &allocator, Args &&... args) |
CppRuntimeException & | operator<< (CppRuntimeException &exception, detail::CreatorState state) |
Variables | |
constexpr PropagateAllocatorT | PropagateAllocator |
constexpr NoInitT | NoInit |
constexpr NullOptType | NullOpt {int()} |
constexpr InPlaceT | InPlace {} |
constexpr std::size_t | dynamic_extent = std::numeric_limits<std::size_t>::max() |
using zserio::AndWalkFilter = typedef BasicAndWalkFilter<> |
using zserio::ArrayLengthWalkFilter = typedef BasicArrayLengthWalkFilter<> |
using zserio::BitBuffer = typedef BasicBitBuffer<> |
Typedef to BitBuffer provided for convenience - using std::allocator<uint8_t>.
Definition at line 444 of file BitBuffer.h.
using zserio::BitBufferArrayTraits = typedef BasicBitBufferArrayTraits<> |
Definition at line 1603 of file ArrayTraits.h.
using zserio::BitBufferReflectableArray = typedef BuiltinReflectableArray<ALLOC, RAW_ARRAY, BitBufferReflectable<ALLOC> > |
Typedef to a builtin array.
Definition at line 2712 of file Reflectable.h.
using zserio::BitBufferReflectableConstArray = typedef BuiltinReflectableConstArray<ALLOC, RAW_ARRAY, BitBufferReflectable<ALLOC> > |
Typedef to a builtin array.
Definition at line 2709 of file Reflectable.h.
using zserio::BoolReflectableArray = typedef BuiltinReflectableArray<ALLOC, RAW_ARRAY, BoolReflectable<ALLOC> > |
Typedef to a builtin array.
Definition at line 2562 of file Reflectable.h.
using zserio::BoolReflectableConstArray = typedef BuiltinReflectableConstArray<ALLOC, RAW_ARRAY, BoolReflectable<ALLOC> > |
Typedef to a builtin array.
Definition at line 2560 of file Reflectable.h.
using zserio::BytesArrayTraits = typedef BasicBytesArrayTraits<> |
Definition at line 1471 of file ArrayTraits.h.
using zserio::BytesReflectableArray = typedef BuiltinReflectableArray<ALLOC, RAW_ARRAY, BytesReflectable<ALLOC> > |
Typedef to a builtin array.
Definition at line 2701 of file Reflectable.h.
using zserio::BytesReflectableConstArray = typedef BuiltinReflectableConstArray<ALLOC, RAW_ARRAY, BytesReflectable<ALLOC> > |
Typedef to a builtin array.
Definition at line 2699 of file Reflectable.h.
using zserio::CaseInfo = typedef BasicCaseInfo<> |
Typedef provided for convenience - using default std::allocator<uint8_t>.
Definition at line 538 of file ITypeInfo.h.
using zserio::ColumnInfo = typedef BasicColumnInfo<> |
Typedef provided for convenience - using default std::allocator<uint8_t>.
Definition at line 539 of file ITypeInfo.h.
using zserio::DefaultWalkFilter = typedef BasicDefaultWalkFilter<> |
using zserio::DefaultWalkObserver = typedef BasicDefaultWalkObserver<> |
using zserio::DepthWalkFilter = typedef BasicDepthWalkFilter<> |
using zserio::DynamicSignedBitFieldReflectableArray = typedef DynamicBitFieldReflectableArray<ALLOC, RAW_ARRAY, DynamicSignedBitFieldReflectable<ALLOC, typename RAW_ARRAY::value_type> > |
Typedef to a builtin array.
Definition at line 2622 of file Reflectable.h.
using zserio::DynamicSignedBitFieldReflectableConstArray = typedef DynamicBitFieldReflectableConstArray<ALLOC, RAW_ARRAY, DynamicSignedBitFieldReflectable<ALLOC, typename RAW_ARRAY::value_type> > |
Typedef to a builtin array.
Definition at line 2619 of file Reflectable.h.
using zserio::DynamicUnsignedBitFieldReflectableArray = typedef DynamicBitFieldReflectableArray<ALLOC, RAW_ARRAY, DynamicUnsignedBitFieldReflectable<ALLOC, typename RAW_ARRAY::value_type> > |
Typedef to a builtin array.
Definition at line 2629 of file Reflectable.h.
using zserio::DynamicUnsignedBitFieldReflectableConstArray = typedef DynamicBitFieldReflectableConstArray<ALLOC, RAW_ARRAY, DynamicUnsignedBitFieldReflectable<ALLOC, typename RAW_ARRAY::value_type> > |
Typedef to a builtin array.
Definition at line 2626 of file Reflectable.h.
using zserio::FieldInfo = typedef BasicFieldInfo<> |
Typedef provided for convenience - using default std::allocator<uint8_t>.
Definition at line 535 of file ITypeInfo.h.
using zserio::FixedSignedBitFieldReflectableArray = typedef FixedBitFieldReflectableArray<ALLOC, RAW_ARRAY, FixedSignedBitFieldReflectable<ALLOC, typename RAW_ARRAY::value_type> > |
Typedef to a builtin array.
Definition at line 2608 of file Reflectable.h.
using zserio::FixedSignedBitFieldReflectableConstArray = typedef FixedBitFieldReflectableConstArray<ALLOC, RAW_ARRAY, FixedSignedBitFieldReflectable<ALLOC, typename RAW_ARRAY::value_type> > |
Typedef to a builtin array.
Definition at line 2605 of file Reflectable.h.
using zserio::FixedUnsignedBitFieldReflectableArray = typedef FixedBitFieldReflectableArray<ALLOC, RAW_ARRAY, FixedUnsignedBitFieldReflectable<ALLOC, typename RAW_ARRAY::value_type> > |
Typedef to a builtin array.
Definition at line 2615 of file Reflectable.h.
using zserio::FixedUnsignedBitFieldReflectableConstArray = typedef FixedBitFieldReflectableConstArray<ALLOC, RAW_ARRAY, FixedUnsignedBitFieldReflectable<ALLOC, typename RAW_ARRAY::value_type> > |
Typedef to a builtin array.
Definition at line 2612 of file Reflectable.h.
using zserio::Float16ReflectableArray = typedef BuiltinReflectableArray<ALLOC, RAW_ARRAY, Float16Reflectable<ALLOC> > |
Typedef to a builtin array.
Definition at line 2686 of file Reflectable.h.
using zserio::Float16ReflectableConstArray = typedef BuiltinReflectableConstArray<ALLOC, RAW_ARRAY, Float16Reflectable<ALLOC> > |
Typedef to a builtin array.
Definition at line 2684 of file Reflectable.h.
using zserio::Float32ReflectableArray = typedef BuiltinReflectableArray<ALLOC, RAW_ARRAY, Float32Reflectable<ALLOC> > |
Typedef to a builtin array.
Definition at line 2691 of file Reflectable.h.
using zserio::Float32ReflectableConstArray = typedef BuiltinReflectableConstArray<ALLOC, RAW_ARRAY, Float32Reflectable<ALLOC> > |
Typedef to a builtin array.
Definition at line 2689 of file Reflectable.h.
using zserio::Float64ReflectableArray = typedef BuiltinReflectableArray<ALLOC, RAW_ARRAY, Float64Reflectable<ALLOC> > |
Typedef to a builtin array.
Definition at line 2696 of file Reflectable.h.
using zserio::Float64ReflectableConstArray = typedef BuiltinReflectableConstArray<ALLOC, RAW_ARRAY, Float64Reflectable<ALLOC> > |
Typedef to a builtin array.
Definition at line 2694 of file Reflectable.h.
using zserio::FunctionInfo = typedef BasicFunctionInfo<> |
Typedef provided for convenience - using default std::allocator<uint8_t>.
Definition at line 537 of file ITypeInfo.h.
using zserio::HeapOptionalHolder = typedef detail::heap_optional_holder<T, ALLOC> |
Optional holder which uses heap storage.
Definition at line 1019 of file OptionalHolder.h.
using zserio::IBasicReflectableConstPtr = typedef typename IBasicReflectable<ALLOC>::ConstPtr |
Typedef to reflectable smart pointer needed for convenience in generated code.
Definition at line 534 of file IReflectable.h.
using zserio::IBasicReflectablePtr = typedef typename IBasicReflectable<ALLOC>::Ptr |
Typedef to reflectable smart pointer needed for convenience in generated code.
Definition at line 531 of file IReflectable.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 42 of file IService.h.
using zserio::InplaceOptionalHolder = typedef detail::inplace_optional_holder<T> |
Optional holder which uses in place storage.
Definition at line 1013 of file OptionalHolder.h.
using zserio::Int16ReflectableArray = typedef BuiltinReflectableArray<ALLOC, RAW_ARRAY, Int16Reflectable<ALLOC> > |
Typedef to a builtin array.
Definition at line 2572 of file Reflectable.h.
using zserio::Int16ReflectableConstArray = typedef BuiltinReflectableConstArray<ALLOC, RAW_ARRAY, Int16Reflectable<ALLOC> > |
Typedef to a builtin array.
Definition at line 2570 of file Reflectable.h.
using zserio::Int32ReflectableArray = typedef BuiltinReflectableArray<ALLOC, RAW_ARRAY, Int32Reflectable<ALLOC> > |
Typedef to a builtin array.
Definition at line 2577 of file Reflectable.h.
using zserio::Int32ReflectableConstArray = typedef BuiltinReflectableConstArray<ALLOC, RAW_ARRAY, Int32Reflectable<ALLOC> > |
Typedef to a builtin array.
Definition at line 2575 of file Reflectable.h.
using zserio::Int64ReflectableArray = typedef BuiltinReflectableArray<ALLOC, RAW_ARRAY, Int64Reflectable<ALLOC> > |
Typedef to a builtin array.
Definition at line 2582 of file Reflectable.h.
using zserio::Int64ReflectableConstArray = typedef BuiltinReflectableConstArray<ALLOC, RAW_ARRAY, Int64Reflectable<ALLOC> > |
Typedef to a builtin array.
Definition at line 2580 of file Reflectable.h.
using zserio::Int8ReflectableArray = typedef BuiltinReflectableArray<ALLOC, RAW_ARRAY, Int8Reflectable<ALLOC> > |
Typedef to a builtin array.
Definition at line 2567 of file Reflectable.h.
using zserio::Int8ReflectableConstArray = typedef BuiltinReflectableConstArray<ALLOC, RAW_ARRAY, Int8Reflectable<ALLOC> > |
Typedef to a builtin array.
Definition at line 2565 of file Reflectable.h.
using zserio::IReflectable = typedef IBasicReflectable<> |
Typedef to reflectable interface provided for convenience - using default std::allocator<uint8_t>.
Definition at line 539 of file IReflectable.h.
using zserio::IReflectableConstPtr = typedef IBasicReflectableConstPtr<> |
Typedef to reflectable interface provided for convenience - using default std::allocator<uint8_t>.
Definition at line 541 of file IReflectable.h.
using zserio::IReflectablePtr = typedef IBasicReflectablePtr<> |
Typedef to reflectable interface provided for convenience - using default std::allocator<uint8_t>.
Definition at line 540 of file IReflectable.h.
using zserio::is_field_constructor_enabled_t = typedef typename is_field_constructor_enabled<FIELD_TYPE, COMPOUND_TYPE, ALLOCATOR_TYPE>::type |
Helper type used for convenient use of is_field_constructor_enabled.
using zserio::IService = typedef IBasicService<> |
Typedef to service interface provided for convenience - using default std::allocator<uint8_t>.
Definition at line 251 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 252 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 249 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 250 of file IService.h.
using zserio::ITypeInfo = typedef IBasicTypeInfo<> |
Typedef provided for convenience - using default std::allocator<uint8_t>.
Definition at line 534 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 101 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 356 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 234 of file JsonReader.h.
using zserio::JsonWriter = typedef BasicJsonWriter<> |
Typedef to JsonWriter provided for convenience - using default std::allocator<uint8_t>.
Definition at line 185 of file JsonWriter.h.
using zserio::MessageInfo = typedef BasicMessageInfo<> |
Typedef provided for convenience - using default std::allocator<uint8_t>.
Definition at line 542 of file ITypeInfo.h.
using zserio::MethodInfo = typedef BasicMethodInfo<> |
Typedef provided for convenience - using default std::allocator<uint8_t>.
Definition at line 543 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::ParameterInfo = typedef BasicParameterInfo<> |
Typedef provided for convenience - using default std::allocator<uint8_t>.
Definition at line 536 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::ReflectableFactory = typedef BasicReflectableFactory<std::allocator<uint8_t> > |
Typedef to the reflectable factory provided for convenience - using default std::allocator<uint8_t>.
Definition at line 4046 of file Reflectable.h.
using zserio::ReflectableServiceData = typedef BasicReflectableServiceData<> |
Typedef to service data implementation provided for convenience - using default std::allocator<uint8_t>.
Definition at line 257 of file IService.h.
using zserio::RegexWalkFilter = typedef BasicRegexWalkFilter<> |
using zserio::string = typedef std::basic_string<char, std::char_traits<char>, RebindAlloc<ALLOC, char> > |
using zserio::StringArrayTraits = typedef BasicStringArrayTraits<> |
Definition at line 1537 of file ArrayTraits.h.
using zserio::StringReflectableArray = typedef BuiltinReflectableArray<ALLOC, RAW_ARRAY, StringReflectable<ALLOC> > |
Typedef to a builtin array.
Definition at line 2706 of file Reflectable.h.
using zserio::StringReflectableConstArray = typedef BuiltinReflectableConstArray<ALLOC, RAW_ARRAY, StringReflectable<ALLOC> > |
Typedef to a builtin array.
Definition at line 2704 of file Reflectable.h.
using zserio::StringView = typedef BasicStringView<char, std::char_traits<char> > |
Specialization of BasicStringView for char.
Definition at line 968 of file StringView.h.
using zserio::TableInfo = typedef BasicTableInfo<> |
Typedef provided for convenience - using default std::allocator<uint8_t>.
Definition at line 540 of file ITypeInfo.h.
using zserio::TemplateArgumentInfo = typedef BasicTemplateArgumentInfo<> |
Typedef provided for convenience - using default std::allocator<uint8_t>.
Definition at line 541 of file ITypeInfo.h.
using zserio::UInt16ReflectableArray = typedef BuiltinReflectableArray<ALLOC, RAW_ARRAY, UInt16Reflectable<ALLOC> > |
Typedef to a builtin array.
Definition at line 2592 of file Reflectable.h.
using zserio::UInt16ReflectableConstArray = typedef BuiltinReflectableConstArray<ALLOC, RAW_ARRAY, UInt16Reflectable<ALLOC> > |
Typedef to a builtin array.
Definition at line 2590 of file Reflectable.h.
using zserio::UInt32ReflectableArray = typedef BuiltinReflectableArray<ALLOC, RAW_ARRAY, UInt32Reflectable<ALLOC> > |
Typedef to a builtin array.
Definition at line 2597 of file Reflectable.h.
using zserio::UInt32ReflectableConstArray = typedef BuiltinReflectableConstArray<ALLOC, RAW_ARRAY, UInt32Reflectable<ALLOC> > |
Typedef to a builtin array.
Definition at line 2595 of file Reflectable.h.
using zserio::UInt64ReflectableArray = typedef BuiltinReflectableArray<ALLOC, RAW_ARRAY, UInt64Reflectable<ALLOC> > |
Typedef to a builtin array.
Definition at line 2602 of file Reflectable.h.
using zserio::UInt64ReflectableConstArray = typedef BuiltinReflectableConstArray<ALLOC, RAW_ARRAY, UInt64Reflectable<ALLOC> > |
Typedef to a builtin array.
Definition at line 2600 of file Reflectable.h.
using zserio::UInt8ReflectableArray = typedef BuiltinReflectableArray<ALLOC, RAW_ARRAY, UInt8Reflectable<ALLOC> > |
Typedef to a builtin array.
Definition at line 2587 of file Reflectable.h.
using zserio::UInt8ReflectableConstArray = typedef BuiltinReflectableConstArray<ALLOC, RAW_ARRAY, UInt8Reflectable<ALLOC> > |
Typedef to a builtin array.
Definition at line 2585 of file Reflectable.h.
using zserio::unique_ptr = 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 89 of file UniquePtr.h.
using zserio::VarInt16ReflectableArray = typedef BuiltinReflectableArray<ALLOC, RAW_ARRAY, VarInt16Reflectable<ALLOC> > |
Typedef to a builtin array.
Definition at line 2636 of file Reflectable.h.
using zserio::VarInt16ReflectableConstArray = typedef BuiltinReflectableConstArray<ALLOC, RAW_ARRAY, VarInt16Reflectable<ALLOC> > |
Typedef to a builtin array.
Definition at line 2633 of file Reflectable.h.
using zserio::VarInt32ReflectableArray = typedef BuiltinReflectableArray<ALLOC, RAW_ARRAY, VarInt32Reflectable<ALLOC> > |
Typedef to a builtin array.
Definition at line 2642 of file Reflectable.h.
using zserio::VarInt32ReflectableConstArray = typedef BuiltinReflectableConstArray<ALLOC, RAW_ARRAY, VarInt32Reflectable<ALLOC> > |
Typedef to a builtin array.
Definition at line 2639 of file Reflectable.h.
using zserio::VarInt64ReflectableArray = typedef BuiltinReflectableArray<ALLOC, RAW_ARRAY, VarInt64Reflectable<ALLOC> > |
Typedef to a builtin array.
Definition at line 2648 of file Reflectable.h.
using zserio::VarInt64ReflectableConstArray = typedef BuiltinReflectableConstArray<ALLOC, RAW_ARRAY, VarInt64Reflectable<ALLOC> > |
Typedef to a builtin array.
Definition at line 2645 of file Reflectable.h.
using zserio::VarIntReflectableArray = typedef BuiltinReflectableArray<ALLOC, RAW_ARRAY, VarIntReflectable<ALLOC> > |
Typedef to a builtin array.
Definition at line 2653 of file Reflectable.h.
using zserio::VarIntReflectableConstArray = typedef BuiltinReflectableConstArray<ALLOC, RAW_ARRAY, VarIntReflectable<ALLOC> > |
Typedef to a builtin array.
Definition at line 2651 of file Reflectable.h.
using zserio::VarSizeReflectableArray = typedef BuiltinReflectableArray<ALLOC, RAW_ARRAY, VarSizeReflectable<ALLOC> > |
Typedef to a builtin array.
Definition at line 2681 of file Reflectable.h.
using zserio::VarSizeReflectableConstArray = typedef BuiltinReflectableConstArray<ALLOC, RAW_ARRAY, VarSizeReflectable<ALLOC> > |
Typedef to a builtin array.
Definition at line 2679 of file Reflectable.h.
using zserio::VarUInt16ReflectableArray = typedef BuiltinReflectableArray<ALLOC, RAW_ARRAY, VarUInt16Reflectable<ALLOC> > |
Typedef to a builtin array.
Definition at line 2659 of file Reflectable.h.
using zserio::VarUInt16ReflectableConstArray = typedef BuiltinReflectableConstArray<ALLOC, RAW_ARRAY, VarUInt16Reflectable<ALLOC> > |
Typedef to a builtin array.
Definition at line 2656 of file Reflectable.h.
using zserio::VarUInt32ReflectableArray = typedef BuiltinReflectableArray<ALLOC, RAW_ARRAY, VarUInt32Reflectable<ALLOC> > |
Typedef to a builtin array.
Definition at line 2665 of file Reflectable.h.
using zserio::VarUInt32ReflectableConstArray = typedef BuiltinReflectableConstArray<ALLOC, RAW_ARRAY, VarUInt32Reflectable<ALLOC> > |
Typedef to a builtin array.
Definition at line 2662 of file Reflectable.h.
using zserio::VarUInt64ReflectableArray = typedef BuiltinReflectableArray<ALLOC, RAW_ARRAY, VarUInt64Reflectable<ALLOC> > |
Typedef to a builtin array.
Definition at line 2671 of file Reflectable.h.
using zserio::VarUInt64ReflectableConstArray = typedef BuiltinReflectableConstArray<ALLOC, RAW_ARRAY, VarUInt64Reflectable<ALLOC> > |
Typedef to a builtin array.
Definition at line 2668 of file Reflectable.h.
using zserio::VarUIntReflectableArray = typedef BuiltinReflectableArray<ALLOC, RAW_ARRAY, VarUIntReflectable<ALLOC> > |
Typedef to a builtin array.
Definition at line 2676 of file Reflectable.h.
using zserio::VarUIntReflectableConstArray = typedef BuiltinReflectableConstArray<ALLOC, RAW_ARRAY, VarUIntReflectable<ALLOC> > |
Typedef to a builtin array.
Definition at line 2674 of file Reflectable.h.
using zserio::vector = typedef std::vector<T, RebindAlloc<ALLOC, T> > |
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 561 of file ZserioTreeCreator.h.
enum zserio::ArrayType |
Array type enum which defined type of the underlying array.
|
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++ int32_t type |
UINT64 | C++ int64_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 12 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 19 of file JsonTokenizer.h.
|
strong |
Enumeration which specifies zserio type used in type information.
Definition at line 40 of file ITypeInfo.h.
|
inline |
Aligns the bit size to the given alignment value.
alignmentValue | Value to align. |
bitPosition | Current bit position where to apply alignment. |
Definition at line 17 of file BitPositionUtil.h.
zserio::unique_ptr<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 101 of file UniquePtr.h.
AnyHolder< ALLOC > zserio::allocatorPropagatingCopy | ( | const AnyHolder< ALLOC > & | source, |
const ALLOC2 & | allocator | ||
) |
Copy the input any holder, propagating the allocator where needed.
source | Any holder to copy. |
allocator | Allocator to be propagated to the target object type constructor. |
Definition at line 297 of file AllocatorPropagatingCopy.h.
T zserio::allocatorPropagatingCopy | ( | const T & | source, |
const ALLOC & | allocator | ||
) |
Copy the input object, propagating the allocator where needed.
source | Object to copy. |
allocator | Allocator to be propagated to the target object type constructor. |
Definition at line 265 of file AllocatorPropagatingCopy.h.
AnyHolder< ALLOC > zserio::allocatorPropagatingCopy | ( | NoInitT | , |
const AnyHolder< ALLOC > & | source, | ||
const ALLOC2 & | allocator | ||
) |
Copy the input any holder, propagating the allocator where needed and prevents initialization.
source | Any holder to copy. |
allocator | Allocator to be propagated to the target object type constructor. |
Definition at line 311 of file AllocatorPropagatingCopy.h.
T zserio::allocatorPropagatingCopy | ( | NoInitT | , |
const T & | source, | ||
const ALLOC & | allocator | ||
) |
Copy the input object, propagating the allocator where needed and prevents initialization.
source | Object to copy. |
allocator | Allocator to be propagated to the target object type constructor. |
Definition at line 281 of file AllocatorPropagatingCopy.h.
size_t zserio::bitSizeOf | ( | PACKING_CONTEXT & | context, |
T | value | ||
) |
Gets bit size of the given enum item when it's inside a packed array.
Note that T can be varuint, so bitSizeOf cannot return constant value and depends on the concrete item.
context | Packing context. |
value | Enum item. |
size_t zserio::bitSizeOf | ( | T | value | ) |
Gets bit size of the given enum item.
Note that T can be varuint, so bitSizeOf cannot return constant value and depends on the concrete item.
value | Enum item. |
size_t zserio::bitSizeOfBitBuffer | ( | const BasicBitBuffer< ALLOC > & | bitBuffer | ) |
Calculates bit size of the bit buffer.
bitBuffer | Bit buffer for which to calculate bit size. |
Definition at line 124 of file BitSizeOfCalculator.h.
size_t zserio::bitSizeOfBytes | ( | Span< const uint8_t > | bytesValue | ) |
Calculates bit size of bytes.
bytesValue | Span representing the bytes value. |
Definition at line 167 of file BitSizeOfCalculator.cpp.
size_t zserio::bitSizeOfString | ( | StringView | stringValue | ) |
Calculates bit size of the string.
stringValue | String view for which to calculate bit size. |
Definition at line 175 of file BitSizeOfCalculator.cpp.
size_t zserio::bitSizeOfVarInt | ( | int64_t | value | ) |
Calculates bit size of Zserio varint type.
value | Varint value. |
Definition at line 147 of file BitSizeOfCalculator.cpp.
size_t zserio::bitSizeOfVarInt16 | ( | int16_t | value | ) |
Calculates bit size of Zserio varint16 type.
value | Varint16 value. |
Definition at line 117 of file BitSizeOfCalculator.cpp.
size_t zserio::bitSizeOfVarInt32 | ( | int32_t | value | ) |
Calculates bit size of Zserio varint32 type.
value | Varint32 value. |
Definition at line 122 of file BitSizeOfCalculator.cpp.
size_t zserio::bitSizeOfVarInt64 | ( | int64_t | value | ) |
Calculates bit size of Zserio varint64 type.
value | Varint64 value. |
Definition at line 127 of file BitSizeOfCalculator.cpp.
size_t zserio::bitSizeOfVarSize | ( | uint32_t | value | ) |
Calculates bit size of Zserio varsize type.
value | Varsize value. |
Definition at line 162 of file BitSizeOfCalculator.cpp.
size_t zserio::bitSizeOfVarUInt | ( | uint64_t | value | ) |
Calculates bit size of Zserio varuint type.
value | Varuint value. |
Definition at line 157 of file BitSizeOfCalculator.cpp.
size_t zserio::bitSizeOfVarUInt16 | ( | uint16_t | value | ) |
Calculates bit size of Zserio varuint16 type.
value | Varuint16 value. |
Definition at line 132 of file BitSizeOfCalculator.cpp.
size_t zserio::bitSizeOfVarUInt32 | ( | uint32_t | value | ) |
Calculates bit size of Zserio varuint32 type.
value | Varuint32 value. |
Definition at line 137 of file BitSizeOfCalculator.cpp.
size_t zserio::bitSizeOfVarUInt64 | ( | uint64_t | value | ) |
Calculates bit size of Zserio varuint64 type.
value | Varuint64 value. |
Definition at line 142 of file BitSizeOfCalculator.cpp.
|
inline |
Calculates hash code of the given Zserio optional field using the given seed value.
seedValue | Seed value (current hash code). |
optionalHolder | Optional field for which to calculate the hash code. |
Definition at line 192 of file HashCodeUtil.h.
|
inline |
Calculates hash code of the given Zserio optional field using the given seed value.
seedValue | Seed value (current hash code). |
optionalHolder | Optional field for which to calculate the hash code. |
Definition at line 173 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 137 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 100 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 151 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 86 of file HashCodeUtil.h.
|
inline |
Calculates hash code of the given enum item using the given seed value.
seedValue | Seed value (current hash code). |
enumValue | Enum item for which to calculate the hash code. |
Definition at line 121 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 73 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 43 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 58 of file HashCodeUtil.h.
|
inline |
Gets initial hash code calculated from the given seed value.
seedValue | Seed value (current hash code). |
Definition at line 29 of file HashCodeUtil.h.
|
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.
NullOptType zserio::createOptionalArray | ( | NullOptType | ) |
ARRAY zserio::createOptionalArray | ( | RAW_ARRAY && | rawArray | ) |
std::enable_if<std::is_enum<T>::value, T>::type zserio::deserialize | ( | const BasicBitBuffer< ALLOC > & | bitBuffer | ) |
Deserializes given bit buffer to instance of generated enum.
Example:
bitBuffer | Bit buffer to use. |
CppRuntimeException | When deserialization fails. |
Definition at line 220 of file SerializeUtil.h.
std::enable_if<!std::is_enum<T>::value, T>::type zserio::deserialize | ( | const BasicBitBuffer< ALLOC > & | bitBuffer, |
ARGS &&... | arguments | ||
) |
Deserializes given bit buffer to instance of generated object.
Example:
bitBuffer | Bit buffer to use. |
arguments | Object's actual parameters together with allocator for object's read constructor (optional). |
CppRuntimeException | When deserialization fails. |
Definition at line 194 of file SerializeUtil.h.
std::enable_if<std::is_enum<T>::value, T>::type zserio::deserializeFromBytes | ( | Span< const uint8_t > | buffer | ) |
Deserializes given vector of bytes to instance of generated enum.
Example:
bitBuffer | Vector of bytes to use. |
CppRuntimeException | When deserialization fails. |
Definition at line 374 of file SerializeUtil.h.
std::enable_if<!std::is_enum<T>::value, T>::type zserio::deserializeFromBytes | ( | Span< const uint8_t > | buffer, |
ARGS &&... | arguments | ||
) |
Deserializes given vector of bytes to instance of generated object.
This method can potentially use all bits of the last byte even if not all of them were written during serialization (because there is no way how to specify exact number of bits). Thus, it could allow reading behind stream (possibly in case of damaged data).
Example:
bitBuffer | Vector of bytes to use. |
arguments | Object's actual parameters together with allocator for object's read constructor (optional). |
CppRuntimeException | When deserialization fails. |
Definition at line 348 of file SerializeUtil.h.
T zserio::deserializeFromFile | ( | const std::string & | fileName, |
ARGS &&... | arguments | ||
) |
Deserializes given file contents to instance of generated object.
Example:
fileName | File to use. |
arguments | Object's arguments (optional). |
CppRuntimeException | When deserialization fails. |
Definition at line 426 of file SerializeUtil.h.
uint32_t zserio::enumHashCode | ( | T | value | ) |
Gets the hash code of the given enum item.
value | Enum item. |
IBasicReflectablePtr<ALLOC> zserio::enumReflectable | ( | T | value, |
const ALLOC & | allocator = ALLOC() |
||
) |
Gets reflectable view for the given enum item.
value | Enum value to reflect. |
allocator | Allocator to use for reflectable allocation. |
size_t zserio::enumToOrdinal | ( | T | value | ) |
Gets ordinal number of the given enum item.
value | Enum item. |
const char* zserio::enumToString | ( | T | value | ) |
|
constexpr |
const IBasicTypeInfo<ALLOC>& zserio::enumTypeInfo | ( | ) |
Gets type info for the given enum type.
detail::DebugStringTraits<ALLOC>::ReflectablePtr zserio::fromJsonFile | ( | const IBasicTypeInfo< ALLOC > & | typeInfo, |
const string< ALLOC > & | 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 579 of file DebugStringUtil.h.
T zserio::fromJsonFile | ( | const string< ALLOC > & | 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 615 of file DebugStringUtil.h.
detail::DebugStringTraits<ALLOC>::ReflectablePtr 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 456 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 488 of file DebugStringUtil.h.
detail::DebugStringTraits<ALLOC>::ReflectablePtr zserio::fromJsonString | ( | const IBasicTypeInfo< ALLOC > & | typeInfo, |
const string< ALLOC > & | 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 518 of file DebugStringUtil.h.
T zserio::fromJsonString | ( | const string< ALLOC > & | 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 550 of file DebugStringUtil.h.
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.
size_t zserio::initializeOffsets | ( | PACKING_CONTEXT & | context, |
size_t | bitPosition, | ||
T | value | ||
) |
Initializes offsets for the enum item when it's inside a packed array.
Note that T can be varuint, so initializeOffsets cannot return constant value and depends on the concrete item.
context | Packing context. |
bitPosition | Current bit position. |
value | Enum item. |
size_t zserio::initializeOffsets | ( | size_t | bitPosition, |
T | value | ||
) |
Initializes offsets for the enum item.
Note that T can be varuint, so initializeOffsets cannot return constant value and depends on the concrete item.
bitPosition | Current bit position. |
value | Enum item. |
void zserio::initPackingContext | ( | PACKING_CONTEXT & | context, |
T | value | ||
) |
Initializes packing context for the given enum item.
context | Packing context. |
value | Enum item. |
|
constexpr |
Convenience function that initializes a string view to given array of chars.
str | Input string in form of array of characters. |
Definition at line 929 of file StringView.h.
|
constexprnoexcept |
Comparison operator.
lhs | Left hand side operator. |
rhs | Right hand side operator. |
Definition at line 865 of file StringView.h.
std::basic_string<CharT, Traits, ALLOC>& zserio::operator+= | ( | std::basic_string< CharT, Traits, ALLOC > & | first, |
BasicStringView< CharT, Traits > | second | ||
) |
Append string view to string.
first | String to which the second string should be appended. |
second | String view to append to the first. |
Definition at line 959 of file StringView.h.
|
constexprnoexcept |
Comparison operator.
lhs | Left hand side operator. |
rhs | Right hand side operator. |
Definition at line 878 of file StringView.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 165 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 51 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 455 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 45 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 149 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 165 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, |
double | value | ||
) |
Appends a double value to the exception's description.
exception | Exception to modify. |
value | Double value to append. |
Definition at line 72 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 56 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.
|
inline |
Allows to append StringView to CppRuntimeException.
exception | Exception to modify. |
view | String view. |
Definition at line 990 of file StringView.h.
CppRuntimeException & zserio::operator<< | ( | CppRuntimeException & | exception, |
T | value | ||
) |
Appends an integral value to the exception's description.
exception | Exception to modify. |
value | Integral value to append. |
Appends any object which implement getValue() method (e.g. bitmask) to the exception's description.
exception | Exception to modify. |
value | Object with getValue() method to append. |
Appends any enumeration value to the exception's description.
exception | Exception to modify. |
value | Enumeration value to append. |
Definition at line 118 of file CppRuntimeException.h.
|
constexprnoexcept |
Comparison operator.
lhs | Left hand side operator. |
rhs | Right hand side operator. |
Definition at line 891 of file StringView.h.
|
constexprnoexcept |
Comparison operator.
lhs | Left hand side operator. |
rhs | Right hand side operator. |
Definition at line 852 of file StringView.h.
|
constexprnoexcept |
Comparison operator.
lhs | Left hand side operator. |
rhs | Right hand side operator. |
Definition at line 904 of file StringView.h.
|
constexprnoexcept |
Comparison operator.
lhs | Left hand side operator. |
rhs | Right hand side operator. |
Definition at line 917 of file StringView.h.
T zserio::read | ( | BitStreamReader & | in | ) |
Reads an enum item.
in | Bit stream reader. |
T zserio::read | ( | PACKING_CONTEXT & | context, |
BitStreamReader & | in | ||
) |
Reads an enum item which is inside a packed array.
context | Packing context. |
in | Bit stream reader. |
BitBuffer zserio::readBufferFromFile | ( | const std::string & | fileName | ) |
Read file to bit buffer object.
fileName | File to read. |
CppRuntimeException | When reading fails. |
Definition at line 25 of file FileUtil.cpp.
BasicBitBuffer<ALLOC> zserio::serialize | ( | T & | object, |
ARGS &&... | arguments | ||
) |
Serializes given generated object to bit buffer using default allocator 'std::allocator<uint8_t>'.
Before serialization, the method properly calls on the given zserio object methods initialize()
(if exits), initializeChildren()
(if exists) and initializeOffsets()
.
Example:
object | Generated object to serialize. |
arguments | Object's actual parameters for initialize() method (optional). |
CppRuntimeException | When serialization fails. |
Definition at line 141 of file SerializeUtil.h.
BasicBitBuffer<ALLOC> zserio::serialize | ( | T & | object, |
const ALLOC & | allocator, | ||
ARGS &&... | arguments | ||
) |
Serializes given generated object to bit buffer using given allocator.
Before serialization, the method properly calls on the given zserio object methods initialize()
(if exits), initializeChildren()
(if exists) and initializeOffsets()
.
Example:
object | Generated object to serialize. |
allocator | Allocator to use to allocate bit buffer. |
arguments | Object's actual parameters for initialize() method (optional). |
CppRuntimeException | When serialization fails. |
Definition at line 111 of file SerializeUtil.h.
BasicBitBuffer<ALLOC> zserio::serialize | ( | T | enumValue, |
const ALLOC & | allocator = ALLOC() |
||
) |
Serializes given generated enum to bit buffer.
Example:
enumValue | Generated enum to serialize. |
allocator | Allocator to use to allocate bit buffer. |
CppRuntimeException | When serialization fails. |
Definition at line 166 of file SerializeUtil.h.
vector<uint8_t, ALLOC> zserio::serializeToBytes | ( | T & | object, |
ARGS &&... | arguments | ||
) |
Serializes given generated object to vector of bytes using default allocator 'std::allocator<uint8_t>'.
Before serialization, the method properly calls on the given zserio object methods initialize()
(if exits), initializeChildren()
(if exists) and initializeOffsets()
.
However, it's still possible that not all bits of the last byte are used. In this case, only most significant bits of the corresponding size are used.
Example:
object | Generated object to serialize. |
arguments | Object's actual parameters for initialize() method (optional). |
CppRuntimeException | When serialization fails. |
Definition at line 289 of file SerializeUtil.h.
vector<uint8_t, ALLOC> zserio::serializeToBytes | ( | T & | object, |
const ALLOC & | allocator, | ||
ARGS &&... | arguments | ||
) |
Serializes given generated object to vector of bytes using given allocator.
Before serialization, the method properly calls on the given zserio object methods initialize()
(if exits), initializeChildren()
(if exists) and initializeOffsets()
.
Example:
object | Generated object to serialize. |
allocator | Allocator to use to allocate vector. |
arguments | Object's actual parameters for initialize() method (optional). |
CppRuntimeException | When serialization fails. |
Definition at line 253 of file SerializeUtil.h.
vector<uint8_t, ALLOC> zserio::serializeToBytes | ( | T | enumValue, |
const ALLOC & | allocator = ALLOC() |
||
) |
Serializes given generated enum to vector of bytes.
Example:
enumValue | Generated enum to serialize. |
allocator | Allocator to use to allocate vector. |
CppRuntimeException | When serialization fails. |
Definition at line 317 of file SerializeUtil.h.
void zserio::serializeToFile | ( | T & | object, |
const std::string & | fileName, | ||
ARGS &&... | arguments | ||
) |
Serializes given generated object to file.
Example:
object | Generated object to serialize. |
fileName | File name to write. |
CppRuntimeException | When serialization fails. |
Definition at line 397 of file SerializeUtil.h.
T zserio::stringToEnum | ( | StringView | 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. |
std::basic_string<CharT, Traits, RebindAlloc<ALLOC, CharT> > zserio::stringViewToString | ( | BasicStringView< CharT, Traits > | stringView, |
const ALLOC & | allocator = ALLOC() |
||
) |
Convenience function that constructs string from a string view and allocator.
stringView | String view to convert. |
allocator | Allocator to use for the string construction. |
Definition at line 944 of file StringView.h.
void zserio::toJsonFile | ( | const T & | object, |
const string< ALLOC > & | 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 335 of file DebugStringUtil.h.
void zserio::toJsonFile | ( | const T & | object, |
const string< ALLOC > & | 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 363 of file DebugStringUtil.h.
void zserio::toJsonFile | ( | const T & | object, |
const string< ALLOC > & | 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 425 of file DebugStringUtil.h.
void zserio::toJsonFile | ( | const T & | object, |
const string< ALLOC > & | 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 394 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 104 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 132 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 197 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 163 of file DebugStringUtil.h.
string<ALLOC> 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 222 of file DebugStringUtil.h.
string<ALLOC> 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 250 of file DebugStringUtil.h.
string<ALLOC> 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 312 of file DebugStringUtil.h.
string<ALLOC> 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 280 of file DebugStringUtil.h.
string<ALLOC> 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 181 of file StringConvertUtil.h.
string<ALLOC> zserio::toString | ( | StringView | 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 977 of file StringView.h.
string<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 194 of file StringConvertUtil.h.
string<ALLOC> 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.
T zserio::valueToEnum | ( | typename std::underlying_type< T >::type | 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. |
void zserio::write | ( | BitStreamWriter & | out, |
T | value | ||
) |
Writes the enum item to the given bit stream.
out | Bit stream writer. |
value | Enum item to write. |
void zserio::write | ( | PACKING_CONTEXT & | context, |
BitStreamWriter & | out, | ||
T | value | ||
) |
Writes the enum item which is inside a packed array to the given bit stream.
context | Packing context. |
out | Bit stream writer. |
value | Enum item to write. |
|
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.
|
inline |
Writes write-buffer of the given bit stream writer to file.
Overloaded function provided for convenience.
writer | Bit stream writer to use. |
fileName | Name of the file to write. |
CppRuntimeException | When writing fails. |
Definition at line 84 of file FileUtil.h.
void zserio::writeBufferToFile | ( | const uint8_t * | buffer, |
size_t | bitSize, | ||
BitsTag | , | ||
const std::string & | 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 |
|
constexpr |
Constant used as a marker for in-place construction.
Definition at line 45 of file OptionalHolder.h.
|
constexpr |
|
constexpr |
Constant used to convenient specification of an unset optional holder.
Definition at line 32 of file OptionalHolder.h.
|
constexpr |
Constant used to convenient specification of allocator propagation.
Definition at line 28 of file AllocatorPropagatingCopy.h.