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

Detailed Description

Definition at line 368 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 char *str)
 
Strappend (const char *str, size_t len)
 
Strappend (const int16_t &val)
 
Strappend (const int32_t &c)
 
Strappend (const int8_t &c)
 
Strappend (const StrN &str)
 
Strappend (const uint16_t &val)
 
Strappend (const uint32_t &val)
 
Strappend (const uint8_t &c)
 
bool operator!= (const Str &other) const
 
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
 
- 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)
 

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