ZCL library  4.3
ZCL library to manage a Zigbee network
DiscoveredAttribute Class Reference

This Class defines the Discover attribute. More...

#include <DiscoveredAttribute.h>

Inheritance diagram for DiscoveredAttribute:
Attribute ReadAttribute ReportAttribute ClusterSpecCmdAttribute WriteAttribute ReadAttributeResponse

List of all members.

Public Member Functions

const DataTypegetDataType () const
 Get the data type of this attribute.
void setDataType (const DataType &dataType)
 Set the data type of this attribute.
void setDataType (DataTypeValue dataType)
 Set the data type of this attribute.
virtual const byte * toBytes (int &size)
 Return this attribute as array of bytes.

Detailed Description

This Class defines the Discover attribute.


Member Function Documentation

const DataType& DiscoveredAttribute::getDataType ( ) const

Get the data type of this attribute.

Returns:
the data type.
void DiscoveredAttribute::setDataType ( const DataType dataType)

Set the data type of this attribute.

Parameters:
dataTypethe data type.
void DiscoveredAttribute::setDataType ( DataTypeValue  dataType)

Set the data type of this attribute.

Parameters:
dataTypethe data type.
virtual const byte* DiscoveredAttribute::toBytes ( int &  size) [virtual]

Return this attribute as array of bytes.

Parameters:
[out]sizethe returned array size.
Returns:
the array of bytes.

Reimplemented from Attribute.

Reimplemented in ClusterSpecCmdAttribute, ReadAttribute, WriteAttribute, ReadAttributeResponse, and ReportAttribute.


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