AAO DRAMA/DRAMA2 C++ Interface
DRAMA C++11 and later interface

◆ operator[]()

template<typename SDS_T >
SDS_T drama::ArrayParameter< SDS_T >::operator[] ( size_t  index) const
inline

Return a single item from the Array parameter.

Warning
Not very efficient since it must presume the parameter has changed in various ways and hence finds the parameter ID and does a full inquiry for every call. But useful if you want only one value.
This is an rvalue return only. We don't support lvalue returns as the underlying implementation details mean the value might be changed from elsewhere.
Parameters
indexThe index of the value we are requesting.
Returns
The value requested.