libknx
|
Data container for this dpt. More...
#include <dpt_types.hpp>
Public Member Functions | |
bool | operator== (const data &other) |
Compare access data. | |
data () | |
Default constructor setting to zero. | |
Public Attributes | |
struct { | |
unsigned int d6: 4 | |
digit6 | |
unsigned int d5: 4 | |
digit5 | |
unsigned int d4: 4 | |
digit4 | |
unsigned int d3: 4 | |
digit3 | |
unsigned int d2: 4 | |
digit2 | |
unsigned int d1: 4 | |
digit1 | |
bool e: 1 | |
Error detection (0 is no error). | |
bool p: 1 | |
Permission (1 is accepted). | |
bool c: 1 | |
Encryption (1 is yes). | |
bool d: 1 | |
Read direction (0 is left to right). | |
unsigned int index: 4 | |
Index of access identification code. | |
} | storage |
The data storage. | |
Friends | |
KNX_IMPORT_EXPORT friend std::ostream & | operator<< (std::ostream &os, const data &data) |
Output formatting. | |
Data container for this dpt.