matlab::data::Reference<Struct>
C++ class to get reference to element of StructArray
Description
Use the Reference<Struct>
class to access an element of a
StructArray
.
Class Details
Namespace: | matlab::data |
Include: | StructRef.hpp |
Indexing Operators
operator[]
Reference<Array> operator[](std::string idx)
Array operator[](std::string idx) const
Index into the Struct with a field name.
|
Field name. |
|
Reference to |
|
Shared copy of |
|
Field does not exist in the struct. |
Iterators
Begin Iterators
iterator begin()
const_iterator begin() const
const_iterator cbegin() const
|
Iterator to beginning of list of fields, specified as
|
|
Iterator, specified as |
None
End Iterators
iterator end()
const_iterator end() const
const_iterator cend() const
|
Iterator to end of list of fields, specified as
|
|
Iterator, specified as |
None
Cast
Struct()
operator Struct() const
|
Shared copy of |
None
Version History
Introduced in R2017b