41static char rcsid[] not_used ={
"$Id$"};
47#include <libdap/Error.h>
48#include <libdap/InternalErr.h>
49#include <libdap/util.h>
52#include <libdap/debug.h>
58NCGrid::ptr_duplicate()
60 return new NCGrid(*
this);
65NCGrid::NCGrid(
const string &n,
const string &d) : Grid(n, d)
69NCGrid::NCGrid(
const NCGrid &rhs) : Grid(rhs)
79NCGrid::operator=(
const NCGrid &rhs)
84 dynamic_cast<NCGrid&
>(*this) = rhs;
94 DBG(cerr <<
"In NCGrid::read" << endl);
99 DBG(cerr <<
"In NCGrid, reading components for " << name() << endl);
102 if (array_var()->send_p() || array_var()->is_in_selection())
106 for (Map_iter p = map_begin(); p != map_end(); ++p)
107 if ((*p)->send_p() || (*p)->is_in_selection())
122 array_var()->transfer_attributes(at);
124 Map_iter
map = map_begin();
125 while (
map != map_end()) {
126 (*map)->transfer_attributes(at);
virtual void transfer_attributes(AttrTable *at)