RAVE
|
Functions | |
get_args (elem, name) | |
Convenience function for accessing arguments from an Element. | |
verify_generate_args (args, algorithm_entry) | |
Verifies arguments passed to a "generate" algorithm. | |
Copyright (C) 2010- Swedish Meteorological and Hydrological Institute (SMHI) This file is part of RAVE. RAVE is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. RAVE is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with RAVE. If not, see <http://www.gnu.org/licenses/>.
Lib.rave_pgf_verify.get_args | ( | elem, | |
name ) |
Convenience function for accessing arguments from an Element.
elem | Element containing arguments |
name | string containing the type of arguments to access. Must be "strings", "ints", "floats", or "sequences". |
Lib.rave_pgf_verify.verify_generate_args | ( | args, | |
algorithm_entry ) |
Verifies arguments passed to a "generate" algorithm.
args | list containing an even number of items in pairs, where the first member of each pair is the key and the second is its value. |
algorithm_entry | Element of a rave_pgf_registry.PGF_Registry object containing the algorithm name and its arguments. |