Go to the source code of this file.
Classes | |
struct | tagSQ_BoolVector |
Typedefs | |
typedef struct tagSQ_BoolVector * | SQ_BoolVector |
Functions | |
SQ_ErrorCode | SQ_InitBoolVector (SQ_BoolVector *pVector, int iSize) |
SQ_ErrorCode | SQ_CopyBoolVector (SQ_BoolVector pInVector, SQ_BoolVector *pOutVector) |
SQ_ErrorCode | SQ_ClearBoolVector (SQ_BoolVector *pVector) |
SQ_ErrorCode | SQ_SetDataInBoolVector (SQ_BoolVector pVector, int iPos, SQ_Bool bVal) |
SQ_ErrorCode | SQ_GetDataFromBoolVector (const SQ_BoolVector pVector, int iPos, SQ_Bool *pbVal) |
SQ_ErrorCode | SQ_GetBoolVectorSize (const SQ_BoolVector pVector, int *piSize) |
This file list the SQ_BoolVector object used in Umetrics SIMCA-Q products.
typedef struct tagSQ_BoolVector * SQ_BoolVector |
An bool vector that is used to get and send data to some functions. Index base = 1. IMPORTANT: Always initialize it to NULL!
SQ_ErrorCode SQ_ClearBoolVector | ( | SQ_BoolVector * | 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_CopyBoolVector | ( | SQ_BoolVector | pInVector, |
SQ_BoolVector * | pOutVector | ||
) |
Get a copy of the bool vector
[in] | pInVector | The vector to copy. |
[in,out] | pOutVector | The result vector. |
SQ_ErrorCode SQ_GetBoolVectorSize | ( | const SQ_BoolVector | pVector, |
int * | piSize | ||
) |
Returns the size of the vector.
[in] | pVector | The vector to get the number of columns from. |
[out] | piSize | The size of the vector or a negative number if an error occurred. |
SQ_ErrorCode SQ_GetDataFromBoolVector | ( | const SQ_BoolVector | pVector, |
int | iPos, | ||
SQ_Bool * | pbVal | ||
) |
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] | pbVal | The data in the cell. |
SQ_ErrorCode SQ_InitBoolVector | ( | SQ_BoolVector * | pVector, |
int | iSize | ||
) |
Initialize a boolean vector with its size.
[in] | pVector | The vector to be initialized. |
[out] | iSize | The size of the vector. |
SQ_ErrorCode SQ_SetDataInBoolVector | ( | SQ_BoolVector | pVector, |
int | iPos, | ||
SQ_Bool | bVal | ||
) |
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] | bVal | The data to set the cell with. |
Copyright (C) Sartorius Stedim Data Analytics AB - Generated by Doxygen