1 #ifndef _KVI_KVS_PARAMETERPROCESSOR_H_
2 #define _KVI_KVS_PARAMETERPROCESSOR_H_
139 #define KVS_PT_IGNORE 15
142 #define KVS_PF_OPTIONAL 1
144 #define KVS_PF_APPENDREMAINING 2
149 namespace KviKvsParameterProcessor
162 : szName(name), uType((unsigned char)type), uFlags(flags), pContainer((void *)(&szBuffer)){};
166 : szName(name), uType((unsigned char)type), uFlags(flags), pContainer((void *)(&iBuffer)){};
170 : szName(name), uType((unsigned char)type), uFlags(flags), pContainer((void *)(&uBuffer)){};
174 : szName(name), uType((unsigned char)type), uFlags(flags), pContainer((void *)(&dBuffer)){};
178 : szName(name), uType((unsigned char)type), uFlags(flags), pContainer((void *)(&bBuffer)){};
182 : szName(name), uType((unsigned char)type), uFlags(flags), pContainer((void *)(&pBuffer)){};
186 : szName(name), uType((unsigned char)type), uFlags(flags), pContainer((void *)(&oBuffer)){};
190 : szName(name), uType((unsigned char)type), uFlags(flags), pContainer((void *)(&pBuffer)){};
194 : szName(name), uType((unsigned char)type), uFlags(flags), pContainer((void *)(&szBuffer)){};
198 : szName(name), uType((unsigned char)type), uFlags(flags), pContainer((void *)(&lBuffer)){};
202 : szName(name), uType((unsigned char)type), uFlags(flags), pContainer((void *)(&lBuffer)){};
206 : szName(name), uType((unsigned char)type), uFlags(flags), pContainer((void *)(&hBuffer)){};
210 : szName(name), uType((unsigned char)type), uFlags(flags), pContainer((void *)(&pBuffer)){};
227 #define KVS_PARAMETERS_BEGIN(__name) \
228 KviKvsParameterProcessor::ParameterFormat __name[] = {
230 #define KVS_PARAMETERS_END \
231 KviKvsParameterProcessor::ParameterFormat(0) \
238 #define KVS_PARAMETER(__name, __type, __flags, __param) \
239 KviKvsParameterProcessor::ParameterFormat(__name, __type, __flags, __param),
241 #define KVS_PARAMETER_IGNORED(__name) \
242 KviKvsParameterProcessor::ParameterFormat(__name),
Definition: KviKvsParameterProcessor.h:50
This class defines a new data type which contains variant data.
Definition: KviKvsVariant.h:351
Definition: KviKvsParameterProcessor.h:75
Definition: KviKvsParameterProcessor.h:42
#define KVIRC_API
Definition: kvi_settings.h:128
KviKvsParameterTypeQByteArray
Definition: KviKvsParameterProcessor.h:101
KviKvsParameterTypeKvsHObjectT
Definition: KviKvsParameterProcessor.h:126
char * NULL
Definition: KviIrcNumericCodes.h:391
Class to handle variant variables lists.
Definition: KviKvsVariantList.h:41
KviKvsParameterTypeKvsRealT
Definition: KviKvsParameterProcessor.h:64
Definition: KviKvsParameterProcessor.h:89
KviKvsParameterTypeQStringList
Definition: KviKvsParameterProcessor.h:110
KviKvsParameterTypeQString
Definition: KviKvsParameterProcessor.h:40
QString type()
Definition: KviRuntimeInfo.cpp:646
Definition: KviKvsParameterProcessor.h:74
Definition: KviKvsParameterProcessor.h:59
This class defines a new data type which contains hash data.
Definition: KviKvsHash.h:47
KviKvsParameterTypeKvsIntT
Definition: KviKvsParameterProcessor.h:48
Definition: KviKvsParameterProcessor.h:82
KviKvsParameterTypeBool
Definition: KviKvsParameterProcessor.h:72
#define KVS_PT_IGNORE
Definition: KviKvsParameterProcessor.h:139
Definition: KviKvsParameterProcessor.h:104
Definition: KviKvsParameterProcessor.h:103
Definition: KviKvsParameterProcessor.h:112
Definition: KviKvsParameterProcessor.h:43
KviKvsParameterTypeKviKvsArrayCast
Definition: KviKvsParameterProcessor.h:87
KviKvsParameterTypeKviKvsArrayPointer
Definition: KviKvsParameterProcessor.h:133
double kvs_real_t
Definition: KviKvsTypes.h:35
kvi_u64_t kvs_uint_t
Definition: KviKvsTypes.h:34
Definition: KviKvsRunTimeContext.h:103
KviKvsParameterTypeKviKvsVariantList
Definition: KviKvsParameterProcessor.h:119
Definition: KviKvsParameterProcessor.h:96
KviKvsParameterTypeKviKvsVariantPointer
Definition: KviKvsParameterProcessor.h:94
QString name()
Definition: KviRuntimeInfo.cpp:655
KviKvsParameterTypeKvsUIntT
Definition: KviKvsParameterProcessor.h:56
This class defines a new data type which contains array data.
Definition: KviKvsArray.h:43
void * kvs_hobject_t
Definition: KviKvsTypes.h:32
Definition: KviKvsParameterProcessor.h:67
char szBuffer[4096]
Definition: winamp.cpp:77
Definition: KviKvsParameterProcessor.h:66
This file contains compile time settings.
Definition: KviKvsParameterProcessor.h:121
kvi_i64_t kvs_int_t
Definition: KviKvsTypes.h:33
Definition: KviKvsParameterProcessor.h:128
bool process(KviKvsVariantList *pVariantList, KviKvsRunTimeContext *pContext, KviKvsParameterProcessor::ParameterFormat *pFmtArray)
Definition: KviKvsParameterProcessor.cpp:136
Definition: KviKvsParameterProcessor.h:51
Definition: KviKvsParameterProcessor.h:135
KviKvsParameterTypeKviKvsHashPointer
Definition: KviKvsParameterProcessor.h:80
Definition: KviKvsParameterProcessor.h:58
Definition: KviKvsArrayCast.h:30