Commit 2f8f0aef authored by Hans-Christian Ebke's avatar Hans-Christian Ebke

Added operator<< for UpdateType. Convenient for debugging.


git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@17608 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 7dd89c1e
......@@ -79,6 +79,11 @@ class DLLEXPORT UpdateType {
/// Check if this update contains the given UpdateType
bool contains( const UpdateType& _type ) const;
friend std::ostream &operator<< (
std::ostream &os, const UpdateType &type) {
return os << type.type_;
}
protected:
UpdateTypeSet type_;
};
......
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