61 static const uint32_t num_types = 2;
74 if (!g_ascii_strncasecmp(str.c_str(),
"audio", str.length())) {
76 }
else if (!g_ascii_strncasecmp(str.c_str(),
"midi", str.length())) {
84 case AUDIO:
return "audio";
85 case MIDI:
return "midi";
86 default:
return "unknown";
92 inline operator uint32_t()
const {
return (uint32_t)_symbol; }
bool operator==(const iterator &other)
bool operator!=(const iterator &other)
bool operator!=(const Symbol symbol)
const char * to_i18n_string() const
bool operator!=(const DataType other)
bool operator==(const Symbol symbol)
bool operator==(const DataType other)
const char * to_string() const
DataType(const Symbol &symbol)
DataType(const std::string &str)