2#include <absl/hash/hash.h>
22 h = H::combine(std::move(h), td.name());
23 for (
const int32_t & arg : td.args()) {
24 h = H::combine(std::move(h), arg);
40 h = H::combine(std::move(h), d.feature_name());
41 for (
const TransformationDef & t : d.transformations()) {
42 h = H::combine(std::move(h), t);
57 h = H::combine(std::move(h), f.name());
58 for (
const Dimension & d : f.dimensions()) {
59 h = H::combine(std::move(h), d);
74 Result<json>
parseToJson(TransformationDef transform_def, use_json_t);
88 Result<json>
parseToJson(Dimension dimension, use_json_t);
102 Result<std::string>
parseToJson(Dimension dimension, use_protobuf_t);
109 Result<Dimension>
parseFromJson(std::string json_str, use_protobuf_t);
116 Result<json>
parseToJson(Feature feature, use_json_t);
131 Result<std::string>
parseToJson(Feature feature, use_protobuf_t);
138 Result<Feature>
parseFromJson(std::string json_str, use_protobuf_t);
145 Result<json>
parseToJson(FeatureRecord feature, use_json_t);
152 Result<std::string>
parseToJson(FeatureRecord feature_record, use_protobuf_t);
166 Result<FeatureRecord>
parseFromJson(std::string json_str, use_protobuf_t);
Result< json > parseToJson(T message, use_json_t)
Converts a T to a JSON object using JSON.
Result< T > parseFromJson(json json, use_json_t)
Converts a JSON string to a T using JSON.
Definition decentralised_art.hpp:29
std::string constructFeatureSolidityCode(const Feature &feature)
Definition feature.cpp:7
H AbslHashValue(H h, const Condition &c)
Combines hash values for a Condition object.
Definition condition.hpp:24
nlohmann::json json
Definition parser.hpp:4