docc 0.8.3 (0d44999b)
C++ API Reference
Loading...
Searching...
No Matches
sdfg::serializer::CutoutSerializer Class Reference

#include <sdfg/cutouts/cutout_serializer.h>

Inheritance diagram for sdfg::serializer::CutoutSerializer:
[legend]

Public Member Functions

 CutoutSerializer ()
nlohmann::json serialize (const sdfg::StructuredSDFG &sdfg, analysis::AnalysisManager *analysis_manager, structured_control_flow::Sequence *cutout_root) override
Public Member Functions inherited from sdfg::serializer::JSONSerializer
 JSONSerializer (bool recurse=true)
void serialize_node (nlohmann::json &j, const structured_control_flow::ControlFlowNode &node)
std::unique_ptr< sdfg::StructuredSDFG > deserialize (nlohmann::json &j)
void structure_definition_to_json (nlohmann::json &j, const sdfg::types::StructureDefinition &definition)
void type_to_json (nlohmann::json &j, const sdfg::types::IType &type)
void dataflow_to_json (nlohmann::json &j, const sdfg::data_flow::DataFlowGraph &dataflow)
void sequence_to_json (nlohmann::json &j, const sdfg::structured_control_flow::Sequence &sequence)
void block_to_json (nlohmann::json &j, const sdfg::structured_control_flow::Block &block)
void assignment_block_to_json (nlohmann::json &j, const structured_control_flow::AssignmentBlock &block)
void if_else_to_json (nlohmann::json &j, const sdfg::structured_control_flow::IfElse &if_else_node)
void while_node_to_json (nlohmann::json &j, const sdfg::structured_control_flow::While &while_node)
void break_node_to_json (nlohmann::json &j, const sdfg::structured_control_flow::Break &break_node)
void continue_node_to_json (nlohmann::json &j, const sdfg::structured_control_flow::Continue &continue_node)
void return_node_to_json (nlohmann::json &j, const sdfg::structured_control_flow::Return &return_node)
void structured_loop_to_json (nlohmann::json &j, const sdfg::structured_control_flow::StructuredLoop &loop_node)
void debug_info_to_json (nlohmann::json &j, const sdfg::DebugInfo &debug_info)
void schedule_type_to_json (nlohmann::json &j, const sdfg::structured_control_flow::ScheduleType &schedule_type)
void storage_type_to_json (nlohmann::json &j, const sdfg::types::StorageType &storage_type)
void json_to_structure_definition (const nlohmann::json &j, sdfg::builder::StructuredSDFGBuilder &builder)
void json_to_dataflow (const nlohmann::json &j, sdfg::builder::StructuredSDFGBuilder &builder, sdfg::structured_control_flow::Block &parent)
control_flow::Assignments parse_assignments (const nlohmann::json &assignments_arr)
void parse_legacy_transition_to_assignment_block (const nlohmann::json &j, sdfg::builder::StructuredSDFGBuilder &builder, sdfg::structured_control_flow::Sequence &parent)
void json_to_sequence (const nlohmann::json &j, sdfg::builder::StructuredSDFGBuilder &builder, sdfg::structured_control_flow::Sequence &sequence)
void json_to_block_node (const nlohmann::json &j, sdfg::builder::StructuredSDFGBuilder &builder, sdfg::structured_control_flow::Sequence &parent)
void json_to_assignment_block (const nlohmann::json &j, sdfg::builder::StructuredSDFGBuilder &builder, sdfg::structured_control_flow::Sequence &parent)
void json_to_if_else_node (const nlohmann::json &j, sdfg::builder::StructuredSDFGBuilder &builder, sdfg::structured_control_flow::Sequence &parent)
void json_to_while_node (const nlohmann::json &j, sdfg::builder::StructuredSDFGBuilder &builder, sdfg::structured_control_flow::Sequence &parent)
void json_to_break_node (const nlohmann::json &j, sdfg::builder::StructuredSDFGBuilder &builder, sdfg::structured_control_flow::Sequence &parent)
void json_to_continue_node (const nlohmann::json &j, sdfg::builder::StructuredSDFGBuilder &builder, sdfg::structured_control_flow::Sequence &parent)
void json_to_return_node (const nlohmann::json &j, sdfg::builder::StructuredSDFGBuilder &builder, sdfg::structured_control_flow::Sequence &parent)
void json_to_structured_loop_node (const nlohmann::json &j, sdfg::builder::StructuredSDFGBuilder &builder, sdfg::structured_control_flow::Sequence &parent)
std::unique_ptr< sdfg::types::IType > json_to_type (const nlohmann::json &j)
std::vector< std::pair< std::string, types::Scalar > > json_to_arguments (const nlohmann::json &j)
DebugInfo json_to_debug_info (const nlohmann::json &j)
ScheduleType json_to_schedule_type (const nlohmann::json &j)
types::StorageType json_to_storage_type (const nlohmann::json &j)
symbolic::Expression json_to_expr (const nlohmann::json &j)

Additional Inherited Members

Static Public Member Functions inherited from sdfg::serializer::JSONSerializer
static void element_metadata_to_json (nlohmann::json &j, const sdfg::Element &element)
static std::string expression (const symbolic::Expression expr)
static void writeToFile (const StructuredSDFG &sdfg, const std::filesystem::path &file)
Public Attributes inherited from sdfg::serializer::JSONSerializer
bool skip_empty_transitions = false

Constructor & Destructor Documentation

◆ CutoutSerializer()

sdfg::serializer::CutoutSerializer::CutoutSerializer ( )
inline

Member Function Documentation

◆ serialize()

nlohmann::json sdfg::serializer::CutoutSerializer::serialize ( const sdfg::StructuredSDFG & sdfg,
analysis::AnalysisManager * analysis_manager,
structured_control_flow::Sequence * cutout_root )
overridevirtual

Reimplemented from sdfg::serializer::JSONSerializer.


The documentation for this class was generated from the following file: