Autonomy Software C++ 24.5.1
Welcome to the Autonomy Software repository of the Mars Rover Design Team (MRDT) at Missouri University of Science and Technology (Missouri S&T)! API reference contains the source code and other resources for the development of the autonomy software for our Mars rover. The Autonomy Software project aims to compete in the University Rover Challenge (URC) by demonstrating advanced autonomous capabilities and robust navigation algorithms.
Loading...
Searching...
No Matches
duckdb_re2::PODArray< T > Class Template Reference

Classes

struct  Deleter

Public Member Functions

 PODArray (int len)
T * data () const
int size () const
T & operator[] (int pos) const

Private Attributes

duckdb_base_std::unique_ptr< T[], Deleter > ptr_

Constructor & Destructor Documentation

◆ PODArray() [1/2]

template<typename T>
duckdb_re2::PODArray< T >::PODArray ( )
inline
459049 : ptr_() {}

◆ PODArray() [2/2]

template<typename T>
duckdb_re2::PODArray< T >::PODArray ( int len)
inlineexplicit
459051 : ptr_(std::allocator<T>().allocate(len), Deleter(len)) {}
Definition duckdb.cpp:459043
Definition duckdb.cpp:459066

Member Function Documentation

◆ data()

template<typename T>
T * duckdb_re2::PODArray< T >::data ( ) const
inline
459053 {
459054 return ptr_.get();
459055 }

◆ size()

template<typename T>
int duckdb_re2::PODArray< T >::size ( ) const
inline
459057 {
459058 return ptr_.get_deleter().len_;
459059 }

◆ operator[]()

template<typename T>
T & duckdb_re2::PODArray< T >::operator[] ( int pos) const
inline
459061 {
459062 return ptr_[pos];
459063 }

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