|
Hikyuu
0.1
|
#include <RightShift.h>


Public 成员函数 | |
| RightShift () | |
| virtual | ~RightShift () |
Public 成员函数 继承自 hku::IndicatorImp | |
| 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) |
额外继承的成员函数 | |
Public 类型 继承自 hku::IndicatorImp | |
| typedef shared_ptr< IndicatorImp > | IndicatorImpPtr |
Protected 属性 继承自 hku::IndicatorImp | |
| string | m_name |
| size_t | m_discard |
| size_t | m_result_num |
| PriceList * | m_pBuffer [MAX_RESULT_NUM] |
| hku::RightShift::RightShift | ( | ) |
|
virtual |
1.8.11