AUnit
1.5.4
Unit testing framework for Arduino platforms inspired by ArduinoUnit and Google Test.
|
33 if (mString.cstring ==
nullptr)
return;
35 if (mStringType == kCStringType) {
43 if (mString.cstring ==
nullptr) {
48 if (mStringType == kCStringType) {
56 if (
getType() == FCString::kCStringType) {
57 if (that.
getType() == FCString::kCStringType) {
63 if (that.
getType() == FCString::kCStringType) {
72 if (
getType() == FCString::kCStringType) {
80 if (
getType() == FCString::kCStringType) {
void println(Print *printer) const
Convenience method for printing an FCString.
int compareToN(const char *that, size_t n) const
Compare to C-string using the first n characters.
A union of (const char*) and (const __FlashStringHelper*) with a discriminator.
const __FlashStringHelper * getFString() const
Get the flash string pointer.
const char * getCString() const
Get the c-string pointer.
int compareTo(const FCString &that) const
Compare to another FCString.
uint8_t getType() const
Get the internal type of string.
void print(Print *printer) const
Convenience method for printing an FCString.