#include <iostream>
#include <utility>
#include <vector>
#include <string>
#include <map>
Go to the source code of this file.
|
typedef unsigned(* | Qiankun_callback_data) (int m_function, void *context, void *user_data, int user_size, void *return_data, int return_size) |
| 数据回调函数
|
|
typedef unsigned(* | Qiankun_callback_bytes) (int m_function, void *context, void *&user_data, int *user_size, void *return_data, int return_size) |
|
typedef void() | Qiankun_callback(void *&, void *) |
|
typedef struct Qiankun_command | Qiankun_command_struct |
|
typedef struct Qiankun_command * | Qiankun_command_pointer |
|
|
enum | Qiankun_data_operation {
Qiankun_get_index_list = 0x00000101
, Qiankun_get_type_list = 0x00000102
, Qiankun_get_type_total_number_list = 0x00000103
, Qiankun_get_name_list = 0x00000104
,
Qiankun_get_size_list = 0x00000105
} |
|
enum | Qiankun_data_type {
Qiankun_data_type_short = 0x00000001
, Qiankun_data_type_integer = 0x00000002
, Qiankun_data_type_float = 0x00000003
, Qiankun_data_type_double = 0x00000004
,
Qiankun_data_type_currency = 0x00000005
, Qiankun_data_type_date = 0x00000006
, Qiankun_data_type_string = 0x00000007
, Qiankun_data_type_file = 0x00000008
,
Qiankun_data_type_byte_array = 0x0000000A
, Qiankun_data_type_short_array = 0x0000000B
, Qiankun_data_type_integer_array = 0x0000000C
, Qiankun_data_type_float_array = 0x0000000D
,
Qiankun_data_type_double_array = 0x0000000E
, Qiankun_data_type_currency_array = 0x0000000F
, Qiankun_data_type_date_array = 0x00000010
, Qiankun_data_type_string_array = 0x00000011
} |
|
enum | Qiankun_name_type { Qiankun_name_type_name = 0x00000001
, Qiankun_name_type_remark = 0x00000002
} |
|
enum | Qiankun_size_type { Qiankun_size_type_data_all_size = 0x00000001
, Qiankun_size_type_data_delete_size = 0x00000002
, Qiankun_size_type_data_size = 0x00000003
} |
|
enum | Qiankun_error_code {
Qiankun_errorcode_success = 0x00000001
, Qiankun_errorcode_normal = 0x00000002
, Qiankun_errorcode_differ = 0x00000003
, Qiankun_errorcode_no_rights = 0x00000004
,
Qiankun_errorcode_db_not_exist = 0x00000005
, Qiankun_errorcode_exist = 0x00000006
, Qiankun_errorcode_not_exist = 0x00000007
, Qiankun_errorcode_out_of_range = 0x00000008
,
Qiankun_errorcode_type = 0x00000009
, Qiankun_errorcode_param = 0x0000000A
, Qiankun_errorcode_compress = 0x0000000B
, Qiankun_errorcode_get_array = 0x0000000C
,
Qiankun_errorcode_out_of_memory = 0x0000000D
, Qiankun_errorcode_handle = 0x0000000E
, Qiankun_errorcode_io = 0x0000000F
} |
|
◆ Qiankun_callback
typedef void() Qiankun_callback(void *&, void *) |
◆ Qiankun_callback_bytes
typedef unsigned(* Qiankun_callback_bytes) (int m_function, void *context, void *&user_data, int *user_size, void *return_data, int return_size) |
◆ Qiankun_callback_data
typedef unsigned(* Qiankun_callback_data) (int m_function, void *context, void *user_data, int user_size, void *return_data, int return_size) |
数据回调函数
data_callback_function
◆ Qiankun_command_pointer
◆ Qiankun_command_struct
◆ Qiankun_data_operation
Enumerator |
---|
Qiankun_get_index_list | 获取数据序号列表 (Gets a list of data ordinals)
|
Qiankun_get_type_list | 获取数据类型列表 (Gets a list of data types)
|
Qiankun_get_type_total_number_list | 获取数据各类型总数列表 (Gets a list of total types of data)
|
Qiankun_get_name_list | 获取数据名称列表 (Gets a list of data names)
|
Qiankun_get_size_list | 获取数据大小列表 (Gets a list of data sizes)
|
◆ Qiankun_data_type
Enumerator |
---|
Qiankun_data_type_short | 短整型
|
Qiankun_data_type_integer | 整型
|
Qiankun_data_type_float | 单精度浮点型
|
Qiankun_data_type_double | 双精度浮点型
|
Qiankun_data_type_currency | 货币型
|
Qiankun_data_type_date | 日期型
|
Qiankun_data_type_string | 字符串型
|
Qiankun_data_type_file | 文件型
|
Qiankun_data_type_byte_array | 字节数组
|
Qiankun_data_type_short_array | 短整型数组
|
Qiankun_data_type_integer_array | 整型数组
|
Qiankun_data_type_float_array | 单精度浮点型数组
|
Qiankun_data_type_double_array | 双精度浮点型数组
|
Qiankun_data_type_currency_array | 货币型数组
|
Qiankun_data_type_date_array | 日期型数组
|
Qiankun_data_type_string_array | 字符串型数组
|
◆ Qiankun_error_code
Enumerator |
---|
Qiankun_errorcode_success | 正确的值
|
Qiankun_errorcode_normal | 错误的值
|
Qiankun_errorcode_differ | 数据库文件数效验未通过 (The number of database files fails to be verified)
|
Qiankun_errorcode_no_rights | 数据库密码效验未通过 (The database password verification failed)
|
Qiankun_errorcode_db_not_exist | 数据库文件不存在 (The database file does not exist)
|
Qiankun_errorcode_exist | 数据已存在 (Data already exists)
|
Qiankun_errorcode_not_exist | 数据不存在 (Data does not exist)
|
Qiankun_errorcode_out_of_range | 超出范围 (out of range)
|
Qiankun_errorcode_type | 类型不符 (wrong type)
|
Qiankun_errorcode_param | 参数错误 (parameter error)
|
Qiankun_errorcode_compress | 压缩错误 (compression error)
|
Qiankun_errorcode_get_array | 数组错误 (arrary error)
|
Qiankun_errorcode_out_of_memory | 内存溢出 (memory overflow)
|
Qiankun_errorcode_handle | 句柄错误 (error handle)
|
Qiankun_errorcode_io | IO错误 (io error)
|
◆ Qiankun_name_type
Enumerator |
---|
Qiankun_name_type_name | 数据名称 (data name)
|
Qiankun_name_type_remark | 数据备注 (data remark)
|
◆ Qiankun_size_type
Enumerator |
---|
Qiankun_size_type_data_all_size | 总数据大小 (Total data size)
|
Qiankun_size_type_data_delete_size | 删除的数据大小 (The size of the deleted data)
|
Qiankun_size_type_data_size | 数据实际大小 (Actual data size)
|
◆ Qiankun_file_name_size
const unsigned int Qiankun_file_name_size = 48 |