83 bool isMessage()
const noexcept;
86 bool isBundle()
const noexcept;
106 int size() const noexcept {
return elements.size(); }
109 bool isEmpty() const noexcept {
return elements.isEmpty(); }
117 return elements.getReference (i);
122 return elements.getReference (i);
Holds a resizable array of primitive or copy-by-value objects.
OSCTimeTag getTimeTag() const noexcept
Returns the OSCBundle's OSC time tag.
OSCBundle::Element * end() noexcept
Returns a pointer past the last element of the OSCBundle.
OSCBundle::Element * begin() noexcept
Returns a pointer to the first element of the OSCBundle.
const OSCBundle::Element * begin() const noexcept
Returns a pointer to the first element of the OSCBundle.
bool isEmpty() const noexcept
Returns true if the bundle contains no elements; false otherwise.
void setTimeTag(OSCTimeTag newTimeTag) noexcept
Sets the OSCBundle's OSC time tag.
void addElement(const OSCBundle::Element &element)
Adds an OSCBundleElement to the OSCBundle's content.
int size() const noexcept
Returns the number of elements contained in the bundle.
const OSCBundle::Element * end() const noexcept
Returns a pointer past the last element of the OSCBundle.