|
Herqq
|
This class is used to specify information that can be used to validate UPnP services. More...
#include <HServicesSetupData>
Public Member Functions | |
| HServicesSetupData () | |
| ~HServicesSetupData () | |
| HServiceSetup | get (const HServiceId &id) const |
| bool | contains (const HServiceId &id) const |
| bool | isEmpty () const |
| int | size () const |
| QSet< HServiceId > | serviceIds () const |
| bool | insert (const HServiceSetup &newItem, bool overWrite=false) |
| bool | remove (const HServiceId &id) |
Friends | |
| H_UPNP_CORE_EXPORT bool | operator== (const HServicesSetupData &, const HServicesSetupData &) |
Related Functions | |
| (Note that these are not member functions.) | |
| bool | operator!= (const HServicesSetupData &obj1, const HServicesSetupData &obj2) |
This class is used to specify information that can be used to validate UPnP services.
Creates a new, empty instance.
| ~HServicesSetupData | ( | ) |
Destroys the instance.
| HServiceSetup get | ( | const HServiceId & | id | ) | const |
Retrieves a service setup object.
| id | specifies the service ID of the item. |
| bool contains | ( | const HServiceId & | id | ) | const |
Indicates if the instance contains a service setup item that has the specified service ID.
| id | specifies the service ID of the item. |
| bool isEmpty | ( | ) | const |
Indicates if the object is empty.
| int size | ( | ) | const |
Returns the number of contained items.
| QSet< HServiceId > serviceIds | ( | ) | const |
Returns the service IDs of the contained items.
| bool insert | ( | const HServiceSetup & | newItem, |
| bool | overWrite = false |
||
| ) |
Inserts a new item.
| newItem | specifies the item to be added. |
| overWrite | specifies whether to replace an already existing item with the same service ID. The default is false. |
false, or the newItem is invalid. | bool remove | ( | const HServiceId & | id | ) |
Removes an existing item.
| id | specifies the service ID of the item to be removed. |
| H_UPNP_CORE_EXPORT bool operator== | ( | const HServicesSetupData & | , |
| const HServicesSetupData & | |||
| ) | [friend] |
Compares the two objects for equality.
| bool operator!= | ( | const HServicesSetupData & | obj1, |
| const HServicesSetupData & | obj2 | ||
| ) | [related] |
Compares the two objects for inequality.
1.7.3