#include <array>
#include <cstdint>
#include <cstring>
#include <functional>
#include <limits>
#include <map>
#include <sstream>
#include <string>
#include <variant>
#include <vector>
Go to the source code of this file.
|
using | DataTamerParser::FieldsVector = std::vector< TypeField > |
|
using | DataTamerParser::VarNumber = std::variant< bool, char, int8_t, uint8_t, int16_t, uint16_t, int32_t, uint32_t, int64_t, uint64_t, float, double > |
|
|
enum | DataTamerParser::BasicType {
DataTamerParser::BasicType::BOOL,
DataTamerParser::BasicType::CHAR,
DataTamerParser::BasicType::INT8,
DataTamerParser::BasicType::UINT8,
DataTamerParser::BasicType::INT16,
DataTamerParser::BasicType::UINT16,
DataTamerParser::BasicType::INT32,
DataTamerParser::BasicType::UINT32,
DataTamerParser::BasicType::INT64,
DataTamerParser::BasicType::UINT64,
DataTamerParser::BasicType::FLOAT32,
DataTamerParser::BasicType::FLOAT64,
DataTamerParser::BasicType::OTHER
} |
|
|
uint64_t | DataTamerParser::AddFieldToHash (const TypeField &field, uint64_t hash) |
|
Schema | DataTamerParser::BuilSchemaFromText (const std::string &txt) |
|
template<typename T > |
T | DataTamerParser::Deserialize (BufferSpan &buffer) |
|
VarNumber | DataTamerParser::DeserializeToVarNumber (BasicType type, BufferSpan &buffer) |
|
bool | DataTamerParser::GetBit (BufferSpan mask, size_t index) |
|
template<typename NumberCallback , typename CustomCallback = decltype(NullCustomCallback)> |
bool | DataTamerParser::ParseSnapshot (const Schema &schema, SnapshotView snapshot, const NumberCallback &callback_number, const CustomCallback &callback_custom=NullCustomCallback) |
|
template<typename NumberCallback > |
bool | DataTamerParser::ParseSnapshotRecursive (const TypeField &field, const std::map< std::string, FieldsVector > &types_list, BufferSpan &buffer, const NumberCallback &callback_number, const std::string &prefix) |
|