Windows Virtual Shields for Arduino
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
EPtr Struct Reference

#include <SensorModels.h>

Inherited by Attr.

Public Member Functions

 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)
 

Static Public Member Functions

static int parse (const char *text, EPtr *eptrs, int length, const char separator= '|', int eptrStartIndex=0)
 

Public Attributes

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

EPtr::EPtr ( )
inline

Initializes a new instance of the EPtr struct.

EPtr::EPtr ( EPtrType  ptrType)
inline

Initializes a new instance of the EPtr struct.

Parameters
ptrTypeType of the EPtr.
EPtr::EPtr ( EPtrType  ptrType,
const char *  key,
EPtr eptrs,
int  len 
)
inline

Initializes a new instance of the EPtr struct.

Parameters
ptrTypeType of the EPtr.
EPtr::EPtr ( EPtrType  ptrType,
const char *  key 
)
inline

Initializes a new instance of the EPtr struct.

Parameters
ptrTypeType of the EPtr.
keyThe key.
EPtr::EPtr ( EPtrType  ptrType,
const char *  key,
const char *  value 
)
inline

Initializes a new instance of the EPtr struct.

Parameters
ptrTypeType of the PTR.
keyThe key.
valueThe value.
EPtr::EPtr ( const char *  key,
const char *  value 
)
inline

Initializes a new instance of the EPtr struct.

Parameters
keyThe key.
valueThe value.
EPtr::EPtr ( const char *  key,
String  value 
)
inline

Initializes a new instance of the EPtr struct.

Parameters
keyThe key.
valueThe value.
EPtr::EPtr ( const char *  key,
const char  value 
)
inline

Initializes a new instance of the EPtr struct.

Parameters
keyThe key.
valueThe value.
EPtr::EPtr ( const char *  key,
int  value,
EPtrType  ptrType = Int 
)
inline

Initializes a new instance of the EPtr struct.

Parameters
keyThe key.
valueThe value.
ptrTypeType of the EPtr.
EPtr::EPtr ( const char *  key,
uint32_t  value,
EPtrType  ptrType = Uint 
)
inline

Initializes a new instance of the EPtr struct.

Parameters
keyThe key.
valueThe value.
ptrTypeType of the EPtr.
EPtr::EPtr ( const char *  key,
long  value,
EPtrType  ptrType = Long 
)
inline

Initializes a new instance of the EPtr struct.

Parameters
keyThe key.
valueThe value.
ptrTypeType of the EPtr.
EPtr::EPtr ( const char *  key,
double  value,
bool  asText = false 
)
inline

Initializes a new instance of the EPtr struct.

Parameters
keyThe key.
valueThe value.
asTextAs text.
EPtr::EPtr ( const char *  key,
bool  value 
)
inline

Initializes a new instance of the EPtr struct.

Parameters
keyThe key.
valueThe value.
EPtr::EPtr ( const char *  key,
const char *  value,
int  length 
)
inline

Member Function Documentation

static int EPtr::parse ( const char *  text,
EPtr eptrs,
int  length,
const char  separator = '|',
int  eptrStartIndex = 0 
)
inlinestatic

Member Data Documentation

union { ... }
bool EPtr::asText = false
bool EPtr::boolValue
char EPtr::charValue
double EPtr::doubleValue
bool EPtr::encoded = false
EPtr* EPtr::eptrs = 0
int EPtr::intValue
const char* EPtr::key = 0
bool EPtr::keyIsMem = false
int EPtr::length
long EPtr::longValue
EPtrType EPtr::ptrType
uint32_t EPtr::uintValue
const char* EPtr::value = 0

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