NEW FILE HEADER / COPYRIGHT FORMAT
[senf.git] / Utils / TypeIdValue.hh
index 61bcdd1..a805a1b 100644 (file)
@@ -1,9 +1,9 @@
 // $Id$
 //
 // Copyright (C) 2006
-// Fraunhofer Institut fuer offene Kommunikationssysteme (FOKUS)
-// Kompetenzzentrum fuer Satelitenkommunikation (SatCom)
-//     Stefan Bund <stefan.bund@fokus.fraunhofer.de>
+// Fraunhofer Institute for Open Communication Systems (FOKUS) 
+// Competence Center NETwork research (NET), St. Augustin, GERMANY 
+//     Stefan Bund <g0dil@berlios.de>
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
@@ -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
 
@@ -61,6 +64,7 @@ namespace senf {
         bool operator<(TypeIdValue const & other) const;
 
         std::string name() const;
+        std::type_info const & id() const;
 
     protected:
 
@@ -89,6 +93,7 @@ namespace senf {
     template <class Type>
     TypeIdValue const typeIdValue();
 
+    std::ostream & operator<<(std::ostream & os, TypeIdValue const & v);
 }
 
 ///////////////////////////////hh.e////////////////////////////////////////