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

Namespaces

namespace  dcn
 
namespace  dcn::parse
 

Functions

std::string dcn::constructFeatureSolidityCode (const Feature &feature)
 
template<>
Result< jsondcn::parse::parseToJson (TransformationDef transform_def, use_json_t)
 Parses a TransformationDef object to a JSON object.
 
template<>
Result< TransformationDef > dcn::parse::parseFromJson (json json, use_json_t)
 Parses a JSON object to a condition object.
 
template<>
Result< jsondcn::parse::parseToJson (Dimension dimension, use_json_t)
 Parses a Dimension object to a JSON object.
 
template<>
Result< Dimension > dcn::parse::parseFromJson (json json_obj, use_json_t)
 Parses a JSON object to a condition object.
 
template<>
Result< std::string > dcn::parse::parseToJson (Dimension dimension, use_protobuf_t)
 Parses a Dimension object to a JSON string using Protobuf.
 
template<>
Result< Dimension > dcn::parse::parseFromJson (std::string json_str, use_protobuf_t)
 Parses a JSON string to a condition object using Protobuf.
 
template<>
Result< jsondcn::parse::parseToJson (Feature feature, use_json_t)
 Parses a Feature object to a JSON object.
 
template<>
Result< Feature > dcn::parse::parseFromJson (json json_obj, use_json_t)
 Parses a JSON object to a condition object.
 
template<>
Result< std::string > dcn::parse::parseToJson (Feature feature, use_protobuf_t)
 Converts a Feature object to a JSON string using protobuf.
 
template<>
Result< Feature > dcn::parse::parseFromJson (std::string json_str, use_protobuf_t)
 Parses a JSON string to a condition object using Protobuf.
 
template<>
Result< jsondcn::parse::parseToJson (FeatureRecord feature, use_json_t)
 Converts a FeatureRecord object to a JSON object using JSON.
 
template<>
Result< std::string > dcn::parse::parseToJson (FeatureRecord feature_record, use_protobuf_t)
 Converts a FeatureRecord to a JSON string using Protobuf.
 
template<>
Result< FeatureRecord > dcn::parse::parseFromJson (json json_obj, use_json_t)
 Parses a JSON object to a condition object.
 
template<>
Result< FeatureRecord > dcn::parse::parseFromJson (std::string json_str, use_protobuf_t)
 Parses a JSON string to a condition object using Protobuf.