vnpy/vn.ib/ibapi/linux/client/SoftDollarTier.h
2016-11-13 12:08:32 +08:00

26 lines
521 B
C++

#pragma once
class TWSAPIDLLEXP SoftDollarTier
{
std::string m_name, m_val, m_displayName;
public:
SoftDollarTier(const std::string& name = "", const std::string& val = "", const std::string& displayName = "");
std::string name() const;
std::string val() const;
std::string displayName() const;
//封装添加
bool operator==(const SoftDollarTier & a)
{
return a.name() == this->name();
}
bool operator!=(const SoftDollarTier & a)
{
return a.name() != this->name();
}
};