std::string \
CLASS::getParameter(const std::string& objectID, const std::string& param) { \
tcpip::Storage content; \
content.writeString(param); \
} \
\
void \
CLASS::setParameter(const std::string& objectID, const std::string& key, const std::string& value) { \
tcpip::Storage content; \
content.writeInt(2); \
content.writeString(key); \
content.writeString(value); \
Connection::getActive().doCommand(libsumo::CMD_SET_##DOMAIN##_VARIABLE,
libsumo::VAR_PARAMETER, objectID, &content); \
} \
\
const std::pair<std::string, std::string> \
CLASS::getParameterWithKey(const std::string& objectID, const std::string& key) { \
return std::make_pair(key, getParameter(objectID, key)); \
}
TRACI_CONST int TYPE_COMPOUND
TRACI_CONST int VAR_PARAMETER
TRACI_CONST int TYPE_STRING