Adds a path and array of values to a Write Operation, as a request to change a multiple-instance resource to the specified value.
More...
|
AwaError | AwaServerWriteOperation_AddValueAsStringArray (AwaServerWriteOperation *operation, const char *path, const AwaStringArray *array) |
|
AwaError | AwaServerWriteOperation_AddValueAsIntegerArray (AwaServerWriteOperation *operation, const char *path, const AwaIntegerArray *array) |
|
AwaError | AwaServerWriteOperation_AddValueAsFloatArray (AwaServerWriteOperation *operation, const char *path, const AwaFloatArray *array) |
|
AwaError | AwaServerWriteOperation_AddValueAsBooleanArray (AwaServerWriteOperation *operation, const char *path, const AwaBooleanArray *array) |
|
AwaError | AwaServerWriteOperation_AddValueAsTimeArray (AwaServerWriteOperation *operation, const char *path, const AwaTimeArray *array) |
|
AwaError | AwaServerWriteOperation_AddValueAsOpaqueArray (AwaServerWriteOperation *operation, const char *path, const AwaOpaqueArray *array) |
|
AwaError | AwaServerWriteOperation_AddValueAsObjectLinkArray (AwaServerWriteOperation *operation, const char *path, const AwaObjectLinkArray *array) |
|
Adds a path and array of values to a Write Operation, as a request to change a multiple-instance resource to the specified value.
The array can be sparse and only contain entries for modification. Existing resource instances that are not replaced remain unmodified.
- Parameters
-
[in] | operation | The Set operation to add the path and value to. |
[in] | path | The path of the resource requested for change. |
[in] | array | The new value of the resource, given as a sparse array of resource instances. |
- Returns
- AwaError_Success on success.
-
AwaError_OperationInvalid if the operation is invalid.
-
AwaError_PathInvalid if the specified path is invalid.
-
AwaError_TypeMismatch if the specified path refers to a resource with a non-corresponding type.
-
AwaError_NotDefined if the specified path refers to an object or resource that is not defined.
AwaError AwaServerWriteOperation_AddValueAsStringArray |
( |
AwaServerWriteOperation * |
operation, |
|
|
const char * |
path, |
|
|
const AwaStringArray * |
array |
|
) |
| |
AwaError AwaServerWriteOperation_AddValueAsIntegerArray |
( |
AwaServerWriteOperation * |
operation, |
|
|
const char * |
path, |
|
|
const AwaIntegerArray * |
array |
|
) |
| |
AwaError AwaServerWriteOperation_AddValueAsFloatArray |
( |
AwaServerWriteOperation * |
operation, |
|
|
const char * |
path, |
|
|
const AwaFloatArray * |
array |
|
) |
| |
AwaError AwaServerWriteOperation_AddValueAsBooleanArray |
( |
AwaServerWriteOperation * |
operation, |
|
|
const char * |
path, |
|
|
const AwaBooleanArray * |
array |
|
) |
| |
AwaError AwaServerWriteOperation_AddValueAsTimeArray |
( |
AwaServerWriteOperation * |
operation, |
|
|
const char * |
path, |
|
|
const AwaTimeArray * |
array |
|
) |
| |
AwaError AwaServerWriteOperation_AddValueAsOpaqueArray |
( |
AwaServerWriteOperation * |
operation, |
|
|
const char * |
path, |
|
|
const AwaOpaqueArray * |
array |
|
) |
| |
AwaError AwaServerWriteOperation_AddValueAsObjectLinkArray |
( |
AwaServerWriteOperation * |
operation, |
|
|
const char * |
path, |
|
|
const AwaObjectLinkArray * |
array |
|
) |
| |