11#undef tianzuo_Qiankun_lib
13#define tianzuo_Qiankun_atr
14#if defined (tianzuo_Qiankun_dllexport)
15#define tianzuo_Qiankun_lib _declspec(dllexport)
17#define tianzuo_Qiankun_lib _declspec(dllimport)
20#define tianzuo_Qiankun_atr __attribute__((visibility("default")))
21#define tianzuo_Qiankun_lib
40 m_data_type = data_type;
41 m_data_index = data_index;
42 m_data_name = data_name;
50 return (m_data_index);
60 const char *m_data_name;
248 bool const compress,
int const data_index) = 0;
313 const char *remark,
char *file_name,
bool const compress,
bool const update_index =
true) = 0;
462 int const name_type,
char*& data_name) = 0;
477 const char *new_data_name,
const char *new_remark) = 0;
506 int *data_type_code) = 0;
534 int *data_type_total_number) = 0;
乾坤袋数据模块类 for c++
Definition tianzuo.QiankunInterface.h:611
tianzuo_QiankunDataInt()
Definition tianzuo.QiankunInterface.h:613
virtual int initialize()=0
virtual ~tianzuo_QiankunDataInt()
Definition tianzuo.QiankunInterface.h:614
virtual int terminate()=0
乾坤袋数据接口 for c++
Definition tianzuo.QiankunInterface.h:639
static tianzuo_QiankunDataInt * initialize()
static void terminate(tianzuo_QiankunDataInt **QiankunDataInt_pointer)
tianzuo_QiankunDataInterface()
virtual ~tianzuo_QiankunDataInterface()
乾坤袋模块类 for c++
Definition tianzuo.QiankunInterface.h:98
virtual int db_set_name(Qiankun_db_verify_pointer db_verify, const char *db_name)=0
virtual int data_set_index(Qiankun_db_verify_pointer db_verify, Qiankun_data_type_pointer data_type, int const new_data_index)=0
virtual int terminate()=0
virtual int initialize()=0
virtual int db_close_database(Qiankun_db_verify_pointer db_verify)=0
virtual int data_extract(Qiankun_db_verify_pointer db_verify, Qiankun_data_type_pointer data_type, Qiankun_function_pointer function, Qiankun_get_user_data_pointer get_user_data)=0
virtual int data_get_size_list(Qiankun_db_verify_pointer db_verify, int const size_type, Qiankun_function_pointer function, Qiankun_user_data_pointer user_data)=0
virtual int data_rename(Qiankun_db_verify_pointer db_verify, Qiankun_data_type_pointer data_type, const char *new_data_name, const char *new_remark)=0
virtual int data_get_name_list(Qiankun_db_verify_pointer db_verify, int const name_type, Qiankun_function_pointer function, Qiankun_user_data_pointer user_data)=0
virtual ~tianzuo_QiankunInt()
Definition tianzuo.QiankunInterface.h:101
virtual int data_extract_list(Qiankun_db_verify_pointer db_verify, Qiankun_data_type_pointer data_type, Qiankun_user_data_pointer name_list, Qiankun_user_data_pointer data_list)=0
virtual int data_combine_list(Qiankun_db_verify_pointer db_verify, Qiankun_data_type_pointer data_type, Qiankun_user_data_pointer name_list, Qiankun_user_data_pointer data_list, bool const compress)=0
virtual int data_extract_file(Qiankun_db_verify_pointer db_verify, Qiankun_data_type_pointer data_type, char *file_name, bool const over_write)=0
virtual int data_extract_bytes(Qiankun_db_verify_pointer db_verify, Qiankun_data_type_pointer data_type, Qiankun_function_pointer function, Qiankun_get_user_data_pointer get_user_data)=0
virtual int db_get_name(Qiankun_db_verify_pointer db_verify, char *&db_name)=0
virtual int data_modify(Qiankun_db_verify_pointer db_verify, Qiankun_data_type_pointer data_type, Qiankun_user_data_pointer user_data, bool const compress, bool const update_index=true)=0
virtual int db_open_database(Qiankun_db_verify_pointer db_verify)=0
virtual int data_delete_list(Qiankun_db_verify_pointer db_verify, Qiankun_data_type_pointer data_type, Qiankun_user_data_pointer name_list)=0
virtual int data_get_size(Qiankun_db_verify_pointer db_verify, int const size_type, Qiankun_data_type_pointer data_type, int *data_size)=0
tianzuo_QiankunInt()
Definition tianzuo.QiankunInterface.h:100
virtual int data_get_type_total_number_list(Qiankun_db_verify_pointer db_verify, Qiankun_function_pointer function, Qiankun_user_data_pointer user_data)=0
virtual int data_get_index(Qiankun_db_verify_pointer db_verify, Qiankun_data_type_pointer data_type, int *data_index_code)=0
virtual int data_delete(Qiankun_db_verify_pointer db_verify, Qiankun_data_type_pointer data_type, bool update_index=true)=0
virtual int db_rebuild(Qiankun_db_verify_pointer db_verify, const char *new_db_file_name)=0
virtual int data_get_name(Qiankun_db_verify_pointer db_verify, Qiankun_data_type_pointer data_type, int const name_type, char *&data_name)=0
virtual int data_extract_file_list(Qiankun_db_verify_pointer db_verify, Qiankun_data_type_pointer data_type, Qiankun_user_data_pointer name_list, Qiankun_user_data_pointer data_list, bool const over_write)=0
virtual int db_get_total_number(Qiankun_db_verify_pointer db_verify, int *file_number)=0
virtual int db_change_password(Qiankun_db_verify_pointer db_verify, const char *new_password)=0
virtual int data_modify_list(Qiankun_db_verify_pointer db_verify, Qiankun_data_type_pointer data_type, Qiankun_user_data_pointer name_list, Qiankun_user_data_pointer data_list, bool const compress)=0
virtual int data_get_type_total_number(Qiankun_db_verify_pointer db_verify, int const data_type_code, int *data_type_total_number)=0
virtual int data_modify_file(Qiankun_db_verify_pointer db_verify, Qiankun_data_type_pointer data_type, const char *remark, char *file_name, bool const compress, bool const update_index=true)=0
virtual int data_get_index_list(Qiankun_db_verify_pointer db_verify, Qiankun_function_pointer function, Qiankun_user_data_pointer user_data)=0
virtual int data_get_type(Qiankun_db_verify_pointer db_verify, Qiankun_data_type_pointer data_type, int *data_type_code)=0
virtual int db_create_database(Qiankun_db_verify_pointer db_verify, const char *db_name, bool const over_write)=0
virtual int data_get_type_list(Qiankun_db_verify_pointer db_verify, Qiankun_function_pointer function, Qiankun_user_data_pointer user_data)=0
virtual int data_combine(Qiankun_db_verify_pointer db_verify, Qiankun_data_type_pointer data_type, const char *remark, Qiankun_user_data_pointer user_data, bool const compress, int const data_index)=0
virtual int db_set_total_number(Qiankun_db_verify_pointer db_verify, int const add_file_number)=0
virtual int data_check(Qiankun_db_verify_pointer db_verify, Qiankun_data_type_pointer data_type)=0
乾坤袋接口 for c++
Definition tianzuo.QiankunInterface.h:583
static void terminate(tianzuo_QiankunInt **QiankunInt_pointer)
tianzuo_QiankunInterface()
virtual ~tianzuo_QiankunInterface()
static tianzuo_QiankunInt * initialize()
数据类型
Definition tianzuo.QiankunInterface.h:38
const char * get_data_name()
Definition tianzuo.QiankunInterface.h:53
Qiankun_data_type_tag(int data_type, int data_index, const char *data_name)
Definition tianzuo.QiankunInterface.h:39
int get_data_index()
Definition tianzuo.QiankunInterface.h:49
int get_data_type()
Definition tianzuo.QiankunInterface.h:45
数据库验证
Definition tianzuo.QiankunInterface.h:27
const char * m_db_password
Definition tianzuo.QiankunInterface.h:29
const char * m_db_file_name
Definition tianzuo.QiankunInterface.h:28
Qiankun_db_verify(const char *db_file_name, const char *db_password)
Definition tianzuo.QiankunInterface.h:30
回调函数
Definition tianzuo.QiankunInterface.h:87
Qiankun_function_tag(void *function, void *context)
Definition tianzuo.QiankunInterface.h:90
void * m_function
Definition tianzuo.QiankunInterface.h:88
void * m_context
Definition tianzuo.QiankunInterface.h:89
返回用户数据
Definition tianzuo.QiankunInterface.h:76
Qiankun_get_user_data_tag(void *&userData, int *nUserSize)
Definition tianzuo.QiankunInterface.h:79
void ** m_user_data
Definition tianzuo.QiankunInterface.h:77
int * m_user_size
Definition tianzuo.QiankunInterface.h:78
用户数据
Definition tianzuo.QiankunInterface.h:65
int m_user_size
Definition tianzuo.QiankunInterface.h:67
Qiankun_user_data_tag(void *user_data, int user_size)
Definition tianzuo.QiankunInterface.h:68
void * m_user_data
Definition tianzuo.QiankunInterface.h:66
tianzuo_Qiankun_lib int tianzuo_QiankunInt_data_double_modify(tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, const char *data_name, double data)
tianzuo_Qiankun_lib int tianzuo_QiankunInt_data_int_extract(tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, const char *data_name, int *data)
tianzuo_Qiankun_lib int tianzuo_QiankunInt_data_dates_modify(tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, const char *data_name, char *data)
tianzuo_Qiankun_lib int tianzuo_QiankunInt_data_file_combine(tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, const char *data_name, const char *remark, char *file_name, bool const compress)
tianzuo_Qiankun_lib int tianzuo_QiankunInt_data_file_extract(tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, const char *data_name, char *file_name, bool over_write)
tianzuo_Qiankun_lib int tianzuo_QiankunInt_data_currencys_modify(tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, const char *data_name, char *data)
tianzuo_Qiankun_lib int tianzuo_QiankunInt_db_create_database(tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, const char *db_name, bool const over_write)
tianzuo_Qiankun_lib int tianzuo_QiankunInt_data_string_modify(tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, const char *data_name, char *data)
tianzuo_Qiankun_lib int tianzuo_QiankunInt_data_floats_extract(tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, const char *data_name, char **data)
tianzuo_Qiankun_lib int tianzuo_QiankunInt_data_get_type_list(tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, char **data)
tianzuo_Qiankun_lib int tianzuo_QiankunInt_data_double_extract(tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, const char *data_name, double *data)
tianzuo_Qiankun_lib int tianzuo_QiankunInt_data_shorts_modify(tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, const char *data_name, char *data)
tianzuo_Qiankun_lib int tianzuo_QiankunInt_data_file_modify(tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, const char *data_name, const char *remark, char *file_name, bool const compress)
tianzuo_Qiankun_lib int tianzuo_QiankunInt_initialize(tianzuo_QiankunInt *QiankunInt_pointer)
tianzuo_Qiankun_lib int tianzuo_QiankunInt_data_get_size_list(tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, int size_type, char **data)
tianzuo_Qiankun_lib int tianzuo_QiankunInt_data_int_modify(tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, const char *data_name, int data)
tianzuo_Qiankun_lib int tianzuo_QiankunInt_data_get_type_total_number_list(tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, char **data)
tianzuo_Qiankun_lib int tianzuo_QiankunInt_data_files_extract(tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, const char *data_name, char *data, bool over_write)
tianzuo_Qiankun_lib int tianzuo_QiankunInt_data_int_combine(tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, const char *data_name, const char *remark, int data)
tianzuo_Qiankun_lib int tianzuo_QiankunInt_data_strings_combine(tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, const char *data_name, const char *remark, char *data)
tianzuo_Qiankun_lib int tianzuo_QiankunInt_data_double_combine(tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, const char *data_name, const char *remark, double data)
tianzuo_Qiankun_lib int tianzuo_QiankunInt_data_ints_extract(tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, const char *data_name, char **data)
tianzuo_Qiankun_lib int tianzuo_QiankunInt_data_files_combine(tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, const char *data_name, char *data, bool const compress)
struct Qiankun_function_tag Qiankun_function_struct
tianzuo_Qiankun_lib int tianzuo_QiankunInt_db_get_name(tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, char *&db_name)
struct Qiankun_db_verify * Qiankun_db_verify_pointer
tianzuo_Qiankun_lib int tianzuo_QiankunInt_data_doubles_combine(tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, const char *data_name, const char *remark, char *data)
tianzuo_Qiankun_lib int tianzuo_QiankunInt_db_set_name(tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, const char *db_name)
tianzuo_Qiankun_lib int tianzuo_QiankunInt_data_currency_combine(tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, const char *data_name, const char *remark, double data)
tianzuo_Qiankun_lib int tianzuo_QiankunInt_data_ints_modify(tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, const char *data_name, char *data)
tianzuo_Qiankun_lib int tianzuo_QiankunInt_db_get_total_number(tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, int *file_number)
tianzuo_Qiankun_lib int tianzuo_QiankunInt_data_float_combine(tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, const char *data_name, const char *remark, float data)
tianzuo_Qiankun_lib int tianzuo_QiankunInt_data_dates_extract(tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, const char *data_name, char **data)
tianzuo_Qiankun_lib int tianzuo_QiankunInt_data_ints_combine(tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, const char *data_name, const char *remark, char *data)
tianzuo_Qiankun_lib int tianzuo_QiankunInt_data_date_combine(tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, const char *data_name, const char *remark, double data)
tianzuo_Qiankun_lib int tianzuo_QiankunInt_data_files_modify(tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, const char *data_name, char *data, bool const compress)
struct Qiankun_function_tag * Qiankun_function_pointer
tianzuo_Qiankun_lib int tianzuo_QiankunInt_data_date_extract(tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, const char *data_name, double *data)
tianzuo_Qiankun_lib int tianzuo_QiankunInt_data_short_modify(tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, const char *data_name, short data)
tianzuo_Qiankun_lib int tianzuo_QiankunInt_data_check(tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, const char *data_name, int data_type)
tianzuo_Qiankun_lib int tianzuo_QiankunInt_data_float_modify(tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, const char *data_name, float data)
struct Qiankun_user_data_tag Qiankun_user_data_struct
tianzuo_Qiankun_lib void tianzuo_QiankunInterface_terminate(tianzuo_QiankunInt **QiankunInt_pointer)
tianzuo_Qiankun_lib int tianzuo_QiankunInt_data_strings_modify(tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, const char *data_name, char *data)
tianzuo_Qiankun_lib int tianzuo_QiankunInt_data_floats_combine(tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, const char *data_name, const char *remark, char *data)
tianzuo_Qiankun_lib int tianzuo_QiankunInt_data_doubles_modify(tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, const char *data_name, char *data)
tianzuo_Qiankun_lib int tianzuo_QiankunInt_data_get_size(tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, int size_type, const char *data_name, int data_type, int *data)
struct Qiankun_get_user_data_tag Qiankun_get_user_data_struct
tianzuo_Qiankun_lib int tianzuo_QiankunInt_db_set_total_number(tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, int const add_file_number)
tianzuo_Qiankun_lib int tianzuo_QiankunInt_db_rebuild(tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, const char *new_db_file_name)
tianzuo_Qiankun_lib int tianzuo_QiankunInt_data_currency_modify(tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, const char *data_name, double data)
struct Qiankun_user_data_tag * Qiankun_user_data_pointer
struct Qiankun_db_verify Qiankun_db_verify_struct
tianzuo_Qiankun_lib int tianzuo_QiankunInt_data_dates_combine(tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, const char *data_name, const char *remark, char *data)
tianzuo_Qiankun_lib int tianzuo_QiankunInt_data_shorts_extract(tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, const char *data_name, char **data)
tianzuo_Qiankun_lib int tianzuo_QiankunInt_db_open_database(tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password)
tianzuo_Qiankun_lib int tianzuo_QiankunInt_data_currencys_extract(tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, const char *data_name, char **data)
tianzuo_Qiankun_lib int tianzuo_QiankunInt_data_shorts_combine(tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, const char *data_name, const char *remark, char *data)
tianzuo_Qiankun_lib int tianzuo_QiankunInt_data_string_extract(tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, const char *data_name, char **data)
tianzuo_Qiankun_lib int tianzuo_QiankunInt_data_short_combine(tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, const char *data_name, const char *remark, short data)
tianzuo_Qiankun_lib int tianzuo_QiankunInt_data_get_name_list(tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, int name_type, char **data)
tianzuo_Qiankun_lib int tianzuo_QiankunInt_data_doubles_extract(tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, const char *data_name, char **data)
struct Qiankun_data_type_tag Qiankun_data_type_struct
#define tianzuo_Qiankun_lib
Definition tianzuo.QiankunInterface.h:21
struct Qiankun_get_user_data_tag * Qiankun_get_user_data_pointer
tianzuo_Qiankun_lib int tianzuo_QiankunInt_data_delete(tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, const char *data_name)
struct Qiankun_data_type_tag * Qiankun_data_type_pointer
tianzuo_Qiankun_lib int tianzuo_QiankunInt_data_strings_extract(tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, const char *data_name, char **data)
tianzuo_Qiankun_lib tianzuo_QiankunInt * tianzuo_QiankunInterface_initialize()
tianzuo_Qiankun_lib int tianzuo_QiankunInt_data_get_index_list(tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, char **data)
tianzuo_Qiankun_lib int tianzuo_QiankunInt_data_string_combine(tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, const char *data_name, const char *remark, char *data)
tianzuo_Qiankun_lib int tianzuo_QiankunInt_data_currencys_combine(tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, const char *data_name, const char *remark, char *data)
tianzuo_Qiankun_lib int tianzuo_QiankunInt_data_currency_extract(tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, const char *data_name, double *data)
tianzuo_Qiankun_lib int tianzuo_QiankunInt_data_float_extract(tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, const char *data_name, float *data)
tianzuo_Qiankun_lib int tianzuo_QiankunInt_data_date_modify(tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, const char *data_name, double data)
tianzuo_Qiankun_lib int tianzuo_QiankunInt_data_floats_modify(tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, const char *data_name, char *data)
tianzuo_Qiankun_lib int tianzuo_QiankunInt_data_short_extract(tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, const char *data_name, short *data)
tianzuo_Qiankun_lib int tianzuo_QiankunInt_data_deletes(tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, const char *data_name)
tianzuo_Qiankun_lib int tianzuo_QiankunInt_db_change_password(tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, const char *new_password)
tianzuo_Qiankun_lib int tianzuo_QiankunInt_db_close_database(tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password)