SQStringVector.h
Go to the documentation of this file.
1 /*
2 Copyright (C) Sartorius Stedim Data Analytics AB 2017 -
3 */
4 #ifndef _SQSTRINGVECTOR_H_
5 #define _SQSTRINGVECTOR_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_StringVector
28  {
30  void* reserved;
31  } *SQ_StringVector;
32 
41  SQCEXPORT SQ_ErrorCode SQCDECL SQ_InitStringVector(SQ_StringVector* pVector, int iSize);
42 
51  SQCEXPORT SQ_ErrorCode SQCDECL SQ_CopyStringVector(SQ_StringVector pInVector, SQ_StringVector* pOutVector);
59  SQCEXPORT SQ_ErrorCode SQCDECL SQ_ClearStringVector(SQ_StringVector* pVector);
69  SQCEXPORT SQ_ErrorCode SQCDECL SQ_SetStringInVector(SQ_StringVector pVector, int iPos, const char *szString);
78  SQCEXPORT SQ_ErrorCode SQCDECL SQ_SetStringVector(SQ_StringVector pVector, const char **pszString);
89  SQCEXPORT SQ_ErrorCode SQCDECL SQ_GetStringVector(SQ_StringVector pVector, char ***pszString);
101  SQCEXPORT SQ_ErrorCode SQCDECL SQ_GetStringFromVector(const SQ_StringVector pVector, int iPos, char *pszString, int iLength);
110  SQCEXPORT SQ_ErrorCode SQCDECL SQ_GetNumStringsInVector(const SQ_StringVector pVector, int* piNumStrings);
111 
112 #ifdef _WIN32
113 #pragma pack(pop)
114 #endif
115 
116 #ifdef __cplusplus
117 }
118 #endif /*__cplusplus*/
119 
120 
121 #endif /* _SQSTRINGVECTOR_H_ */
SQ_InitStringVector
SQ_ErrorCode SQ_InitStringVector(SQ_StringVector *pVector, int iSize)
SQ_GetStringFromVector
SQ_ErrorCode SQ_GetStringFromVector(const SQ_StringVector pVector, int iPos, char *pszString, int iLength)
SQ_CopyStringVector
SQ_ErrorCode SQ_CopyStringVector(SQ_StringVector pInVector, SQ_StringVector *pOutVector)
SQ_GetStringVector
SQ_ErrorCode SQ_GetStringVector(SQ_StringVector pVector, char ***pszString)
SQ_SetStringVector
SQ_ErrorCode SQ_SetStringVector(SQ_StringVector pVector, const char **pszString)
tagSQ_StringVector
Definition: SQStringVector.h:27
SQ_ErrorCode
enum SQ_ErrorCodeEnum SQ_ErrorCode
SQ_GetNumStringsInVector
SQ_ErrorCode SQ_GetNumStringsInVector(const SQ_StringVector pVector, int *piNumStrings)
SQ_StringVector
struct tagSQ_StringVector * SQ_StringVector
SQErrorCodes.h
SQ_ClearStringVector
SQ_ErrorCode SQ_ClearStringVector(SQ_StringVector *pVector)
SQ_SetStringInVector
SQ_ErrorCode SQ_SetStringInVector(SQ_StringVector pVector, int iPos, const char *szString)
tagSQ_StringVector::reserved
void * reserved
Definition: SQStringVector.h:30

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