47 D4FilterClause *fc = *i;
48 d_clauses.push_back(
new D4FilterClause(*fc));
71 if ((*i)->value(dmr) ==
false)
90 if ((*i)->value() ==
false)
112 d_arg1 =
new D4RValue(*(rhs.d_arg1));
123 d_arg2 =
new D4RValue(*(rhs.d_arg2));
126 throw Error(
malformed_expr,
"found a filter clause with a function call.");
141 throw InternalErr(__FILE__, __LINE__,
"While evaluating a constraint filter clause: Found a null operator");
150 return cmp(d_op, d_arg1->value(dmr), d_arg2->value(dmr));
155 "While evaluating a constraint filter clause: Filter operator not implemented");
158 throw InternalErr(__FILE__, __LINE__,
"While evaluating a constraint filter clause: Unrecognized operator");
172 throw InternalErr(__FILE__, __LINE__,
"While evaluating a constraint filter clause: Found a null operator");
181 return cmp(d_op, d_arg1->value(), d_arg2->value());
186 "While evaluating a constraint filter clause: Filter operator not implemented");
189 throw InternalErr(__FILE__, __LINE__,
"While evaluating a constraint filter clause: Unrecognized operator");
#define malformed_expr
(400)
The basic data type for the DODS DAP types.
virtual bool d4_ops(BaseType *b, int op)
Evaluator a relop for DAP4.
List of DAP4 Filter Clauses.
std::vector< D4FilterClause * >::iterator iter
std::vector< D4FilterClause * >::const_iterator citer
bool value()
Evaluate the list of clauses.
virtual ~D4FilterClauseList()
bool value()
Get the value of this relational expression. This version of value() will not work for clauses where ...
value_kind get_kind() const
What kind of thing holds the value Values in DAP4 constraints are either constants,...
A class for error processing.
A class for software fault reporting.
top level DAP object to house generic methods