39 #include "config_nc.h"
41 static char rcsid[] not_used ={
"$Id$"};
48 #include <InternalErr.h>
58 NCGrid::ptr_duplicate()
65 NCGrid::NCGrid(
const string &n,
const string &d) : Grid(n, d)
69 NCGrid::NCGrid(
const NCGrid &rhs) : Grid(rhs)
79 NCGrid::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);