Livox SDK API  V2.2.0
fmt::v5::internal::container_buffer< Container > Class Template Reference

#include <core.h>

Inheritance diagram for fmt::v5::internal::container_buffer< Container >:
fmt::v5::internal::basic_buffer< Container::value_type >

Public Member Functions

 container_buffer (Container &c)
 
- Public Member Functions inherited from fmt::v5::internal::basic_buffer< Container::value_type >
virtual ~basic_buffer ()
 
Container::value_type * begin () throw ()
 
Container::value_type * end () throw ()
 
std::size_t size () const throw ()
 
std::size_t capacity () const throw ()
 
Container::value_type * data () throw ()
 
const Container::value_type * data () const throw ()
 
void resize (std::size_t new_size)
 
void clear ()
 
void reserve (std::size_t new_capacity)
 
void push_back (const Container::value_type &value)
 
void append (const U *begin, const U *end)
 
Container::value_type & operator[] (std::size_t index)
 
const Container::value_type & operator[] (std::size_t index) const
 

Protected Member Functions

void grow (std::size_t capacity)
 
- Protected Member Functions inherited from fmt::v5::internal::basic_buffer< Container::value_type >
 basic_buffer (std::size_t sz) throw ()
 
 basic_buffer (Container::value_type *p=NULL, std::size_t sz=0, std::size_t cap=0) throw ()
 
void set (Container::value_type *buf_data, std::size_t buf_capacity) throw ()
 

Additional Inherited Members

- Public Types inherited from fmt::v5::internal::basic_buffer< Container::value_type >
typedef Container::value_type value_type
 
typedef const Container::value_type & const_reference
 

Detailed Description

template<typename Container>
class fmt::v5::internal::container_buffer< Container >

Definition at line 296 of file core.h.

Constructor & Destructor Documentation

template<typename Container>
fmt::v5::internal::container_buffer< Container >::container_buffer ( Container &  c)
inlineexplicit

Definition at line 307 of file core.h.

Member Function Documentation

template<typename Container>
void fmt::v5::internal::container_buffer< Container >::grow ( std::size_t  capacity)
inlineprotectedvirtual

Increases the buffer capacity to hold at least capacity elements.

Implements fmt::v5::internal::basic_buffer< Container::value_type >.

Definition at line 301 of file core.h.


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