PPI: Checkin of first compiling (yet not working) version
[senf.git] / Utils / TypeIdValue.hh
index 61bcdd1..4e6c853 100644 (file)
@@ -20,6 +20,9 @@
 // Free Software Foundation, Inc.,
 // 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 
+/** \file
+    \brief TypeIdValue public header */
+
 #ifndef HH_TypeIdValue_
 #define HH_TypeIdValue_ 1
 
@@ -89,6 +92,9 @@ namespace senf {
     template <class Type>
     TypeIdValue const typeIdValue();
 
+    inline std::ostream & operator<<(std::ostream & os, TypeIdValue const & v)
+    { return os << v.name(); }
+    
 }
 
 ///////////////////////////////hh.e////////////////////////////////////////