mirror of
https://gitee.com/fasiondog/hikyuu.git
synced 2024-12-04 21:07:57 +08:00
29 lines
536 B
C++
29 lines
536 B
C++
/*
|
|
* ConstantValue.h
|
|
*
|
|
* Created on: 2017年6月25日
|
|
* Author: Administrator
|
|
*/
|
|
|
|
#pragma once
|
|
#ifndef INDICATOR_IMP_CONSTANTVALUE_H_
|
|
#define INDICATOR_IMP_CONSTANTVALUE_H_
|
|
|
|
#include "../Indicator.h"
|
|
|
|
namespace hku {
|
|
|
|
class ConstantValue : public IndicatorImp {
|
|
INDICATOR_IMP(ConstantValue)
|
|
INDICATOR_IMP_NO_PRIVATE_MEMBER_SERIALIZATION
|
|
|
|
public:
|
|
ConstantValue();
|
|
ConstantValue(double value, size_t discard);
|
|
virtual ~ConstantValue();
|
|
};
|
|
|
|
} /* namespace hku */
|
|
|
|
#endif /* INDICATOR_IMP_CONSTANTVALUE_H_ */
|