Action #1430

Use gammalib::xml_parcheck() in all XML parameter checks.

Added by Knödlseder Jürgen almost 10 years ago. Updated almost 7 years ago.

Status:ClosedStart date:02/21/2015
Priority:NormalDue date:
Assigned To:Knödlseder Jürgen% Done:

100%

Category:-
Target version:1.5.0
Duration:

Description

To standardise the XML parameter checks a function gammalib::xml_parcheck() has been added to the GTools.hpp support module. This method throws exceptions in case that the XML parameter has not be found (or multiple parameters have been found). All methods where parameters are checked should now make use of this function.


Recurrence

No recurrence.

History

#1 Updated by Knödlseder Jürgen over 8 years ago

  • Target version set to 1.2.0

#2 Updated by Knödlseder Jürgen almost 8 years ago

  • Target version changed from 1.2.0 to 1.3.0

#3 Updated by Knödlseder Jürgen over 7 years ago

  • Subject changed from Use gammalib::xml_parcheck() in a XML parameter checks. to Use gammalib::xml_parcheck() in all XML parameter checks.
  • Target version changed from 1.3.0 to 1.4.0

#4 Updated by Knödlseder Jürgen over 7 years ago

  • Target version changed from 1.4.0 to 1.5.0

#5 Updated by Knödlseder Jürgen almost 7 years ago

  • Status changed from New to Closed
  • Assigned To set to Knödlseder Jürgen
  • % Done changed from 0 to 100

All model classes now use the XML support functions.

Merged into devel.

Also available in: Atom PDF