26 bool add(
const char* security_code);
32 bool check(
const char* security_code);
34 uint64_t* security_mask_ =
nullptr;
证券过滤器类,提供添加过滤证券代码和检查证券代码是否被订阅的功能
定义 xlt_security_filter.h:9
bool add(const char *security_code)
添加证券代码(添加订阅)
bool check(const char *security_code)
void disable()
禁用功能,禁用后所有证券代码都认为被订阅,check永远返回true
定义 xlt_security_filter.h:15
void enable()
启用功能,启用后只有添加到过滤器中的证券代码才认为被订阅
定义 xlt_security_filter.h:19
本文件定义XLT API中使用的基本数据类型和常量