MySQL 8.0.39
Source Code Documentation
|
Constant storage for WKB. More...
#include <spatial.h>
Public Member Functions | |
wkb_container ()=default | |
wkb_container (const char *data, const char *data_end) | |
void | set (const char *data, const char *data_end) |
const char * | data () const |
const char * | data_end () const |
uint32 | length () const |
bool | no_data (size_t data_amount) const |
Check if there's enough data remaining as requested. More... | |
bool | not_enough_points (uint32 expected_points, uint32 extra_point_space=0) const |
Check if there're enough points remaining as requested. More... | |
Protected Attributes | |
const char * | m_data |
const char * | m_data_end |
Constant storage for WKB.
Encapsulation and the available methods make it impossible to update the members of wkb_container once it is initialized. The only allowed modification method is set(), which fully replaces the previous buffer.
|
default |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Check if there's enough data remaining as requested.
|
inline |
Check if there're enough points remaining as requested.
Need to perform the calculation in logical units, since multiplication can overflow the size data type.
|
inline |
|
protected |
|
protected |