GridGeoConstraint.h File Reference

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

Include dependency graph for GridGeoConstraint.h:

This graph shows which files directly or indirectly include this file:

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 Documentation

#define _grid_geo_constraint_h   1

Definition at line 27 of file GridGeoConstraint.h.


Function Documentation

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.

Parameters:
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.

Parameters:
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.
Returns:
True if the units_value matches any of the accepted attributes exactly or if the name_value starts with any of the accepted prefixes

Definition at line 105 of file GeoConstraint.cc.


Generated on Wed Jun 27 12:56:58 2007 for libdap++ by  doxygen 1.4.7