57#ifndef constraint_evaluator_h 
  130    Grid(
const string &n);
 
  131    Grid(
const string &n, 
const string &d);
 
  135    typedef std::vector<BaseType *>::const_iterator 
Map_citer;
 
  136    typedef std::vector<BaseType *>::iterator 
Map_iter;
 
  137    typedef std::vector<BaseType *>::reverse_iterator 
Map_riter;
 
  158    virtual int components(
bool constrained = 
false);
 
  164    virtual void print_decl(ostream &out, 
string space = 
"    ", 
bool print_semi = 
true, 
bool constraint_info = 
false,
 
  165                            bool constrained = 
false);
 
  167    virtual void print_xml(ostream &out, 
string space = 
"    ", 
bool constrained = 
false);
 
  170    virtual void print_val(ostream &out, 
string space = 
"", 
bool print_decl_p = 
true);
 
  172    virtual void print_decl(FILE *out, 
string space = 
"    ", 
bool print_semi = 
true, 
bool constraint_info = 
false,
 
  173                            bool constrained = 
false);
 
  174    virtual void print_xml(FILE *out, 
string space = 
"    ", 
bool constrained = 
false);
 
  175    virtual void print_val(FILE *out, 
string space = 
"", 
bool print_decl_p = 
true);
 
  187    virtual void dump(ostream &strm) 
const;
 
 
A multidimensional array of identical data types.
 
Contains the attributes for a dataset.
 
The basic data type for the DODS DAP types.
 
Constructor(const string &name, const Type &type, bool is_dap4=false)
 
virtual BaseType * ptr_duplicate()
 
std::vector< BaseType * >::const_iterator Map_citer
 
BaseType * array_var()
Returns the Grid Array.
 
virtual void transform_to_dap4(D4Group *root, Constructor *container)
DAP2 to DAP4 transform.
 
virtual void print_xml(ostream &out, string space="    ", bool constrained=false)
 
Map_iter map_begin()
Returns an iterator referencing the first Map vector.
 
Map_iter get_map_iter(int i)
 
virtual void set_array(Array *p_new_arr)
 
virtual void clear_constraint()
 
virtual void print_val(ostream &out, string space="", bool print_decl_p=true)
Prints the value of the variable.
 
virtual void print_decl(ostream &out, string space="    ", bool print_semi=true, bool constraint_info=false, bool constrained=false)
Print an ASCII representation of the variable structure.
 
virtual Array * prepend_map(Array *p_new_map, bool add_copy)
 
std::vector< BaseType * >::reverse_iterator Map_riter
 
Grid(const string &n)
The Grid constructor.
 
void m_duplicate(const Grid &s)
 
std::vector< BaseType * >::iterator Map_iter
 
Array * get_array()
Returns the Grid Array. This method returns the array using an Array*, so no cast is required.
 
virtual void transfer_attributes(AttrTable *at_container)
 
virtual bool projection_yields_grid()
 
virtual void dump(ostream &strm) const
dumps information about this object
 
virtual Array * add_map(Array *p_new_map, bool add_copy)
 
virtual int components(bool constrained=false)
Returns the number of components in the Grid object.
 
virtual void print_xml_writer(XMLWriter &xml, bool constrained=false)
 
virtual bool check_semantics(string &msg, bool all=false)
Return true if this Grid is well formed.
 
virtual void add_var(BaseType *bt, Part part)
 
Grid & operator=(const Grid &rhs)
 
virtual void add_var_nocopy(BaseType *bt, Part part)
 
Map_riter map_rbegin()
Returns an iterator referencing the first Map vector.
 
virtual bool is_dap2_only_type()
 
top level DAP object to house generic methods
 
Part
Names the parts of multi-section constructor data types.