libdap
Updated for version 3.20.0
libdap4 is an implementation of OPeNDAP's DAP protocol.
|
Public Types | |
typedef vector< D4Attribute * >::const_iterator | D4AttributesCIter |
typedef vector< D4Attribute * >::iterator | D4AttributesIter |
Public Member Functions | |
void | add_attribute (D4Attribute *attr) |
void | add_attribute_nocopy (D4Attribute *attr) |
D4AttributesIter | attribute_begin () |
Get an iterator to the start of the enumerations. More... | |
D4AttributesIter | attribute_end () |
Get an iterator to the end of the enumerations. More... | |
D4Attributes (const D4Attributes &rhs) | |
virtual void | dump (ostream &strm) const |
dumps information about this object More... | |
bool | empty () const |
D4Attribute * | find (const string &name) |
D4Attribute * | get (const string &fqn) |
AttrTable * | get_AttrTable (const std::string name) |
copy attributes from DAP4 to DAP2 More... | |
D4Attributes & | operator= (const D4Attributes &rhs) |
void | print_dap4 (XMLWriter &xml) const |
void | transform_to_dap4 (AttrTable &at) |
copy attributes from DAP2 to DAP4 More... | |
Static Public Member Functions | |
static void | load_AttrTable (AttrTable *d2_attr_table, D4Attributes *d4_attrs) |
Definition at line 94 of file D4Attributes.h.
|
inline |
Get an iterator to the start of the enumerations.
Definition at line 146 of file D4Attributes.h.
|
inline |
Get an iterator to the end of the enumerations.
Definition at line 149 of file D4Attributes.h.
|
virtual |
dumps information about this object
Displays the pointer value of this instance and then displays information about this base type.
strm | C++ i/o stream to dump the information to |
Implements libdap::DapObj.
Definition at line 502 of file D4Attributes.cc.
D4Attribute * libdap::D4Attributes::get | ( | const string & | fqn | ) |
Return a pointer to the D4Attribute object that has the given FQN.
Definition at line 376 of file D4Attributes.cc.
AttrTable * libdap::D4Attributes::get_AttrTable | ( | const std::string | name | ) |
copy attributes from DAP4 to DAP2
Given a DAP4 AttrTable, copy all of its attributes into a DAP4 D4Attributes object.
at | Read the DAP2 attributes from here. |
Definition at line 344 of file D4Attributes.cc.
void libdap::D4Attributes::transform_to_dap4 | ( | AttrTable & | at | ) |
copy attributes from DAP2 to DAP4
Given a DAP2 AttrTable, copy all of its attributes into this DAP4 D4Attributes object as D4Attribute object instances.
at | Read the DAP2 attributes from here. |
Definition at line 196 of file D4Attributes.cc.