FastLED 3.10.8
Loading...
Searching...
No Matches
fl::format_detail::FormatArg Class Reference

Detailed Description

Definition at line 298 of file format.h.

#include <format.h>

Public Types

enum class  Type {
  None , Int , UInt , Long ,
  ULong , LongLong , ULongLong , Double ,
  Char , CString , String , Pointer
}
 

Public Member Functions

 FormatArg () FL_NO_EXCEPT
 
 FormatArg (char v) FL_NO_EXCEPT
 
 FormatArg (const char *v) FL_NO_EXCEPT
 
 FormatArg (const fl::string &v) FL_NO_EXCEPT
 
 FormatArg (const void *v) FL_NO_EXCEPT
 
 FormatArg (double v) FL_NO_EXCEPT
 
 FormatArg (float v) FL_NO_EXCEPT
 
 FormatArg (int v) FL_NO_EXCEPT
 
 FormatArg (long long v) FL_NO_EXCEPT
 
 FormatArg (long v) FL_NO_EXCEPT
 
 FormatArg (short v) FL_NO_EXCEPT
 
 FormatArg (signed char v) FL_NO_EXCEPT
 
 FormatArg (unsigned char v) FL_NO_EXCEPT
 
 FormatArg (unsigned int v) FL_NO_EXCEPT
 
 FormatArg (unsigned long long v) FL_NO_EXCEPT
 
 FormatArg (unsigned long v) FL_NO_EXCEPT
 
 FormatArg (unsigned short v) FL_NO_EXCEPT
 
fl::string format (const FormatSpec &spec) const FL_NO_EXCEPT
 
bool valid () const FL_NO_EXCEPT
 

Private Attributes

union { 
 
char c
 
double d
 
int i
 
long l
 
long long ll
 
const void * p
 
const char * s
 
const fl::string * str
 
unsigned int u
 
unsigned long ul
 
unsigned long long ull
 
} mData 
 
Type mType
 

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