MySQL 8.0.39
Source Code Documentation
Geometry_vector< T > Class Template Reference

Geometry vector class. More...

#include <spatial.h>

Inheritance diagram for Geometry_vector< T >:
[legend]

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
 

Detailed Description

template<typename T>
class Geometry_vector< T >

Geometry vector class.

Template Parameters
TVector element type.

Member Typedef Documentation

◆ base

template<typename T >
typedef Inplace_vector<T> Geometry_vector< T >::base
private

Constructor & Destructor Documentation

◆ Geometry_vector()

template<typename T >
Geometry_vector< T >::Geometry_vector ( )
inline

The documentation for this class was generated from the following file: