* Catch-all stream serialization operator for enum types.
*
* @param[in,out] in Stream to deserialize from
* Catch-all stream serialization operator for enum types.
*
* @param[in,out] in Stream to deserialize from
- * @param[in] value Value to deserialize into
+ * @param[out] value Value to deserialize into
* @returns A reference to the stream
*/
template<typename T,
* @returns A reference to the stream
*/
template<typename T,
value = static_cast<T>(v);
return in;
}
value = static_cast<T>(v);
return in;
}
-
-//! Base class for exceptions.
-struct Exception {
- Exception(QString msg = "Unknown Exception") : _msg(msg) {}
- virtual ~Exception() {} // make gcc happy
- virtual inline QString msg() { return _msg; }
-
-protected:
- QString _msg;
-};