5#ifndef aida_pva_types_h
6#define aida_pva_types_h
13#include "aida_pva_json.h"
The Header File for the AIDA-PVA Module functions.
Type
The definition of Aida Types.
@ AIDA_BYTE_TYPE
Represents a byte.
@ AIDA_SHORT_ARRAY_TYPE
Represents a short array.
@ AIDA_VOID_TYPE
Used when no return value is to be returned from a channel.
@ AIDA_UNSIGNED_INTEGER_TYPE
Represents an internal type of unsigned integer.
@ AIDA_UNSIGNED_LONG_ARRAY_TYPE
Represents an internal type of unsigned long array.
@ AIDA_UNSIGNED_SHORT_ARRAY_TYPE
Represents an internal type of unsigned short array.
@ AIDA_FLOAT_ARRAY_TYPE
Represents a float array.
@ AIDA_UNSIGNED_LONG_TYPE
Represents an internal type of unsigned long.
@ AIDA_BOOLEAN_ARRAY_TYPE
Represents a boolean array.
@ AIDA_INTEGER_ARRAY_TYPE
Represents an integer array.
@ AIDA_JSON_TYPE
Argument was provided as JSON text.
@ AIDA_STRING_TYPE
Represents a string.
@ AIDA_BYTE_ARRAY_TYPE
Represents a byte array.
@ AIDA_FLOAT_TYPE
Represents a float.
@ AIDA_INTEGER_TYPE
Represents an integer.
@ AIDA_SHORT_TYPE
Represents a short.
@ AIDA_LONG_ARRAY_TYPE
Represents a long array.
@ AIDA_STRING_ARRAY_TYPE
Represents a string array.
@ AIDA_LONG_TYPE
Represents a long.
@ AIDA_BOOLEAN_TYPE
Represents a boolean.
@ AIDA_UNSIGNED_INTEGER_ARRAY_TYPE
Represents an internal type of unsigned integer array.
@ AIDA_UNSIGNED_SHORT_TYPE
Represents an internal type of unsigned short.
@ AIDA_NO_TYPE
Used to indicate that no type was provided as an argument.
@ AIDA_DOUBLE_TYPE
Represents a double.
@ AIDA_DOUBLE_ARRAY_TYPE
Represents a double array.
@ AIDA_TABLE_TYPE
Represents a table.
A single request argument.
char * value
The string value of the argument.
char * name
The name of the argument.
An Arguments structure stores all of the arguments passed from the request to the Native Channel Prov...
int argumentCount
The number of arguments sent with this request.
int floatingPointValuesCount
The number of floating point numbers in the arguments of this request.
Argument * arguments
The array of Arguments.
FloatingPointValue * floatingPointValues
The array of FloatingPointValue.
void * items
The items in this array.
int count
The number of items in this array.
Represents a floating point number.
char * path
The string path from the root of the json structure in which this value is found.
bool isFloat
Determines whether the value is a single or double precision floating point value.
FloatOrDoubleValue value
The floating point value.
int count
The number of items in this array.
char ** items
The items in this array - pointers to the strings you allocate.
int columnCount
number of columns in table
char ** ppLabels
the overridden label names. if null, not overridden. If not null then array of pointers to allocated ...
int _currentLabel
For internal use by addLabel() etc.
char ** ppFields
the overridden field names. if null, not overridden. If not null then array of pointers to allocated ...
Type * types
the scalar type of each column, one of BOOLEAN, BYTE, SHORT, INTEGER, LONG, FLOAT,...
void ** ppData
the data. an array of [rows][columns]
int _currentField
For internal use by addField() etc.
int rowCount
number of rows in table
int _currentColumn
For internal use by addColumn() etc.
This special type represents a Value.
ValueContents value
The value's contents, either a string or parsed json.
Type type
AIDA_STRING_TYPE or AIDA_JSON_TYPE.
This union stores the value part of a FloatingPointValue.
double doubleValue
The double precision floating point value.
float floatValue
The single precision floating point value.
This union stores either the string or the json_value of a Value.
json_value * jsonValue
The parsed json_value of this Value if the type is AIDA_JSON_TYPE.
char * stringValue
The string value of this Value if the type is AIDA_STRING_TYPE.