27 #include "Constructor.h" 28 #include "D4Dimensions.h" 29 #include "D4EnumDefs.h" 59 vector<D4Group*> d_groups;
64 void m_duplicate(
const D4Group &g);
67 typedef vector<D4Group*>::iterator groupsIter;
68 typedef vector<D4Group*>::const_iterator groupsCIter;
88 virtual std::string
FQN()
const;
92 Array *find_map_source(
const string &path);
94 D4EnumDef *find_enum_def(
const string &path);
100 d_enum_defs->set_parent(
this);
114 groupsIter
grp_end() {
return d_groups.end(); }
116 void add_group(
const D4Group *g) {
117 add_group_nocopy(
new D4Group(*g));
120 void add_group_nocopy(
D4Group *g) {
122 d_groups.push_back(g);
124 void insert_group_nocopy(
D4Group *g, groupsIter i) {
126 d_groups.insert(i, g);
129 D4Group *find_child_grp(
const string &grp_name);
virtual string name() const
Returns the name of the class instance.
Contains the attributes for a dataset.
D4Dimension * find_dim(const string &path)
Find the dimension using a path. Using the DAP4 name syntax, lookup a dimension. The dimension must b...
Read data from the stream made by D4StreamMarshaller.
D4Group(const string &name)
virtual void serialize(D4StreamMarshaller &m, DMR &dmr, bool filter=false)
Serialize a Group.
virtual void set_parent(BaseType *parent)
top level DAP object to house generic methods
virtual BaseType * ptr_duplicate()
Marshaller that knows how to marshal/serialize dap data objects to a C++ iostream using DAP4's receiv...
long request_size(bool constrained)
groupsIter grp_end()
Get an iterator to the end of the values.
virtual void deserialize(D4StreamUnMarshaller &um, DMR &dmr)
virtual void intern_data()
Read data into this variable.
groupsIter grp_begin()
Get an iterator to the start of the values.
virtual std::vector< BaseType * > * transform_to_dap2(AttrTable *parent_attr_table)
Transform the D4Group's variables to DAP2 variables.
The basic data type for the DODS DAP types.
void print_dap4(XMLWriter &xml, bool constrained=false)
virtual std::string FQN() const
D4EnumDefs * enum_defs()
Get the enumerations defined for this Group.
A multidimensional array of identical data types.
virtual void set_read_p(bool state)
Sets the value of the read_p property.
virtual void set_send_p(bool state)
virtual string dataset() const
Returns the name of the dataset used to create this instance.
BaseType * find_var(const string &name)
D4Dimensions * dims()
Get the dimensions defined for this Group.