Sweep [Home] [Tutorials] Hosted at SourceForge

Developing Sweep Plugins

PreviousContentsNext

Parameters

The parameters to pass to functions can be any of a few simple types as defined in <sweep/sweep_types.h>: SWEEP_TYPE_BOOL, SWEEP_TYPE_INT, SWEEP_TYPE_FLOAT, SWEEP_TYPE_STRING.

A parameter object is a union which can take any of these values. A parameter set is defined as a pointer to a sequence of parameters.

Information about a parameter accepted by a procedure is stored in a parameter specification object, as defined in

There are two ways of defining constraints on parameter values accepted by the procedure; additionally, you can specify that the values for a parameter are completely unconstrained.

A few hints exist which Sweep can use to provide different graphical input methods as appropriate:

PreviousContentsNext

Copyright © 2000 Conrad Parker.