![]() |
Xlight API用户手册 v1.6.0.23
Xlight极速柜台接口文档
|
证券过滤器类,提供添加过滤证券代码和检查证券代码是否被订阅的功能 更多...
#include <xlt_security_filter.h>
Public 成员函数 | |
| XLTSecurityFilter () | |
| void | disable () |
| 禁用功能,禁用后所有证券代码都认为被订阅,check永远返回true | |
| void | enable () |
| 启用功能,启用后只有添加到过滤器中的证券代码才认为被订阅 | |
| bool | add (const char *security_code) |
| 添加证券代码(添加订阅) | |
| bool | check (const char *security_code) |
证券过滤器类,提供添加过滤证券代码和检查证券代码是否被订阅的功能
| x1::XLTSecurityFilter::XLTSecurityFilter | ( | ) |
| bool x1::XLTSecurityFilter::add | ( | const char * | security_code | ) |
添加证券代码(添加订阅)
| security_code | 证券代码 |
| bool x1::XLTSecurityFilter::check | ( | const char * | security_code | ) |
判断证券代码是否订阅
| security_code | 证券代码 |
|
inline |
禁用功能,禁用后所有证券代码都认为被订阅,check永远返回true
|
inline |
启用功能,启用后只有添加到过滤器中的证券代码才认为被订阅