matlab::data::Reference<MATLABString>
C++ class to get reference to element of StringArray
Description
A Reference<MATLABString>
object is created when using
operator[]
into a StringArray
or dereferencing a
String array iterator.
Class Details
Namespace: | matlab::data |
Include: | MATLABStringReferenceExt.hpp |
Cast
String()
operator String() const
|
Element of a |
|
Not enough indices provided. |
|
Index provided is not valid for this Array or one of the indices is out of range. |
|
Too many indices provided. |
| Array element does not have a value. |
Member Functions
bool
operator bool() const
Check whether string contains a value.
|
True, if string contains a value. |
|
Not enough indices provided. |
|
Index provided is not valid for this Array or one of the indices is out of range. |
|
Too many indices provided. |
has_value
bool has_value() const
Check whether string contains a value.
|
True, if string contains a value. |
|
Not enough indices provided. |
|
Index provided is not valid for this Array or one of the indices is out of range. |
|
Too many indices provided. |
Version History
Introduced in R2017b