Go to the source code of this file.
Classes | |
| struct | tagSQ_IntVector |
Typedefs | |
| typedef struct tagSQ_IntVector * | SQ_IntVector |
Functions | |
| SQ_ErrorCode | SQ_InitIntVector (SQ_IntVector *pVector, int iSize) |
| SQ_ErrorCode | SQ_CopyIntVector (SQ_IntVector pInVector, SQ_IntVector *pOutVector) |
| SQ_ErrorCode | SQ_ClearIntVector (SQ_IntVector *pVector) |
| SQ_ErrorCode | SQ_SetDataInIntVector (SQ_IntVector pVector, int iPos, int iVal) |
| SQ_ErrorCode | SQ_GetDataFromIntVector (const SQ_IntVector pVector, int iPos, int *piVal) |
| SQ_ErrorCode | SQ_SetIntVector (SQ_IntVector pVector, const int *piVals) |
| SQ_ErrorCode | SQ_GetIntVector (const SQ_IntVector pVector, int *piVals) |
| SQ_ErrorCode | SQ_GetIntVectorSize (const SQ_IntVector pVector, int *piSize) |
This file list the SQ_IntVector object used in Umetrics SIMCA-Q products.
| typedef struct tagSQ_IntVector * SQ_IntVector |
An int vector that is used to get and send data to many functions. Index base = 1. IMPORTANT: Always initialize it to NULL!
| SQ_ErrorCode SQ_ClearIntVector | ( | SQ_IntVector * | pVector | ) |
Removes the vector, this function must be called for every vector that is created.
| [in] | pVector | The vector to be removed. |
| SQ_ErrorCode SQ_CopyIntVector | ( | SQ_IntVector | pInVector, |
| SQ_IntVector * | pOutVector | ||
| ) |
Get a copy of the int vector
| [in] | pInVector | The vector to copy. |
| [in,out] | pOutVector | The result vector. |
| SQ_ErrorCode SQ_GetDataFromIntVector | ( | const SQ_IntVector | pVector, |
| int | iPos, | ||
| int * | piVal | ||
| ) |
Gets the data from a given position.
| [in] | pVector | The vector to get the data from. |
| [in] | iPos | The position to get the data from. |
| [in] | piVal | The data in the cell. |
| SQ_ErrorCode SQ_GetIntVector | ( | const SQ_IntVector | pVector, |
| int * | piVals | ||
| ) |
Gets the data from the vector.
| [in] | pVector | The vector to get the data from. |
| [in] | piVals | An array to be filled with the data from the vector. Must be at least of same size as the vector. |
| SQ_ErrorCode SQ_GetIntVectorSize | ( | const SQ_IntVector | pVector, |
| int * | piSize | ||
| ) |
Returns the size of the vector.
| [in] | pVector | The vector to get the size of. |
| [out] | piSize | The size of the vector or a negative number if an error occurred. |
| SQ_ErrorCode SQ_InitIntVector | ( | SQ_IntVector * | pVector, |
| int | iSize | ||
| ) |
Initialize an integer vector with its size.
| [in] | pVector | The vector to be initialized. |
| [out] | iSize | The size of the vector. |
| SQ_ErrorCode SQ_SetDataInIntVector | ( | SQ_IntVector | pVector, |
| int | iPos, | ||
| int | iVal | ||
| ) |
Sets the data at the given position.
| [in] | pVector | The vector to set the data in. |
| [in] | iPos | The position to set the data in. |
| [in] | iVal | The data to set the cell with. |
| SQ_ErrorCode SQ_SetIntVector | ( | SQ_IntVector | pVector, |
| const int * | piVals | ||
| ) |
Sets the data in the vector.
| [in] | pVector | The vector to set the data in. |
| [in] | piVals | An array of data to fill the vector with. Must be at least of same size as the vector. |
Copyright (C) Sartorius Stedim Data Analytics AB - Generated by Doxygen