From 26f9e84e5926b7f95eae9f60208e49f6609662dd Mon Sep 17 00:00:00 2001 From: Hans-Christian Ebke Date: Wed, 7 Aug 2013 09:24:04 +0000 Subject: [PATCH] Added stream operator for FVIter. git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@894 fdac6126-5c0c-442c-9429-916003d36597 --- src/OpenMesh/Core/Mesh/CirculatorsT.hh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/OpenMesh/Core/Mesh/CirculatorsT.hh b/src/OpenMesh/Core/Mesh/CirculatorsT.hh index 4594a2a1..28dd793d 100644 --- a/src/OpenMesh/Core/Mesh/CirculatorsT.hh +++ b/src/OpenMesh/Core/Mesh/CirculatorsT.hh @@ -326,6 +326,12 @@ class GenericCirculatorT : protected GenericCirculatorBaseT { operator value_type() const { return **this; } + + template + friend STREAM &operator<< (STREAM &s, const GenericCirculatorT &self) { + return s << self.mesh_ << ", " << self.start_.idx() << ", " << self.heh_.idx() << ", " << self.lap_counter_; + } + }; } // namespace Iterators