This class is used to specify information that can be used to validate a UPnP service.
More...
#include <HServiceSetup>
List of all members.
Detailed Description
This class is used to specify information that can be used to validate a UPnP service.
- See also:
- HServicesSetupData, HClientService, HServerService
Constructor & Destructor Documentation
Creates a new, invalid instance.
- See also:
- isValid()
Creates a new instance.
- Parameters:
-
| id | specifies the service ID. |
| serviceType | specifies the service type. |
| incReq | specifies the inclusion requirement of the service. |
- See also:
- isValid()
Creates a new instance.
- Parameters:
-
| id | specifies the service ID. |
| serviceType | specifies the service type. |
| version | specifies the version of the UPnP device, which first specified the service. |
| incReq | specifies the inclusion requirement of the service. |
- See also:
- isValid()
Copy constructor.
Creates a copy of other.
Member Function Documentation
Assignment operator.
Copies the contents of other to this.
Indicates if the object is valid.
- Parameters:
-
| checkLevel | specifies whether the validity of the object should be checked strictly according to the UDA specification. |
- Returns:
- true in case the object is valid, that is, the service ID, service type, version and inclusion requirement are all properly defined in respect to the specified
checkLevel.
Returns the service ID.
- Returns:
- The service ID.
- See also:
- setServiceId()
Returns the version of the UPnP device, which first specified the service.
- Returns:
- The version of the UPnP device, which first specified the service.
- See also:
- setVersion()
Sets the the inclusion requirement.
- Parameters:
-
| arg | specifies the inclusion requirement. |
- See also:
- inclusionRequirement()
Sets the service ID.
- Parameters:
-
| arg | specifies the service ID. |
- See also:
- serviceId()
Sets the service type.
- Parameters:
-
| arg | specifies the service type. |
- See also:
- serviceType()
| void setVersion |
( |
int |
version | ) |
|
Sets the version of the UPnP device, which first specified the service.
- Parameters:
-
| version | defines the version of the UPnP device, which first specifies the service. |
- See also:
- version()
Friends And Related Function Documentation
Compares the two objects for equality.
- Returns:
- true in case the provided objects are equal, false otherwise.
Compares the two objects for inequality.
- Returns:
- true in case the provided objects are not equal, false otherwise.