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

#include <slice.h>

Public Member Functions

 Slice ()
 
 Slice (const Slice &other)
 
 Slice (T *data, size_t size)
 
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: