In file GSEClause.h:

class GSEClause

Holds the results of parsing one of the Grid Selection Expression clauses

Public Methods

bool OK() const
Class invariant

Public

Constructors
GSEClause(Grid *grid, const string &map, const double value, const relop op)
Create an instance using discrete parameters
GSEClause(Grid *grid, const string &map, const double value1, const relop op1, const double value2, const relop op2)
Create an instance using discrete parameters
Access
Array* get_map() const
Get a pointer to the map variable constrained by this clause
string get_map_name() const
Get the name of the map variable constrained by this clause
int get_start() const
Get the starting index of the clause's map variable as constrained by this clause
int get_stop() const
Get the stopping index of the clause's map variable as constrained by this clause

Documentation

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.
Constructors

GSEClause(Grid *grid, const string &map, const double value, const relop op)
Create an instance using discrete parameters

GSEClause(Grid *grid, const string &map, const double value1, const relop op1, const double value2, const relop op2)
Create an instance using discrete parameters

bool OK() const
Class invariant.
Returns:
True if the object is valid, otherwise False.

Access

Array* get_map() const
Get a pointer to the map variable constrained by this clause
Returns:
The Array object.

string get_map_name() const
Get the name of the map variable constrained by this clause
Returns:
The Array object's name.

int get_start() const
Get the starting index of the clause's map variable as constrained by this clause
Returns:
The start index.

int get_stop() const
Get the stopping index of the clause's map variable as constrained by this clause
Returns:
The stop index.


This class has no child classes.
Author:
James Gallagher
See Also:
GridSelectionExpr

alphabetic index hierarchy of classes


generated by doc++