in shims/qpid-proton-cpp/src/qpidit/amqp_types_test/Receiver.cpp [113:141]
std::string Receiver::getAmqpType(const proton::value& val) {
switch(val.type()) {
case proton::NULL_TYPE: return "null";
case proton::BOOLEAN: return "boolean";
case proton::UBYTE: return "ubyte";
case proton::USHORT: return "ushort";
case proton::UINT: return "uint";
case proton::ULONG: return "ulong";
case proton::BYTE: return "byte";
case proton::SHORT: return "short";
case proton::INT: return "int";
case proton::LONG: return "long";
case proton::FLOAT: return "float";
case proton::DOUBLE: return "double";
case proton::DECIMAL32: return "decimal32";
case proton::DECIMAL64: return "decimal64";
case proton::DECIMAL128: return "decimal128";
case proton::CHAR: return "char";
case proton::TIMESTAMP: return "timestamp";
case proton::UUID: return "uuid";
case proton::BINARY: return "binary";
case proton::STRING: return "string";
case proton::SYMBOL: return "symbol";
case proton::LIST: return "list";
case proton::MAP: return "map";
case proton::ARRAY: return "array";
}
return "unknown";
}