20 #ifndef __ardour_data_type_h__
21 #define __ardour_data_type_h__
58 static const uint32_t num_types = 2;
69 if (!g_ascii_strncasecmp(str.c_str(),
"audio", str.length())) {
71 }
else if (!g_ascii_strncasecmp(str.c_str(),
"midi", str.length())) {
79 case AUDIO:
return "audio";
80 case MIDI:
return "midi";
81 default:
return "unknown";
85 const char* to_i18n_string ()
const;
87 inline operator uint32_t()
const {
return (uint32_t)_symbol; }
124 #endif // __ardour_data_type_h__
DataType(const std::string &str)
const char * to_string() const
bool operator==(const Symbol symbol)
DataType(const Symbol &symbol)
bool operator!=(const iterator &other)
bool operator!=(const DataType other)
bool operator!=(const Symbol symbol)
bool operator==(const iterator &other)
bool operator==(const DataType other)