This class is used to specify information that can be used to validate UPnP devices.
More...
#include <HDevicesSetupData>
List of all members.
Detailed Description
This class is used to specify information that can be used to validate UPnP devices.
- See also:
- HDeviceSetup
Constructor & Destructor Documentation
Creates a new, empty instance.
- See also:
- isEmpty()
Member Function Documentation
Indicates if the instance contains an item with the specified device type.
- Parameters:
-
deviceType | specifies the device type of the searched item. |
- Returns:
- true when the instance contains an item with the specified device type.
- See also:
- get()
Returns the device types of the contained items.
- Returns:
- The device types of the contained items.
Retrieves an item.
- Parameters:
-
type | specifies the device type of the item. |
- Returns:
- The item with the specified device type. The returned item is invalid in case no item with the specified device type was found.
- See also:
- contains()
Indicates if the object is empty.
- Returns:
- true in case the instance has no items.
Returns the number of contained items.
- Returns:
- The number of contained items.
Inserts a new item.
- Parameters:
-
newItem | specifies the item to be added. |
- Returns:
- true in case the item was added. The newItem will not be added if the instance already contains an item that has the same HDeviceSetup::deviceType() as the newItem or the newItem is invalid.
Removes an existing item.
- Parameters:
-
type | specifies the device type of the item to be removed. |
- Returns:
- true in case the item was found and removed.