Commit 11b4c1d3 by maarten

small changes in prepper

git-svn-id: svn+ssh://gitlab/srv/svn-repos/pdb-redo/trunk@518 a1961a4f-ab94-4bcc-80e8-33b5a54de466
parent a56b6b13
...@@ -308,6 +308,8 @@ namespace detail ...@@ -308,6 +308,8 @@ namespace detail
bool operator!=(const string& s) const { return s != c_str(); } bool operator!=(const string& s) const { return s != c_str(); }
bool operator==(const string& s) const { return s == c_str(); } bool operator==(const string& s) const { return s == c_str(); }
friend std::ostream& operator<<(std::ostream& os, ItemReference& item);
private: private:
friend class ::cif::Row; friend class ::cif::Row;
......
...@@ -309,6 +309,12 @@ void ItemReference::swap(ItemReference& b) ...@@ -309,6 +309,12 @@ void ItemReference::swap(ItemReference& b)
Row::swap(mColumn, mRow.mData, b.mRow.mData); Row::swap(mColumn, mRow.mData, b.mRow.mData);
} }
std::ostream& operator<<(std::ostream& os, ItemReference& item)
{
os << item.c_str();
return os;
}
} }
// -------------------------------------------------------------------- // --------------------------------------------------------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment