FastLED 3.9.15
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
fl::InlinedVector< T, INLINED_SIZE > Class Template Reference

Detailed Description

template<typename T, size_t INLINED_SIZE>
class fl::InlinedVector< T, INLINED_SIZE >

Definition at line 807 of file vector.h.

#include <vector.h>

+ Inheritance diagram for fl::InlinedVector< T, INLINED_SIZE >:
+ Collaboration diagram for fl::InlinedVector< T, INLINED_SIZE >:

Public Types

using const_iterator
 
using iterator = typename FixedVector<T, INLINED_SIZE>::iterator
 

Public Member Functions

 InlinedVector ()=default
 
 InlinedVector (const InlinedVector &other)
 
 InlinedVector (InlinedVector &&other)
 
 InlinedVector (size_t size)
 
template<typename InputIt, typename = fl::enable_if_t<!fl::is_integral<InputIt>::value>>
void assign (InputIt begin, InputIt end)
 
void assign (size_t new_cap, const T &value)
 
T & back ()
 
const T & back () const
 
iterator begin ()
 
const_iterator begin () const
 
void clear ()
 
T * data ()
 
const T * data () const
 
bool empty () const
 
iterator end ()
 
const_iterator end () const
 
void erase (iterator pos)
 
template<typename Predicate>
iterator find_if (Predicate pred)
 
T & front ()
 
const T & front () const
 
bool full () const
 
bool insert (iterator pos, const T &value)
 
InlinedVectoroperator= (const InlinedVector &other)
 
InlinedVectoroperator= (InlinedVector &&other)
 
T & operator[] (size_t idx)
 
const T & operator[] (size_t idx) const
 
void pop_back ()
 
void push_back (const T &value)
 
void reserve (size_t size)
 
void resize (size_t size)
 
size_t size () const
 
void swap (InlinedVector &other)
 

Private Attributes

FixedVector< T, INLINED_SIZE > mFixed
 
HeapVector< T > mHeap
 
bool mUsingHeap = false
 

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