FastLED 3.9.15
Loading...
Searching...
No Matches
fl::Str Class Reference

Detailed Description

Definition at line 388 of file str.h.

#include <str.h>

+ Inheritance diagram for fl::Str:
+ Collaboration diagram for fl::Str:

Public Member Functions

 Str ()
 
 Str (const char *str)
 
 Str (const Str &other)
 
template<size_t M>
 Str (const StrN< M > &other)
 
Strappend (const bool &val)
 
Strappend (const char *str)
 
Strappend (const char *str, size_t len)
 
Strappend (const CRGB &c)
 
Strappend (const double &val)
 
Strappend (const FFTBins &str)
 
template<typename T, size_t N>
Strappend (const fl::FixedVector< T, N > &vec)
 
template<typename T>
Strappend (const fl::HeapVector< T > &vec)
 
template<typename T, size_t N>
Strappend (const fl::InlinedVector< T, N > &vec)
 
Strappend (const float &_val)
 
template<typename Key, typename Hash, typename KeyEqual>
Strappend (const HashSet< Key, Hash, KeyEqual > &set)
 
Strappend (const int16_t &val)
 
Strappend (const int32_t &c)
 
Strappend (const int8_t &c)
 
template<typename T>
Strappend (const rect< T > &rect)
 
template<typename T>
Strappend (const Slice< T > &slice)
 
Strappend (const StrN &str)
 
template<typename T, typename = fl::enable_if_t<fl::is_integral<T>::value>>
Strappend (const T &val)
 
Strappend (const uint16_t &val)
 
Strappend (const uint32_t &val)
 
Strappend (const uint8_t &c)
 
template<typename T>
Strappend (const vec2< T > &pt)
 
Strappend (const XYMap &map)
 
const char * data () const
 
bool operator!= (const Str &other) const
 
Stroperator+= (const Str &other)
 
template<typename T>
Stroperator+= (const T &val)
 
bool operator< (const Str &other) const
 
bool operator<= (const Str &other) const
 
Stroperator= (const Str &other)
 
bool operator== (const Str &other) const
 
bool operator> (const Str &other) const
 
bool operator>= (const Str &other) const
 
void swap (Str &other)
 
- Public Member Functions inherited from fl::StrN< FASTLED_STR_INLINED_SIZE >
 StrN ()=default
 
 StrN (const char *str)
 
 StrN (const char(&str)[N])
 
 StrN (const StrN &other)
 
 StrN (const StrN< M > &other)
 
 ~StrN ()
 
const char * c_str () const
 
char * c_str_mutable ()
 
size_t capacity () const
 
void clear (bool freeMemory=false)
 
void copy (const char *str)
 
void copy (const char *str, size_t len)
 
void copy (const StrN< M > &other)
 
bool empty () const
 
int16_t find (const char &value) const
 
size_t length () const
 
bool operator!= (const StrN &other) const
 
bool operator< (const StrN &other) const
 
bool operator< (const StrN< M > &other) const
 
StrNoperator= (const char(&str)[N])
 
StrNoperator= (const StrN &other)
 
StrNoperator= (const StrN< M > &other)
 
bool operator== (const StrN &other) const
 
char & operator[] (size_t index)
 
const char & operator[] (size_t index) const
 
void reserve (size_t newCapacity)
 
size_t size () const
 
StrN substring (size_t start, size_t end) const
 
float toFloat () const
 
StrN trim () const
 
size_t write (char c)
 
size_t write (const char *str, size_t n)
 
size_t write (const int32_t &val)
 
size_t write (const int8_t val)
 
size_t write (const uint16_t &n)
 
size_t write (const uint32_t &val)
 
size_t write (const uint8_t *data, size_t n)
 
size_t write (uint8_t c)
 

Private Types

enum  { kStrInlineSize = FASTLED_STR_INLINED_SIZE }
 

Static Private Member Functions

static void compileTimeAssertions ()
 

Additional Inherited Members

- Protected Attributes inherited from fl::StrN< FASTLED_STR_INLINED_SIZE >
StringHolderPtr mHeapData
 
char mInlineData [SIZE]
 
size_t mLength
 

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