VCV Rack API v2
|
Tags describing the function(s) of modules. More...
Functions | |
int | findId (const std::string &tag) |
Searches for a tag ID. | |
std::string | getTag (int tagId) |
Returns the main tag name by tag ID. | |
Variables | |
const std::vector< std::vector< std::string > > | tagAliases |
List of tags and their aliases. | |
Tags describing the function(s) of modules.
int rack::tag::findId | ( | const std::string & | tag | ) |
Searches for a tag ID.
Searches tag aliases. Case-insensitive. Returns -1 if not found.
std::string rack::tag::getTag | ( | int | tagId | ) |
Returns the main tag name by tag ID.
|
extern |
List of tags and their aliases.
The first alias of each tag tag[tagId][0]
is the "canonical" alias. It is guaranteed to exist and should be used as the human-readable form.
This list is manually alphabetized by the canonical alias.