Poco::UPnP::ServiceDesc

class RangeRestriction

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

RangeRestriction();

Creates the RangeRestriction.

Destructor

~RangeRestriction virtual

~RangeRestriction();

Destroys the RangeRestriction.

Member Functions

maximum inline

Poco::Int64 maximum() const;

Returns the maximum value allowed.

minimum inline

Poco::Int64 minimum() const;

Returns the minimum value allowed.

step inline

Poco::Int64 step() const;

Returns the interval between two values.

toString virtual

std::string toString() const;

valid virtual

bool valid(
    const std::string & val
) const;

setMaximum protected inline

void setMaximum(
    Poco::Int64 val
);

Sets the maximum value allowed.

setMinimum protected inline

void setMinimum(
    Poco::Int64 val
);

Sets the minimum value allowed.

setStep protected inline

void setStep(
    Poco::Int64 val
);

Sets the interval between two values.

Securely control IoT edge devices from anywhere   Connect a Device