#include <ConstantValue.h>
|
| ConstantValue () |
|
| ConstantValue (double value, size_t len, size_t discard) |
|
virtual | ~ConstantValue () |
|
| IndicatorImp () |
| 默认构造函数 更多...
|
|
| IndicatorImp (const string &name) |
|
| IndicatorImp (const string &name, size_t result_num) |
|
virtual | ~IndicatorImp () |
|
size_t | getResultNumber () const |
|
size_t | discard () const |
|
void | setDiscard (size_t discard) |
|
size_t | size () const |
|
price_t | get (size_t pos, size_t num=0) |
|
PriceList | getResultAsPriceList (size_t result_num) |
| 以PriceList方式获取指定的输出集 更多...
|
|
Indicator | getResult (size_t result_num) |
| 以Indicator的方式获取指定的输出集,该方式包含了discard的信息 更多...
|
|
void | _set (price_t val, size_t pos, size_t num=0) |
| 使用IndicatorImp(const Indicator&...)构造函数后,计算结果使用该函数, 未做越界保护 更多...
|
|
void | _readyBuffer (size_t len, size_t result_num) |
| 准备内存 更多...
|
|
string | name () const |
|
void | name (const string &name) |
|
string | long_name () const |
| 返回形如:Name(param1=val,param2=val,...) 更多...
|
|
void | calculate (const Indicator &data) |
|
virtual bool | check () |
|
virtual void | _calculate (const Indicator &data) |
|
virtual IndicatorImpPtr | operator() (const Indicator &ind) |
|
hku::ConstantValue::ConstantValue |
( |
| ) |
|
hku::ConstantValue::ConstantValue |
( |
double |
value, |
|
|
size_t |
len, |
|
|
size_t |
discard |
|
) |
| |
hku::ConstantValue::~ConstantValue |
( |
| ) |
|
|
virtual |
该类的文档由以下文件生成: