ESPHome  2024.4.1
Data Structures | Namespaces | Functions
string_ref.h File Reference

Go to the source code of this file.

Data Structures

class  esphome::StringRef
 StringRef is a reference to a string owned by something else. More...
 

Namespaces

 esphome
 This is a workaround until we can figure out a way to get the tflite-micro idf component code available in CI.
 

Functions

bool esphome::operator== (const StringRef &lhs, const StringRef &rhs)
 
bool esphome::operator== (const StringRef &lhs, const std::string &rhs)
 
bool esphome::operator== (const std::string &lhs, const StringRef &rhs)
 
bool esphome::operator== (const StringRef &lhs, const char *rhs)
 
bool esphome::operator== (const char *lhs, const StringRef &rhs)
 
bool esphome::operator!= (const StringRef &lhs, const StringRef &rhs)
 
bool esphome::operator!= (const StringRef &lhs, const std::string &rhs)
 
bool esphome::operator!= (const std::string &lhs, const StringRef &rhs)
 
bool esphome::operator!= (const StringRef &lhs, const char *rhs)
 
bool esphome::operator!= (const char *lhs, const StringRef &rhs)
 
bool esphome::operator< (const StringRef &lhs, const StringRef &rhs)
 
std::string & esphome::operator+= (std::string &lhs, const StringRef &rhs)
 
std::string esphome::operator+ (const char *lhs, const StringRef &rhs)
 
std::string esphome::operator+ (const StringRef &lhs, const char *rhs)
 
void esphome::convertToJson (const StringRef &src, JsonVariant dst)