From a16b385caf0cc35eaf9cd5548c52515a8341d2ac Mon Sep 17 00:00:00 2001 From: fasiondog Date: Thu, 29 Jun 2017 14:17:07 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BF=91=E6=9C=9F=E4=BF=AE=E6=94=B9linux?= =?UTF-8?q?=E7=BC=96=E8=AF=91=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- libs/hikyuu/indicator/Operand.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/libs/hikyuu/indicator/Operand.h b/libs/hikyuu/indicator/Operand.h index 41fa512b..98589a40 100644 --- a/libs/hikyuu/indicator/Operand.h +++ b/libs/hikyuu/indicator/Operand.h @@ -79,6 +79,27 @@ private: typedef Operand OP; +HKU_API Operand operator+(const Operand&, price_t); +HKU_API Operand operator+(price_t, const Operand&); +HKU_API Operand operator-(const Operand&, price_t); +HKU_API Operand operator-(price_t, const Operand&); +HKU_API Operand operator*(const Operand&, price_t); +HKU_API Operand operator*(price_t, const Operand&); +HKU_API Operand operator/(const Operand&, price_t); +HKU_API Operand operator/(price_t, const Operand&); +HKU_API Operand operator>(const Operand&, price_t); +HKU_API Operand operator>(price_t, const Operand&); +HKU_API Operand operator<(const Operand&, price_t); +HKU_API Operand operator<(price_t, const Operand&); +HKU_API Operand operator>=(const Operand&, price_t); +HKU_API Operand operator>=(price_t, const Operand&); +HKU_API Operand operator<=(const Operand&, price_t); +HKU_API Operand operator<=(price_t, const Operand&); +HKU_API Operand operator==(const Operand&, price_t); +HKU_API Operand operator==(price_t, const Operand&); +HKU_API Operand operator!=(const Operand&, price_t); +HKU_API Operand operator!=(price_t, const Operand&); + } /* namespace hku */ #endif /* INDICATOR_OPERAND_H_ */