mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-19 06:06:54 -06:00
Sql: SqlSet::operator==, !=
git-svn-id: svn://ultimatepp.org/upp/trunk@6024 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
cd62890d88
commit
a4f3a9faf2
1 changed files with 3 additions and 1 deletions
|
|
@ -433,7 +433,9 @@ public:
|
|||
String operator()() const;
|
||||
String operator()(int at) const;
|
||||
String operator()(int at, byte cond) const;
|
||||
bool IsEmpty() const { return text.IsEmpty(); }
|
||||
bool IsEmpty() const { return text.IsEmpty(); }
|
||||
bool operator==(const SqlSet& b) const { return text == b.text && priority == b.priority; }
|
||||
bool operator!=(const SqlSet& b) const { return !operator==(b); }
|
||||
|
||||
SqlSet& Cat(const SqlVal& val); // adding a member
|
||||
SqlSet& Cat(const SqlSet& set);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue