MySQL 8.0.39
Source Code Documentation
|
Geometry vector class. More...
#include <spatial.h>
Public Member Functions | |
Geometry_vector () | |
Public Member Functions inherited from Inplace_vector< T > | |
Inplace_vector (PSI_memory_key psi_key) | |
~Inplace_vector () | |
Release memory space and destroy all contained objects. More... | |
T * | get_object (size_t index) |
Get an existing element's pointer, index must be in [0, m_obj_count). More... | |
T * | append_object () |
Allocate space for an object, and construct it using its default constructor, and return its address. More... | |
T * | push_back (const T &obj) |
STL std::vector::push_back interface. More... | |
bool | resize (size_t new_size, const T &val=T()) |
STL std::vector::resize interface. More... | |
size_t | size () const |
STL std::vector::size interface. More... | |
size_t | capacity () const |
STL std::vector::capacity interface. More... | |
bool | empty () const |
STL std::vector::empty interface. More... | |
void | clear () |
STL std::vector::clear interface. More... | |
const T & | back () const |
STL std::vector::back interface. More... | |
T & | back () |
STL std::vector::back interface. More... | |
const T & | operator[] (size_t i) const |
STL std::vector::operator[] interface. More... | |
T & | operator[] (size_t i) |
STL std::vector::operator[] interface. More... | |
void | delete_all_objects () |
Destroy all elements (by calling each element's destructor) stored in the vector, and then release all memory held by it. More... | |
Private Types | |
typedef Inplace_vector< T > | base |
Geometry vector class.
T | Vector element type. |
|
private |
|
inline |