#include "config.h"#include <math.h>#include <string.h>#include <iostream>#include <sstream>#include "debug.h"#include "dods-datatypes.h"#include "GeoConstraint.h"#include "Float64.h"#include "Error.h"#include "InternalErr.h"#include "ce_functions.h"#include "util.h"

Go to the source code of this file.
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) |
| 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