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