#include <string>#include <sstream>#include <set>#include "GeoConstraint.h"


Go to the source code of this file.
Classes | |
| class | GridGeoConstraint |
Defines | |
| #define | _grid_geo_constraint_h 1 |
Functions | |
| void | remove_quotes (string &value) |
| bool | unit_or_name_match (set< string > units, set< string > names, const string &var_units, const string &var_name) |
| #define _grid_geo_constraint_h 1 |
Definition at line 27 of file GridGeoConstraint.h.
| void remove_quotes | ( | string & | value | ) |
If an attribute value is quoted, remove the quotes.
This function only removes a starting and ending quote if both are present.
| value | A value-result parameter. |
Definition at line 65 of file GeoConstraint.cc.
| bool unit_or_name_match | ( | set< string > | units, | |
| set< string > | names, | |||
| const string & | var_units, | |||
| const string & | var_name | |||
| ) |
Look in the containers which hold the units attributes and variable name prefixes which are considered as identifying a vector as being a latitude or longitude vector.
| units | A container with a bunch of units attribute values. | |
| names | A container with a bunch of variable name prefixes. | |
| var_units | The value of the 'units' attribute for this variable. | |
| var_name | The name of the variable. |
Definition at line 105 of file GeoConstraint.cc.
1.5.4