|
template<typename ValueType , typename T = ObjectType> |
std::enable_if<!std::is_same< T, String >::value, int >::type | indexOf (const ValueType &value) const |
|
template<typename T = ObjectType> |
std::enable_if< std::is_same< T, String >::value, int >::type | indexOf (const char *value, bool ignoreCase=true) const |
|
template<typename ValueType , typename T = ObjectType> |
std::enable_if< std::is_same< T, String >::value, int >::type | indexOf (const ValueType &value, bool ignoreCase=true) const |
|
const ObjectType & | valueAt (unsigned index) const |
|
const ObjectType & | operator[] (unsigned index) const |
|
ArrayPrinter< Vector > | printer () const |
|
size_t | printTo (Print &p) const |
|
| Object () |
| Creates a null object. More...
|
|
| Object (const Object &obj) |
| Copy constructor. More...
|
|
| Object (const Object &&obj)=delete |
|
| ~Object () |
|
Object & | operator= (const Object &other)=delete |
|
Object & | operator= (const Object &&other)=delete |
|
Iterator | begin () const |
|
Iterator | end () const |
|
constexpr const size_t | length () const |
| Get the length of the content in elements. More...
|
|
int | indexOf (const ValueType &value) const |
|
const ObjectType * | valueAt (unsigned index) const |
|
const ObjectType * | operator[] (unsigned index) const |
| Array operator[]. More...
|
|
size_t | elementSize () const |
|
DataPtrType | data () const |
|
size_t | read (size_t index, const ObjectType * *buffer, size_t count) const |
| Read content into RAM. More...
|
|
size_t | readFlash (size_t index, const ObjectType * *buffer, size_t count) const |
| Read content into RAM,using flashmem_read() More...
|
|
const ObjectType * | unsafeValueAt (const DataPtrType dataptr, unsigned index) const |
|
constexpr FSTR_NOINLINE const size_t | length () const |
| Get the length of the object data in bytes. More...
|
|
constexpr const size_t | size () const |
| Get the object data size in bytes. More...
|
|
bool | operator== (const ObjectBase &other) const |
|
template<class ObjectType > |
constexpr const ObjectType & | as () const |
| Cast to a different object type. More...
|
|
const uint8_t * | data () const |
| Get a pointer to the flash data. More...
|
|
size_t | read (size_t offset, void *buffer, size_t count) const |
| Read contents of a String into RAM. More...
|
|
size_t | readFlash (size_t offset, void *buffer, size_t count) const |
| Read contents of a String into RAM, using flashread() More...
|
|
constexpr const bool | isCopy () const |
|
constexpr const bool | isNull () const |
| Indicates an invalid String, used for return value from lookups, etc. More...
|
|
template<class ObjectType>
class FSTR::Vector< ObjectType >
Class to access a Vector of objects stored in flash.
- Template Parameters
-