23 #include <interfaces/generator/constant.h>
24 #include <interfaces/generator/type_checker.h>
25 #include <interfaces/generator/exceptions.h>
44 const std::string &value,
const std::string &comment)
55 if ( type ==
"string" ) {
56 this->value = std::string(
"\"") + value +
"\"";
60 this->comment = comment;
90 if (type ==
"string") {
92 }
else if (type ==
"byte") {
94 }
else if (type ==
"float" || type ==
"double" || type ==
"bool") {