Added stream operator for FVIter.

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@894 fdac6126-5c0c-442c-9429-916003d36597
This commit is contained in:
Hans-Christian Ebke
2013-08-07 09:24:04 +00:00
parent 7e8fd1e6fc
commit 26f9e84e59

View File

@@ -326,6 +326,12 @@ class GenericCirculatorT : protected GenericCirculatorBaseT<Mesh> {
operator value_type() const { operator value_type() const {
return **this; return **this;
} }
template<typename STREAM>
friend STREAM &operator<< (STREAM &s, const GenericCirculatorT &self) {
return s << self.mesh_ << ", " << self.start_.idx() << ", " << self.heh_.idx() << ", " << self.lap_counter_;
}
}; };
} // namespace Iterators } // namespace Iterators