vnpy/vn.ib/ibapi/windows/client/SoftDollarTier.h
2016-11-12 00:42:37 +08:00

26 lines
489 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();
}
};