NGen
|
Classes | |
class | FileChecker |
Simple utility class for testing things about one or more files. More... | |
class | FileStreamHandler |
class | StreamHandler |
This class provides a copyable interface to a std::ostream or std::ostream like object that may not support being copied. More... | |
Functions | |
template<typename S > | |
void | copy_from (const boost::span< const uint8_t > src, int &index, S &dst, uint8_t order) |
Copies bytes from. | |
template<> | |
void | copy_from< double > (const boost::span< const uint8_t > src, int &index, double &dst, uint8_t order) |
static StreamHandler | getStdOut () |
static StreamHandler | getStdErr () |
void utils::copy_from | ( | const boost::span< const uint8_t > | src, |
int & | index, | ||
S & | dst, | ||
uint8_t | order ) |
Copies bytes from.
to |
param , converts the endianness to native, and increments
by | the number of bytes used to store |
S}
S | a primitive type |
src | a vector of bytes |
index | an integral type tracking the starting position of |
's | memory |
dst | output primitive |
order | endianness value (0x01 == Little; 0x00 == Big) |
Referenced by ngen::geopackage::build_geometry(), copy_from< double >(), ngen::geopackage::wkb::read(), ngen::geopackage::wkb::read_linestring(), ngen::geopackage::wkb::read_multilinestring(), ngen::geopackage::wkb::read_multipoint(), ngen::geopackage::wkb::read_multipolygon(), ngen::geopackage::wkb::read_point(), and ngen::geopackage::wkb::read_polygon().
|
inline |
References copy_from().
|
static |
|
static |