41#include <libdap/BaseType.h>
42#include <libdap/Array.h>
43#include <libdap/Grid.h>
58 dods_greater_equal_op,
82 double d_value1, d_value2;
87 string d_map_min_value, d_map_max_value;
91 GSEClause(
const GSEClause ¶m);
92 GSEClause &operator=(GSEClause &rhs);
94 template<
class T>
void set_start_stop();
95 template<
class T>
void set_map_min_max_value(T min, T max);
97 void compute_indices();
102 GSEClause(libdap::Grid *grid,
const string &
map,
const double value,
105 GSEClause(libdap::Grid *grid,
const string &
map,
const double value1,
106 const relop op1,
const double value2,
const relop op2);
108 GSEClause(libdap::Array *coverage,
const string &
map,
const double value,
111 GSEClause(libdap::Array *coverage,
const string &
map,
const double value1,
112 const relop op1,
const double value2,
const relop op2);
115 virtual ~GSEClause();
121 libdap::Array *
get_map()
const;
string get_map_name() const
Get the name of the map variable constrained by this clause.
libdap::Array * get_map() const
Get a pointer to the map variable constrained by this clause.
void set_stop(int stop)
Set the stopping index.
int get_stop() const
Get the stopping index of the clause's map variable as constrained by this clause.
void set_start(int start)
Set the starting index.
string get_map_max_value() const
Get the maximum map vector value.
int get_start() const
Get the starting index of the clause's map variable as constrained by this clause.
string get_map_min_value() const
Get the minimum map vector value.
void set_map(libdap::Array *map)
Set the pointer to the map vector contrained by this clause.