Home · All Classes · Annotated · Functions

OtaCharacteristic Class Reference

The OtaCharacteristic class encapsulates characteristics from an Over-The-Air (OTA) network configuration message More...

#include <OtaCharacteristic>

Public Functions


Detailed Description

The OtaCharacteristic class encapsulates characteristics from an Over-The-Air (OTA) network configuration message

The OtaCharacteristic 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 OtaCharacteristicList::parameter() and OtaCharacteristicList::appParameter().

See also OtaReader and OtaCharacteristicList.


Member Function Documentation

OtaCharacteristic::OtaCharacteristic ()

Construct an empty characteristic definition.

OtaCharacteristic::OtaCharacteristic ( const OtaCharacteristic & c )

Construct a copy of c.

OtaCharacteristic::~OtaCharacteristic ()

Destruct a characteristic definition.

void OtaCharacteristic::addChild ( OtaCharacteristic & child )

Add a child to this characteristic definition.

void OtaCharacteristic::addParm ( const QString & name, const QString & value )

Add a parameter called name to this characteristic definition with value.

const OtaCharacteristicList & OtaCharacteristic::children () const

Get the children of this characteristic definition.

void OtaCharacteristic::clear ()

Clear this characteristic definition.

const OtaParameters & OtaCharacteristic::parms () const

Get a list of all parameters to this characteristic definition.

void OtaCharacteristic::setType ( const QString & type )

Set the type of this charactieristic definition.

See also type().

const QString & OtaCharacteristic::type () const

Get the type of this characteristic definition.

See also setType().

OtaCharacteristic & OtaCharacteristic::operator= ( const OtaCharacteristic & c )

Make a copy of c.


Copyright © 2006 Trolltech Trademarks
Qtopia 4.1.7