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 23 of file slice.h.

#include <slice.h>

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

Public Member Functions

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

Private Attributes

T * mData
 
fl::size mSize
 

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