Library: UPnP/ServiceDesc
Package: ServiceDesc
Header: Poco/UPnP/ServiceDesc/RangeRestriction.h
The RangeRestriction restricts values to a given numerical range.
Direct Base Classes: Restriction
All Base Classes: Poco::RefCountedObject, Restriction
Member Functions: maximum, minimum, setMaximum, setMinimum, setStep, step, toString, valid
Inherited Functions: duplicate, referenceCount, release, toString, valid
typedef Poco::AutoPtr < RangeRestriction > Ptr;
Creates the RangeRestriction.
~RangeRestriction();
Destroys the RangeRestriction.
Poco::Int64 maximum() const;
Returns the maximum value allowed.
Poco::Int64 minimum() const;
Returns the minimum value allowed.
Poco::Int64 step() const;
Returns the interval between two values.
std::string toString() const;
bool valid(
const std::string & val
) const;
void setMaximum(
Poco::Int64 val
);
Sets the maximum value allowed.
void setMinimum(
Poco::Int64 val
);
Sets the minimum value allowed.
void setStep(
Poco::Int64 val
);
Sets the interval between two values.