Lines Matching defs:compare

189     int compare(CBSTR str, CaseSensitivity cs = CaseSensitive) const
196 int compare(BSTR str, CaseSensitivity cs = CaseSensitive) const
198 return compare((CBSTR)str, cs);
201 int compare(const Bstr &that, CaseSensitivity cs = CaseSensitive) const
203 return compare(that.m_bstr, cs);
206 bool operator==(const Bstr &that) const { return !compare(that.m_bstr); }
207 bool operator==(CBSTR that) const { return !compare(that); }
208 bool operator==(BSTR that) const { return !compare(that); }
209 bool operator!=(const Bstr &that) const { return !!compare(that.m_bstr); }
210 bool operator!=(CBSTR that) const { return !!compare(that); }
211 bool operator!=(BSTR that) const { return !!compare(that); }
212 bool operator<(const Bstr &that) const { return compare(that.m_bstr) < 0; }
213 bool operator<(CBSTR that) const { return compare(that) < 0; }
214 bool operator<(BSTR that) const { return compare(that) < 0; }
215 bool operator<=(const Bstr &that) const { return compare(that.m_bstr) <= 0; }
216 bool operator<=(CBSTR that) const { return compare(that) <= 0; }
217 bool operator<=(BSTR that) const { return compare(that) <= 0; }
218 bool operator>(const Bstr &that) const { return compare(that.m_bstr) > 0; }
219 bool operator>(CBSTR that) const { return compare(that) > 0; }
220 bool operator>(BSTR that) const { return compare(that) > 0; }
221 bool operator>=(const Bstr &that) const { return compare(that.m_bstr) >= 0; }
222 bool operator>=(CBSTR that) const { return compare(that) >= 0; }
223 bool operator>=(BSTR that) const { return compare(that) >= 0; }
471 /* symmetric compare operators */