|
JUCE-7.0.12-0-g4f43011b96 JUCE-7.0.12-0-g4f43011b96
JUCE — C++ application framework with suport for VST, VST3, LV2 audio plug-ins
« « « Anklang Documentation |
An OSC address pattern. More...
#include "juce_OSCAddress.h"
Public Member Functions | |
| OSCAddressPattern (const String &address) | |
| Constructs a new OSCAddressPattern from a String. | |
| OSCAddressPattern (const char *address) | |
| Constructs a new OSCAddressPattern from a C string. | |
| bool | operator== (const OSCAddressPattern &other) const noexcept |
| Compares two OSCAddressPattern objects. | |
| bool | operator!= (const OSCAddressPattern &other) const noexcept |
| Compares two OSCAddressPattern objects. | |
| bool | matches (const OSCAddress &address) const noexcept |
| Checks if the OSCAddressPattern matches an OSC address with the wildcard rules defined by the OpenSoundControl 1.0 specification. | |
| bool | containsWildcards () const noexcept |
| Checks whether the OSCAddressPattern contains any of the allowed OSC address pattern wildcards: ?, *, [], {}. | |
| String | toString () const noexcept |
| Converts the OSCAddressPattern to a String. | |
An OSC address pattern.
Extends an OSC address by additionally allowing the following wildcards: ?, *, [], {}
OSC messages always have an OSC address pattern to specify the destination(s) of the message.
@tags{OSC}
Definition at line 99 of file juce_OSCAddress.h.
Constructs a new OSCAddressPattern from a String.
| OSCFormatError | if the string is not a valid OSC address pattern. |
Definition at line 349 of file juce_OSCAddress.cpp.
Constructs a new OSCAddressPattern from a C string.
| OSCFormatError | of the string is not a valid OSC address pattern. |
Definition at line 357 of file juce_OSCAddress.cpp.
|
noexcept |
Checks whether the OSCAddressPattern contains any of the allowed OSC address pattern wildcards: ?, *, [], {}.
Definition at line 136 of file juce_OSCAddress.h.
|
noexcept |
Checks if the OSCAddressPattern matches an OSC address with the wildcard rules defined by the OpenSoundControl 1.0 specification.
Definition at line 376 of file juce_OSCAddress.cpp.
|
noexcept |
Compares two OSCAddressPattern objects.
Definition at line 370 of file juce_OSCAddress.cpp.
|
noexcept |
Compares two OSCAddressPattern objects.
Definition at line 365 of file juce_OSCAddress.cpp.
|
noexcept |
Converts the OSCAddressPattern to a String.
Note: Trailing slashes are always removed automatically.
Definition at line 392 of file juce_OSCAddress.cpp.