|
AAO DRAMA/DRAMA2 C++ Interface
DRAMA C++11 and later interface
|
|
inline |
Construct a parameter of a given name which is an array of scalar items.
All entries will be initialized to the specified value.
| task | The DRAMA Task we are part of. This is passed by pointer, but Parameter is not taking ownership of the subject object, which must continue to exist until the Parameter object is destroyed. |
| name | The name of the parameter. |
| nElements | The number of elements for in the array. |
| initVal | The initial values for the array items. The array is filled with this value to ensure that at no time are the values undefined. |
References drama::sds::Id::CreateChildArray(), drama::sds::Id::CreateFromSdsIdType(), drama::CreateRunDramaTask(), and drama::ArrayParameter< SDS_T >::Fill().