The Address struct.
More...
The Address struct.
Represents an address in the style of Jamoma :
aDevice:/aNode/anotherNode
|
static bool | validateString (const QString &str) |
|
static bool | validateFragment (const QString &s) |
|
static std::optional< Address > | fromString (const QString &str) |
|
|
QString | device |
|
QStringList | path |
|
◆ isSet()
bool Address::isSet |
( |
| ) |
const |
|
noexcept |
Returns true if the address is set to a meaningful thing, e.g. not ":/"
◆ toShortString()
QString Address::toShortString |
( |
| ) |
const |
toShortString
- Returns
- If short, "dev:/foo", else the last fifteen chars.
◆ toString()
QString Address::toString |
( |
| ) |
const |
toString
- Returns
- aDevice:/and/path if valid, else an empty string.
The documentation for this struct was generated from the following files: