Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

PrevUpHomeNext
dsv

Main DSV-streaming function.

Description

DSV stands for Delimiter Separated Values. Geometries can be streamed as DSV. There are defaults for all separators.

Synopsis

template<typename Geometry>
detail::dsv::dsv_manipulator< Geometry > dsv(Geometry const & geometry, std::string const & coordinate_separator = ", ", std::string const & point_open = "(",
                                             std::string const & point_close = ")", std::string const & point_separator = ", ", std::string const & list_open = "(",
                                             std::string const & list_close = ")", std::string const & list_separator = ", ")

Parameters

Type

Concept

Name

Description

Geometry const &

geometry

std::string const &

coordinate_separator

std::string const &

point_open

std::string const &

point_close

std::string const &

point_separator

std::string const &

list_open

std::string const &

list_close

std::string const &

list_separator

Header

Either

#include <boost/geometry.hpp>

Or

#include <boost/geometry/io/dsv/write.hpp>


PrevUpHomeNext