[opengtl-commits] [263] operator<< need to be a friend to display debug

[ Thread Index | Date Index | More lists.tuxfamily.org/opengtl-commits Archives ]


Revision: 263
Author:   cyrille
Date:     2008-06-29 10:49:52 +0200 (Sun, 29 Jun 2008)

Log Message:
-----------
operator<< need to be a friend to display debug

Modified Paths:
--------------
    trunk/OpenGTL/OpenGTL/GTLCore/Type.h


Modified: trunk/OpenGTL/OpenGTL/GTLCore/Type.h
===================================================================
--- trunk/OpenGTL/OpenGTL/GTLCore/Type.h	2008-06-29 08:49:01 UTC (rev 262)
+++ trunk/OpenGTL/OpenGTL/GTLCore/Type.h	2008-06-29 08:49:52 UTC (rev 263)
@@ -63,6 +63,7 @@
     friend class TypeManager;
     friend class Visitor;
     friend class VectorVisitor;
+    friend std::ostream& operator<< (std::ostream& ostr, const Type& type);
     public:
       enum DataType {
         UNDEFINED,


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/