OPeNDAP Hyrax Back End Server (BES)
Updated for version 3.8.3
|
Holds the results of parsing one of the Grid Selection Expression clauses. More...
#include <GSEClause.h>
Public Member Functions | |
bool | OK () const |
Class invariant. More... | |
virtual | ~GSEClause () |
Constructors | |
GSEClause (Grid *grid, const string &map, const double value, const relop op) | |
GSEClause (Grid *grid, const string &map, const double value1, const relop op1, const double value2, const relop op2) | |
Accessors | |
Array * | get_map () const |
Get a pointer to the map variable constrained by this clause. More... | |
string | get_map_name () const |
Get the name of the map variable constrained by this clause. More... | |
int | get_start () const |
Get the starting index of the clause's map variable as constrained by this clause. More... | |
int | get_stop () const |
Get the stopping index of the clause's map variable as constrained by this clause. More... | |
string | get_map_min_value () const |
Get the minimum map vector value. More... | |
string | get_map_max_value () const |
Get the maximum map vector value. More... | |
Mutators | |
void | set_map (Array *map) |
Set the pointer to the map vector contrained by this clause. More... | |
void | set_start (int start) |
Set the starting index. More... | |
void | set_stop (int stop) |
Set the stopping index. More... | |
Holds the results of parsing one of the Grid Selection Expression clauses.
The Grid selection function takes a set of clauses as arguments and must create one instance of this class for each of those clauses. The GridSelectionExpr class holds N instances of this class.
Definition at line 65 of file GSEClause.h.
libdap::GSEClause::GSEClause | ( | Grid * | grid, |
const string & | map, | ||
const double | value, | ||
const relop | op | ||
) |
libdap::GSEClause::GSEClause | ( | Grid * | grid, |
const string & | map, | ||
const double | value1, | ||
const relop | op1, | ||
const double | value2, | ||
const relop | op2 | ||
) |
|
inlinevirtual |
Definition at line 100 of file GSEClause.h.
Array * libdap::GSEClause::get_map | ( | ) | const |
Get a pointer to the map variable constrained by this clause.
Definition at line 263 of file GSEClause.cc.
string libdap::GSEClause::get_map_max_value | ( | ) | const |
Get the maximum map vector value.
Useful in messages back to users.
Definition at line 336 of file GSEClause.cc.
string libdap::GSEClause::get_map_min_value | ( | ) | const |
Get the minimum map vector value.
Useful in messages back to users.
Definition at line 326 of file GSEClause.cc.
string libdap::GSEClause::get_map_name | ( | ) | const |
Get the name of the map variable constrained by this clause.
Definition at line 281 of file GSEClause.cc.
int libdap::GSEClause::get_start | ( | ) | const |
Get the starting index of the clause's map variable as constrained by this clause.
Definition at line 290 of file GSEClause.cc.
int libdap::GSEClause::get_stop | ( | ) | const |
Get the stopping index of the clause's map variable as constrained by this clause.
Definition at line 307 of file GSEClause.cc.
bool libdap::GSEClause::OK | ( | ) | const |
Class invariant.
Definition at line 250 of file GSEClause.cc.
void libdap::GSEClause::set_map | ( | Array * | map | ) |
Set the pointer to the map vector contrained by this clause.
Note that this method also sets the name of the map vector.
Definition at line 273 of file GSEClause.cc.
void libdap::GSEClause::set_start | ( | int | start | ) |
void libdap::GSEClause::set_stop | ( | int | stop | ) |