FastLED 3.9.3
Loading...
Searching...
No Matches
StrN< SIZE > Class Template Reference

Detailed Description

template<size_t SIZE = 64>
class StrN< SIZE >

Definition at line 69 of file str.h.

Public Member Functions

template<size_t M>
 StrN (const StrN< M > &other)
 
 StrN (const char *str)
 
 StrN (const StrN &other)
 
void copy (const char *str)
 
StrNoperator= (const StrN &other)
 
template<size_t M>
StrNoperator= (const StrN< M > &other)
 
bool operator== (const StrN &other) const
 
bool operator!= (const StrN &other) const
 
template<size_t M>
void copy (const StrN< M > &other)
 
size_t write (int n)
 
size_t write (const uint8_t *data, size_t n)
 
size_t write (const char *str, size_t n)
 
size_t write (char c)
 
size_t write (uint8_t c)
 
size_t size () const
 
size_t length () const
 
const char * c_str () const
 
char * c_str_mutable ()
 
char & operator[] (size_t index)
 
const char & operator[] (size_t index) const
 
void append (const char *str)
 
bool operator< (const StrN &other) const
 
template<size_t M>
bool operator< (const StrN< M > &other) const
 

Constructor & Destructor Documentation

◆ StrN() [1/3]

template<size_t SIZE = 64>
template<size_t M>
StrN< SIZE >::StrN ( const StrN< M > & other)
inline

Definition at line 80 of file str.h.

◆ StrN() [2/3]

template<size_t SIZE = 64>
StrN< SIZE >::StrN ( const char * str)
inline

Definition at line 81 of file str.h.

◆ StrN() [3/3]

template<size_t SIZE = 64>
StrN< SIZE >::StrN ( const StrN< SIZE > & other)
inline

Definition at line 91 of file str.h.

◆ ~StrN()

template<size_t SIZE = 64>
StrN< SIZE >::~StrN ( )
inline

Definition at line 190 of file str.h.

Member Function Documentation

◆ append()

template<size_t SIZE = 64>
void StrN< SIZE >::append ( const char * str)
inline

Definition at line 220 of file str.h.

◆ c_str()

template<size_t SIZE = 64>
const char * StrN< SIZE >::c_str ( ) const
inline

Definition at line 195 of file str.h.

◆ c_str_mutable()

template<size_t SIZE = 64>
char * StrN< SIZE >::c_str_mutable ( )
inline

Definition at line 199 of file str.h.

◆ copy() [1/2]

template<size_t SIZE = 64>
void StrN< SIZE >::copy ( const char * str)
inline

Definition at line 92 of file str.h.

◆ copy() [2/2]

template<size_t SIZE = 64>
template<size_t M>
void StrN< SIZE >::copy ( const StrN< M > & other)
inline

Definition at line 126 of file str.h.

◆ length()

template<size_t SIZE = 64>
size_t StrN< SIZE >::length ( ) const
inline

Definition at line 194 of file str.h.

◆ operator!=()

template<size_t SIZE = 64>
bool StrN< SIZE >::operator!= ( const StrN< SIZE > & other) const
inline

Definition at line 122 of file str.h.

◆ operator<() [1/2]

template<size_t SIZE = 64>
bool StrN< SIZE >::operator< ( const StrN< SIZE > & other) const
inline

Definition at line 222 of file str.h.

◆ operator<() [2/2]

template<size_t SIZE = 64>
template<size_t M>
bool StrN< SIZE >::operator< ( const StrN< M > & other) const
inline

Definition at line 226 of file str.h.

◆ operator=() [1/2]

template<size_t SIZE = 64>
StrN & StrN< SIZE >::operator= ( const StrN< SIZE > & other)
inline

Definition at line 108 of file str.h.

◆ operator=() [2/2]

template<size_t SIZE = 64>
template<size_t M>
StrN & StrN< SIZE >::operator= ( const StrN< M > & other)
inline

Definition at line 112 of file str.h.

◆ operator==()

template<size_t SIZE = 64>
bool StrN< SIZE >::operator== ( const StrN< SIZE > & other) const
inline

Definition at line 118 of file str.h.

◆ operator[]() [1/2]

template<size_t SIZE = 64>
char & StrN< SIZE >::operator[] ( size_t index)
inline

Definition at line 203 of file str.h.

◆ operator[]() [2/2]

template<size_t SIZE = 64>
const char & StrN< SIZE >::operator[] ( size_t index) const
inline

Definition at line 211 of file str.h.

◆ size()

template<size_t SIZE = 64>
size_t StrN< SIZE >::size ( ) const
inline

Definition at line 193 of file str.h.

◆ write() [1/5]

template<size_t SIZE = 64>
size_t StrN< SIZE >::write ( char c)
inline

Definition at line 182 of file str.h.

◆ write() [2/5]

template<size_t SIZE = 64>
size_t StrN< SIZE >::write ( const char * str,
size_t n )
inline

Definition at line 152 of file str.h.

◆ write() [3/5]

template<size_t SIZE = 64>
size_t StrN< SIZE >::write ( const uint8_t * data,
size_t n )
inline

Definition at line 147 of file str.h.

◆ write() [4/5]

template<size_t SIZE = 64>
size_t StrN< SIZE >::write ( int n)
inline

Definition at line 141 of file str.h.

◆ write() [5/5]

template<size_t SIZE = 64>
size_t StrN< SIZE >::write ( uint8_t c)
inline

Definition at line 184 of file str.h.


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