text: // Copyright (c) 2005,2006,2007,2009,2010,2011 Tel-Aviv University (Israel).
  // All rights reserved.
  //
  // This file is part of CGAL (www.cgal.org).
  // You can redistribute it and/or modify it under the terms of the GNU
  // General Public License as published by the Free Software Foundation,
  // either version 3 of the License, or (at your option) any later version.
  //
  // Licensees holding a valid commercial license may use this file in
  // accordance with the commercial license agreement provided with the software.
  //
  // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
  // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  //
  // $URL: svn+ssh://scm.gforge.inria.fr/svn/cgal/branches/releases/CGAL-4.1-branch/Arrangement_on_surface_2/include/CGAL/IO/Qt_widget_Polyline_2.h $
  // $Id: Qt_widget_Polyline_2.h 67117 2012-01-13 18:14:48Z lrineau $
  // $Date: 2012-01-13 19:14:48 +0100 (Fri, 13 Jan 2012) $
  // 
  //
  // Author(s)     : Ron Wein  <wein@post.tau.ac.il>
  //                 Efi Fogel <efif@post.tau.ac.il>
  
  #ifndef CGAL_QT_WIDGET_POLYLINE_2_H
  #define CGAL_QT_WIDGET_POLYLINE_2_H
  
  #include <CGAL/IO/Qt_widget.h>
  #include <CGAL/Arr_traits_2/Polyline_2.h>
  
  namespace CGAL {
  
  /*!
   * Export a polyline to a window stream 
   */
  template <class T_SegmentTraits>
  Qt_widget & operator<<(Qt_widget & ws, const _Polyline_2<T_SegmentTraits> & cv)
  {
    for (unsigned int i = 0; i < cv.size(); ++i) ws << cv[i];
    return ws;
  }
  
  } //namespace CGAL
  
  #endif
  