Add Array
Convenience Methods
Declaration
TibrvStatusaddelement_typeArray(
const char* fieldName,
constelement_type* value,
tibrv_u32 numElements,
tibrv_u16 fieldId=0);
Purpose
Add a field containing an array value.
| 
                                 Method Name  | 
                            
                                 Element Type  | 
                            
                                 Type Description  | 
                        
| 
                                 
  | 
                            
                                 
  | 
                            
                                 32-bit floating point array  | 
                        
| 
                                 
  | 
                            
                                 
  | 
                            
                                 64-bit floating point array  | 
                        
| 
                                 
  | 
                            
                                 
  | 
                            
                                 8-bit integer array  | 
                        
| 
                                 
  | 
                            
                                 
  | 
                            
                                 16-bit integer array  | 
                        
| 
                                 
  | 
                            
                                 
  | 
                            
                                 32-bit integer array  | 
                        
| 
                                 
  | 
                            
                                 
  | 
                            
                                 64-bit integer array  | 
                        
| 
                                 
  | 
                            
                                 
  | 
                            
                                 8-bit unsigned integer array  | 
                        
| 
                                 
  | 
                            
                                 
  | 
                            
                                 16-bit unsigned integer array  | 
                        
| 
                                 
  | 
                            
                                 
  | 
                            
                                 32-bit unsigned integer array  | 
                        
| 
                                 
  | 
                            
                                 
  | 
                            
                                 64-bit unsigned integer array  | 
                        
| 
                                 Parameter  | 
                            
                                 Description  | 
                        
| 
                                 
  | 
                            
                                 Create the new field with this name. 
  | 
                        
| 
                                 
  | 
                            
                                 Add a new field that contains this array. The method signature must correspond to the datatype of this value. The method copies the array into the new message field.  | 
                        
| 
                                 
  | 
                            
                                 When adding an array type, the program supplies the count of array elements in this parameter.  | 
                        
| 
                                 
  | 
                            
                                 Create the new field with this identifier. Zero is a special value that signifies no field identifier. All non-zero field identifiers must be unique within each message. It is illegal to add a field that has both a   |