Livox SDK API
V2.2.0
|
#include <core.h>
Public Types | |
typedef T | value_type |
typedef const T & | const_reference |
Public Member Functions | |
virtual | ~basic_buffer () |
T * | begin () throw () |
T * | end () throw () |
std::size_t | size () const throw () |
std::size_t | capacity () const throw () |
T * | data () throw () |
const T * | data () const throw () |
void | resize (std::size_t new_size) |
void | clear () |
void | reserve (std::size_t new_capacity) |
void | push_back (const T &value) |
template<typename U > | |
void | append (const U *begin, const U *end) |
T & | operator[] (std::size_t index) |
const T & | operator[] (std::size_t index) const |
Protected Member Functions | |
basic_buffer (std::size_t sz) throw () | |
basic_buffer (T *p=NULL, std::size_t sz=0, std::size_t cap=0) throw () | |
void | set (T *buf_data, std::size_t buf_capacity) throw () |
virtual void | grow (std::size_t capacity)=0 |
A contiguous memory buffer with an optional growing ability.
typedef const T& fmt::v5::internal::basic_buffer< T >::const_reference |
typedef T fmt::v5::internal::basic_buffer< T >::value_type |
|
inlineprotected |
|
inlineprotected |
|
inlinevirtual |
void fmt::v5::internal::basic_buffer< T >::append | ( | const U * | begin, |
const U * | end | ||
) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
protectedpure virtual |
Increases the buffer capacity to hold at least capacity elements.
Implemented in fmt::v5::basic_memory_buffer< T, SIZE, Allocator >, fmt::v5::basic_memory_buffer< Char >, fmt::v5::basic_memory_buffer< char, 128 >, fmt::v5::basic_memory_buffer< char, 176 >, and fmt::v5::internal::container_buffer< Container >.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineprotected |
|
inline |