27 #include <SimoxUtility/meta/type_name.h>
42 std::pair<std::vector<std::pair<std::string, std::string>>,
bool>
51 CppBlockPtr block_if_data = std::make_shared<CppBlock>();
52 block_if_data->addLine(accessor +
nextEl() +
"resetSoft();");
62 b->addLine(accessor +
" = {};");
66 b->addLine(accessor +
nextEl() +
"resetHard();");
73 const std::string& cppAccessor,
75 std::string& variantAccessor)
const
85 "})); // of " + cppAccessor);
92 std::string& variantAccessor)
const
94 CppBlockPtr block_if_data = std::make_shared<CppBlock>();
98 block_if_data->addLine(variantAccessor +
" = " + cppAccessor +
nextEl() +
"write(" +
101 "})); // of " + cppAccessor);
109 CppBlockPtr block_if_data = std::make_shared<CppBlock>();
112 block_if_data->addLine(reset);
115 variantAccessor +
");");