125 string _container_name ;
149 virtual void erase() ;
151 virtual unsigned int get_size()
const ;
164 virtual void parse(
string fname);
165 virtual void parse(
int fd);
166 virtual void parse(FILE *in = stdin);
169 virtual void print(FILE *out,
bool dereference =
false);
170 virtual void print(ostream &out,
bool dereference =
false);
172 virtual void dump(ostream &strm)
const ;
std::vector< entry * >::iterator Attr_iter
virtual AttrTable * container()
Returns the current attribute container when multiple files used to build this DAS.
AttrTable * get_table(AttrTable::Attr_iter &i)
Returns the referenced variable attribute table.
Contains the attributes for a dataset.
AttrTable::Attr_iter var_begin()
Returns a reference to the attribute table for the first variable.
virtual AttrTable * add_table(const string &name, AttrTable *at)
Adds a variable attribute table to the DAS or the current dataset container attribute table...
virtual void print(FILE *out, bool dereference=false)
string get_name(AttrTable::Attr_iter &i)
Returns the name of the referenced variable attribute table.
virtual AttrTable * get_top_level_attributes()
Returns the top most set of attributes.
virtual void erase()
erase all attributes in this DAS
AttrTable::Attr_iter var_end()
virtual void dump(ostream &strm) const
dumps information about this object
virtual void parse(string fname)
Reads a DAS from the named file.
libdap base object for common functionality of libdap objects
virtual ~DAS()
This deletes the pointers to AttrTables allocated during the parse (and at other times). jhrg 7/29/94.
Hold attribute data for a DAP2 dataset.
virtual unsigned int get_size() const
Returns the number of attributes in the current attribute table.
virtual string container_name()
Returns the name of the current attribute container when multiple files used to build this DAS...