Decentralised Art Server
High-performance C++ backend that exposes HTML interface and a secure REST API for managing Performative Transactions entities
 
Loading...
Searching...
No Matches
transformation.hpp File Reference
#include <string>
#include <regex>
#include <algorithm>
#include <absl/hash/hash.h>
#include <spdlog/spdlog.h>
#include "transformation.pb.h"
#include "parser.hpp"

Go to the source code of this file.

Namespaces

namespace  dcn
 
namespace  dcn::parse
 

Functions

template<typename H >
H dcn::AbslHashValue (H h, const Transformation &t)
 Combines hash values for a Transformation object.
 
std::string dcn::constructTransformationSolidityCode (const Transformation &transformation)
 
std::optional< jsondcn::parse::parseToJson (Transformation transformation, use_json_t)
 Parses a Transformation object to a JSON object.
 
template<>
std::optional< TransformationDefdcn::parse::parseFromJson (json json, use_json_t)
 Parses a JSON object to a TransformationDef object.
 
std::optional< std::string > dcn::parse::parseToJson (Transformation transformation, use_protobuf_t)
 Converts a Transformation object to a JSON string using protobuf.
 
template<>
std::optional< Dimensiondcn::parse::parseFromJson (std::string json_str, use_protobuf_t)
 Parses a JSON string to a Dimension object.
 
std::optional< jsondcn::parse::parseToJson (TransformationRecord transformation_record, use_json_t)
 Converts a TransformationRecord object to a JSON object.
 
std::optional< std::string > dcn::parse::parseToJson (TransformationRecord transformation_record, use_protobuf_t)
 Converts a TransformationRecord object to a JSON string using Protobuf.
 
template<>
std::optional< TransformationRecorddcn::parse::parseFromJson (json json_obj, use_json_t)
 Parses a JSON object to a TransformationRecord object.
 
template<>
std::optional< TransformationRecorddcn::parse::parseFromJson (std::string json_str, use_protobuf_t)
 Parses a JSON string to a TransformationRecord object using Protobuf.