Parameter types

Contents

  1. Diagram of classes and methods
  2. Description
See also

Last updated: $Date: 2009-04-06 14:52:39 +0200 (må, 06 apr 2009) $

1. Diagram of classes and methods

2. Description

These classes are used by objects that take some kind of parameter input from an user (ie. plugins). They give the client application knowledge of the parameter's type, limits and multiplicity. The parameter types can also validate the value entered by the user.

A parameter type object is immutable, ie. once it has been created it can't be changed. Thus, it is safe for plugins to pregenerate all parameter types it needs and use them for all threads.

The diagram doesn't show the constructors for the parameter types. Most types have several constructors taking depending on if you want to specify every option or use the defaults. All parameter types has a default no-argument constructor that uses sensible defaults.