26 lines
521 B
C++
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();
|
|
}
|
|
};
|
|
|