matlab::data::MATLABFieldIdentifier
R2026bC++ class used to identify field names in MATLAB struct array
Description
Namespace: | matlab::data |
Include: | MATLABFieldIdentifier.hpp |
Constructors
Default Constructor
MATLABFieldIdentifier()
Construct an empty MATLABFieldIdentifier.
None
Constructor
MATLABFieldIdentifier(std::string str)
Construct a MATLABFieldIdentifier from std::string.
| String that contains the field name. |
Destructor
~MATLABFieldIdentifier()
Destroy a MATLABFieldIdentifier.
None
Copy Constructors
MATLABFieldIdentifier(const MATLABFieldIdentifier&
rhs)
Creates a shared data copy of a MATLABFieldIdentifier object.
| Value to copy. |
None
Copy Assignment Operators
MATLABFieldIdentifier& operator=(MATLABFieldIdentifier
const& rhs)
Assigns a shared data copy to a MATLABFieldIdentifier object.
| Value to move. |
| Updated instance. |
None
Move Constructors
MATLABFieldIdentifier(MATLABFieldIdentifier&&
rhs)
Moves contents a MATLABFieldIdentifier object to a new instance.
| Value to move. |
None
Move Assignment Operators
MATLABFieldIdentifier& operator=(MATLABFieldIdentifier&&
rhs)
| Value to move. |
| Updated instance. |
None
Destructor
~MATLABFieldIdentifier()
Description
Destroy a MATLABFieldIdentifier.
Other Operators
operator std::string
operator std::string() const
| Representation of the |
None
Free Functions
operator==
bool operator==(const MATLABFieldIdentifier& rhs)
const
Check if two MATLABFieldIdentifier objects are identical.
| Value to be compared. |
| Returns true if the objects are identical. Otherwise, returns false. |
None
Version History
Introduced in R2017b