interface TraderQuery

TraderQuery - this is a query against the trader. More...

Full nameArts::TraderQuery
Definition#include <arts/core.idl>
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods


Detailed Description

TraderQuery - this is a query against the trader. The idea is simple: you say what you need, and the trader offers you components that do what you want.

void  supports (string property, string value)

This restricts the query to only objects which support a "property" with the value "value". For instance, you could say

aquery.supports("Interface","Arts::PlayObject");

to restrict the matching objects to only those that support the interface Arts::PlayObject

sequence<TraderOffer>  query ()

This performs the query, and returns a set of results


Generated by: stefan@stefan on Sat Feb 24 19:11:36 2001, using kdoc 2.0a47.