Command: DeprecationWarning

NEST HelpDesk Command Index NEST Quick Reference
Name:
DeprecationWarning - General deprecation warning class for models with
deprecated parameter
Description:
General class for handling deprecations. The deprecation warning will only
be issued the first time the deprecated parameter is updated.

How to use:
In model constructor put
this->deprecation_warning.set_deprecated(deprecated_parameter);

In function updating the deprecated parameter put
node->deprecation_warning.deprecation_warning(deprecated_parameter);
or
node->deprecation_warning.deprecation_warning(deprecated_parameter,
new_parameter);
Source:
/usr/src/packages/BUILD/nestkernel/deprecation_warning.h
NEST HelpDesk Command Index NEST Quick Reference

© 2004 The NEST Initiative