Windows Virtual Shields for Arduino
Public Member Functions | List of all members
Attr Struct Reference

#include <Attr.h>

Inherits EPtr.

Public Member Functions

 Attr (const char *key, const char *value)
 
 Attr (const char *key, String value)
 
 Attr (const char *key, int value)
 
 Attr (const char *key, double value)
 
 Attr (const char *key, long value)
 
 Attr (const char *key, bool value)
 
- Public Member Functions inherited from EPtr
 EPtr ()
 Initializes a new instance of the EPtr struct. More...
 
 EPtr (EPtrType ptrType)
 Initializes a new instance of the EPtr struct. More...
 
 EPtr (EPtrType ptrType, const char *key, EPtr *eptrs, int len)
 Initializes a new instance of the EPtr struct. More...
 
 EPtr (EPtrType ptrType, const char *key)
 Initializes a new instance of the EPtr struct. More...
 
 EPtr (EPtrType ptrType, const char *key, const char *value)
 Initializes a new instance of the EPtr struct. More...
 
 EPtr (const char *key, const char *value)
 Initializes a new instance of the EPtr struct. More...
 
 EPtr (const char *key, String value)
 Initializes a new instance of the EPtr struct. More...
 
 EPtr (const char *key, const char value)
 Initializes a new instance of the EPtr struct. More...
 
 EPtr (const char *key, int value, EPtrType ptrType=Int)
 Initializes a new instance of the EPtr struct. More...
 
 EPtr (const char *key, uint32_t value, EPtrType ptrType=Uint)
 Initializes a new instance of the EPtr struct. More...
 
 EPtr (const char *key, long value, EPtrType ptrType=Long)
 Initializes a new instance of the EPtr struct. More...
 
 EPtr (const char *key, double value, bool asText=false)
 Initializes a new instance of the EPtr struct. More...
 
 EPtr (const char *key, bool value)
 Initializes a new instance of the EPtr struct. More...
 
 EPtr (const char *key, const char *value, int length)
 

Additional Inherited Members

- Static Public Member Functions inherited from EPtr
static int parse (const char *text, EPtr *eptrs, int length, const char separator= '|', int eptrStartIndex=0)
 
- Public Attributes inherited from EPtr
EPtrType ptrType
 
const char * key = 0
 
union {
   const char *   value = 0
 
   double   doubleValue
 
   uint32_t   uintValue
 
   int   intValue
 
   long   longValue
 
   bool   boolValue
 
   char   charValue
 
}; 
 
int length
 
bool keyIsMem = false
 
bool asText = false
 
bool encoded = false
 
EPtreptrs = 0
 

Constructor & Destructor Documentation

Attr::Attr ( const char *  key,
const char *  value 
)
inline
Attr::Attr ( const char *  key,
String  value 
)
inline
Attr::Attr ( const char *  key,
int  value 
)
inline
Attr::Attr ( const char *  key,
double  value 
)
inline
Attr::Attr ( const char *  key,
long  value 
)
inline
Attr::Attr ( const char *  key,
bool  value 
)
inline

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