Packets: Complete reimplementation of parse helper macros
[senf.git] / Utils / Logger / Stream.ih
index 55b2dd2..a2db435 100644 (file)
@@ -27,6 +27,7 @@
 #define IH_Stream_ 1
 
 // Custom includes
+#include <string>
 
 ///////////////////////////////ih.p////////////////////////////////////////
 
@@ -36,8 +37,16 @@ namespace detail {
 
     struct StreamBase 
     {
+        StreamBase();
         virtual ~StreamBase() {};
-        virtual char const * v_name() = 0;
+        
+        std::string fullName() const;
+        virtual std::string v_name() const;
+
+        void init();
+
+        unsigned index;
+        static unsigned nStreams;
     };
 
 }}}