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.cpp File Reference
#include "transformation.hpp"

Namespaces

namespace  dcn
 
namespace  dcn::parse
 

Functions

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< Transformationdcn::parse::parseFromJson (json json_obj, 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< Transformationdcn::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 TransformationDef object.
 
template<>
std::optional< TransformationRecorddcn::parse::parseFromJson (std::string json_str, use_protobuf_t)
 Parses a JSON string to a Dimension object.