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
Creates the ListRestriction.
Destructor
~ListRestriction
~ListRestriction();
Destroys the ListRestriction.
Member Functions
toString
std::string toString() const;
valid
bool valid(
const std::string & val
) const;
values
const Values & values() const;
Returns a std::set containing the allowed values.
values
Values & values();
Returns a std::set containing the allowed values.