SQIntVector.h
Go to the documentation of this file.
1 /*
2 Copyright (C) Sartorius Stedim Data Analytics AB 2017 -
3 */
4 #ifndef _SQINTVECTOR_H_
5 #define _SQINTVECTOR_H_
6 
7 #include "SQDef.h"
8 
13 #ifdef __cplusplus
14 extern "C" {
15 #endif
16 
17 #ifdef _WIN32
18 #pragma pack(push, 8)
19 #endif
20 
21 #include "SQErrorCodes.h"
22 
27  typedef struct tagSQ_IntVector
28  {
30  void* reserved;
31  } *SQ_IntVector;
32 
41  SQCEXPORT SQ_ErrorCode SQCDECL SQ_InitIntVector(SQ_IntVector* pVector, int iSize);
42 
51  SQCEXPORT SQ_ErrorCode SQCDECL SQ_CopyIntVector(SQ_IntVector pInVector, SQ_IntVector* pOutVector);
59  SQCEXPORT SQ_ErrorCode SQCDECL SQ_ClearIntVector(SQ_IntVector* pVector);
69  SQCEXPORT SQ_ErrorCode SQCDECL SQ_SetDataInIntVector(SQ_IntVector pVector, int iPos, int iVal);
79  SQCEXPORT SQ_ErrorCode SQCDECL SQ_GetDataFromIntVector(const SQ_IntVector pVector, int iPos, int* piVal);
80 
89  SQCEXPORT SQ_ErrorCode SQCDECL SQ_SetIntVector(SQ_IntVector pVector, const int* piVals);
98  SQCEXPORT SQ_ErrorCode SQCDECL SQ_GetIntVector(const SQ_IntVector pVector, int* piVals);
107  SQCEXPORT SQ_ErrorCode SQCDECL SQ_GetIntVectorSize(const SQ_IntVector pVector, int* piSize);
108 
109 
110 #ifdef _WIN32
111 #pragma pack(pop)
112 #endif
113 
114 #ifdef __cplusplus
115 }
116 #endif /*__cplusplus*/
117 
118 
119 #endif /* _SQINTVECTOR_H_ */
SQ_SetIntVector
SQ_ErrorCode SQ_SetIntVector(SQ_IntVector pVector, const int *piVals)
SQ_InitIntVector
SQ_ErrorCode SQ_InitIntVector(SQ_IntVector *pVector, int iSize)
SQ_GetIntVector
SQ_ErrorCode SQ_GetIntVector(const SQ_IntVector pVector, int *piVals)
SQ_GetDataFromIntVector
SQ_ErrorCode SQ_GetDataFromIntVector(const SQ_IntVector pVector, int iPos, int *piVal)
tagSQ_IntVector::reserved
void * reserved
Definition: SQIntVector.h:30
SQ_CopyIntVector
SQ_ErrorCode SQ_CopyIntVector(SQ_IntVector pInVector, SQ_IntVector *pOutVector)
tagSQ_IntVector
Definition: SQIntVector.h:27
SQ_SetDataInIntVector
SQ_ErrorCode SQ_SetDataInIntVector(SQ_IntVector pVector, int iPos, int iVal)
SQ_ClearIntVector
SQ_ErrorCode SQ_ClearIntVector(SQ_IntVector *pVector)
SQ_IntVector
struct tagSQ_IntVector * SQ_IntVector
SQ_ErrorCode
enum SQ_ErrorCodeEnum SQ_ErrorCode
SQ_GetIntVectorSize
SQ_ErrorCode SQ_GetIntVectorSize(const SQ_IntVector pVector, int *piSize)
SQErrorCodes.h

Copyright (C) Sartorius Stedim Data Analytics AB - Generated by Doxygen