ParameterConstraint.h

Classes

ParameterConstraint -- Base class for constraints on parameters for AIPS++ ApplicationObjects (full description)
ParameterRange -- Base class for constraints on parameter ranges for AIPS++ ApplicationObjects (full description)

template<class T> class ParameterConstraint

Interface

Public Members
virtual ~ParameterConstraint()
virtual Bool valueOK(const T &value, String &error) const = 0
virtual ParameterConstraint<T> *clone() const = 0

Description

or

Review Status

Date Reviewed:
yyyy/mm/dd

Prerequisite

Etymology

Synopsis

Example

Motivation

Template Type Argument Requirements (T)

Thrown Exceptions

To Do

Member Description

virtual ~ParameterConstraint()

virtual Bool valueOK(const T &value, String &error) const = 0

virtual ParameterConstraint<T> *clone() const = 0


template<class T> class ParameterRange : public ParameterConstraint<T>

Interface

ParameterRange(const T &low, const T &high)
virtual Bool valueOK(const T &value, String &error) const
virtual ParameterConstraint<T> *clone() const

Description

or

Review Status

Date Reviewed:
yyyy/mm/dd

Prerequisite

Etymology

Synopsis

Example

Motivation

Template Type Argument Requirements (T)

Thrown Exceptions

To Do

Member Description

ParameterRange(const T &low, const T &high)

virtual Bool valueOK(const T &value, String &error) const

virtual ParameterConstraint<T> *clone() const