Detailed Description
The QOtaCharacteristic class encapsulates characteristics from an Over-The-Air (OTA) network configuration message
The QOtaCharacteristic class describes a network configuration characteristic consisting of a type, zero or more named parameters, and set of child characteristics. It logically forms a tree of configuration values, nested one inside the other.
Normally the programmer will not use this class, but rather access characteristic values via QOtaCharacteristicList::parameter() and QOtaCharacteristicList::appParameter().
See also QOtaReader and QOtaCharacteristicList.
Member Function Documentation
QOtaCharacteristic::QOtaCharacteristic ()
Construct an empty characteristic definition.
QOtaCharacteristic::QOtaCharacteristic ( const QOtaCharacteristic & c )
Construct a copy of c.
QOtaCharacteristic::~QOtaCharacteristic ()
Destruct a characteristic definition.
void QOtaCharacteristic::addChild ( QOtaCharacteristic & child )
Add a child to this characteristic definition.
See also children().
void QOtaCharacteristic::addParm ( const QString & name, const QString & value )
Add a parameter called name to this characteristic definition with value.
See also parms().
const QOtaCharacteristicList & QOtaCharacteristic::children () const
Get the children of this characteristic definition.
See also addChild().
void QOtaCharacteristic::clear ()
Clear this characteristic definition.
const QOtaParameters & QOtaCharacteristic::parms () const
Get a list of all parameters to this characteristic definition.
See also addParm().
void QOtaCharacteristic::setType ( const QString & type )
Set the type of this charactieristic definition.
See also type().
const QString & QOtaCharacteristic::type () const
Get the type of this characteristic definition.
See also setType().
QOtaCharacteristic & QOtaCharacteristic::operator= ( const QOtaCharacteristic & c )
Make a copy of c.