Poco::UPnP::ServiceDesc

class ListRestriction

File Information

Library: UPnP/ServiceDesc
Package: ServiceDesc
Header: Poco/UPnP/ServiceDesc/ListRestriction.h

Description

The ListRestriction restricts values to a given list of strings.

Inheritance

Direct Base Classes: Restriction

All Base Classes: Poco::RefCountedObject, Restriction

Member Summary

Member Functions: toString, valid, values

Inherited Functions: duplicate, referenceCount, release, toString, valid

Types

Ptr

typedef Poco::AutoPtr < ListRestriction > Ptr;

Values

typedef std::set < std::string > Values;

Constructors

ListRestriction

ListRestriction();

Creates the ListRestriction.

Destructor

~ListRestriction virtual

~ListRestriction();

Destroys the ListRestriction.

Member Functions

toString virtual

std::string toString() const;

valid virtual

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

values inline

const Values & values() const;

Returns a std::set containing the allowed values.

values protected

Values & values();

Returns a std::set containing the allowed values.

Securely control IoT edge devices from anywhere   Connect a Device