obey_caps


Description:

[ Version ( since = "0.2.0" ) ]
public bool obey_caps (Caps caps, out OperationOptions supported_options, out OperationOptions unsupported_options)

Check whether this obey to caps.

Optionally provide the options that match (respectively don't match) caps in supported_options (respectively unsupported_options). This would typically (but not necessarily) be used with a OperationOptions instance that was created with null caps.

Parameters:

this

a OperationOptions instance

caps

capabilities against which we want to test this

supported_options

if not null, will contain a newly-allocated OperationOptions instance containing all the values of this that match caps.

unsupported_options

if not null, will contain a newly-allocated OperationOptions instance containing all the values of this that do not match caps.

Returns:

true if this obey to caps, false otherwise.