FastLED 3.9.15
Loading...
Searching...
No Matches
fl::Slice< T > Class Template Reference

Detailed Description

template<typename T>
class fl::Slice< T >

Definition at line 22 of file slice.h.

#include <slice.h>

+ Inheritance diagram for fl::Slice< T >:

Public Member Functions

 Slice ()
 
template<size_t INLINED_SIZE>
 Slice (const FixedVector< T, INLINED_SIZE > &vector)
 
template<typename U, size_t INLINED_SIZE>
 Slice (const FixedVector< U, INLINED_SIZE > &vector)
 
template<typename Alloc>
 Slice (const HeapVector< T, Alloc > &vector)
 
template<typename U, typename Alloc>
 Slice (const HeapVector< U, Alloc > &vector)
 
template<size_t INLINED_SIZE>
 Slice (const InlinedVector< T, INLINED_SIZE > &vector)
 
template<typename U, size_t INLINED_SIZE>
 Slice (const InlinedVector< U, INLINED_SIZE > &vector)
 
 Slice (const Slice &other)
 
template<typename Iterator>
 Slice (Iterator begin, Iterator end)
 
 Slice (T *data, size_t size)
 
template<size_t ARRAYSIZE>
 Slice (T(&array)[ARRAYSIZE])
 
template<typename U, size_t ARRAYSIZE>
 Slice (T(&array)[ARRAYSIZE])
 
T & back ()
 
const T & back () const
 
T * begin () const
 
T * data ()
 
const T * data () const
 
bool empty ()
 
T * end () const
 
size_t find (const T &value) const
 
T & front ()
 
const T & front () const
 
size_t length () const
 
 operator Slice< const T > () const
 
Sliceoperator= (const Slice &other)
 
T & operator[] (size_t index)
 
const T & operator[] (size_t index) const
 
bool pop_back ()
 
bool pop_front ()
 
size_t size () const
 
Slice< T > slice (size_t start) const
 
Slice< T > slice (size_t start, size_t end) const
 

Private Attributes

T * mData
 
size_t mSize
 

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