boat
C++23 geospatial library
Loading...
Searching...
No Matches
boat Namespace Reference

Namespaces

namespace  db
namespace  gdal
namespace  geometry
namespace  gil
namespace  gui
namespace  slippy
namespace  sql

Classes

struct  blob_view
struct  blob
struct  hex
 Formats bytes as uppercase hex, two digits per byte. More...
struct  tile

Functions

template<class I, class O>
requires std::same_as<std::remove_reference_t<I>, blob_view>
decltype(auto) operator>> (I &&in, O &out)
 Arithmetic reads use native byte order and advance the view.
template<class O, class I>
requires std::same_as<std::remove_reference_t<O>, blob>
decltype(auto) operator<< (O &&out, I const &in)
 Arithmetic values are appended in native byte order.
template<class T>
requires requires(T out) { in >> out; }
T get (blob_view &in)
template<arithmetic T>
requires (!mixed(std::endian::native))
T get (blob_view &in, std::endian e)
std::unique_ptr< db::catalog > make_catalog (std::string_view address)
blob_view & operator>> (blob_view &wkb, geometry::ogc99 auto &geom)
 Reads one OGC 99 WKB geometry and advances wkb past it.
blob & operator<< (blob &wkb, geometry::ogc99 auto const &geom)
 Appends an OGC 99 WKB geometry in native byte order.

Function Documentation

◆ get() [1/2]

template<class T>
requires requires(T out) { in >> out; }
T boat::get ( blob_view & in)

◆ get() [2/2]

template<arithmetic T>
requires (!mixed(std::endian::native))
T boat::get ( blob_view & in,
std::endian e )

◆ make_catalog()

std::unique_ptr< db::catalog > boat::make_catalog ( std::string_view address)
inline

◆ operator<<() [1/2]

blob & boat::operator<< ( blob & wkb,
geometry::ogc99 auto const & geom )

Appends an OGC 99 WKB geometry in native byte order.

◆ operator<<() [2/2]

template<class O, class I>
requires std::same_as<std::remove_reference_t<O>, blob>
decltype(auto) boat::operator<< ( O && out,
I const & in )

Arithmetic values are appended in native byte order.

◆ operator>>() [1/2]

blob_view & boat::operator>> ( blob_view & wkb,
geometry::ogc99 auto & geom )

Reads one OGC 99 WKB geometry and advances wkb past it.

◆ operator>>() [2/2]

template<class I, class O>
requires std::same_as<std::remove_reference_t<I>, blob_view>
decltype(auto) boat::operator>> ( I && in,
O & out )

Arithmetic reads use native byte order and advance the view.