|
libdap++
Updated for version 3.14.0
|
#include <D4Attributes.h>

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 () | |
| D4Attributes (const D4Attributes &rhs) | |
| bool | empty () const |
| D4Attribute * | find (const string &name) |
| D4Attribute * | get (const string &fqn) |
| D4Attributes & | operator= (const D4Attributes &rhs) |
| void | print_dap4 (XMLWriter &xml) const |
| void | transform_to_dap4 (AttrTable &at) |
| copy attributes from DAP2 to DAP4 More... | |
| virtual | ~D4Attributes () |
Definition at line 91 of file D4Attributes.h.
| typedef vector<D4Attribute*>::const_iterator libdap::D4Attributes::D4AttributesCIter |
Definition at line 94 of file D4Attributes.h.
| typedef vector<D4Attribute*>::iterator libdap::D4Attributes::D4AttributesIter |
Definition at line 93 of file D4Attributes.h.
|
inline |
Definition at line 110 of file D4Attributes.h.
|
inline |
Definition at line 111 of file D4Attributes.h.
|
inlinevirtual |
Definition at line 115 of file D4Attributes.h.
|
inline |
Definition at line 132 of file D4Attributes.h.
|
inline |
Definition at line 135 of file D4Attributes.h.
Referenced by libdap::D4ParserSax2::dmr_end_element(), and transform_to_dap4().
|
inline |
Definition at line 140 of file D4Attributes.h.
|
inline |
Definition at line 143 of file D4Attributes.h.
Referenced by get().
|
inline |
Definition at line 130 of file D4Attributes.h.
Referenced by print_dap4().
| D4Attribute * libdap::D4Attributes::find | ( | const string & | name | ) |
Definition at line 289 of file D4Attributes.cc.
References attribute_begin().

| D4Attribute * libdap::D4Attributes::get | ( | const string & | fqn | ) |
Return a pointer to the D4Attribute object that has the given FQN.
Definition at line 298 of file D4Attributes.cc.
References attr_container_c, attribute_begin(), attribute_end(), and DBG.
Referenced by libdap::D4ParserSax2::dmr_end_element().

|
inline |
Definition at line 122 of file D4Attributes.h.
| void libdap::D4Attributes::print_dap4 | ( | XMLWriter & | xml | ) | const |
Definition at line 381 of file D4Attributes.cc.
References empty().
Referenced by libdap::D4Attribute::print_dap4(), libdap::Constructor::print_dap4(), libdap::D4Group::print_dap4(), libdap::Array::print_dap4(), libdap::Constructor::print_xml_writer(), libdap::D4Enum::print_xml_writer(), and libdap::BaseType::print_xml_writer().

| void libdap::D4Attributes::transform_to_dap4 | ( | AttrTable & | at | ) |
Given a DAP2 AttrTable, copy all of its attributes into a DAP4 D4Attributes object.
| at | Read the DAP2 attributes from here. |
Definition at line 194 of file D4Attributes.cc.
References add_attribute_nocopy(), libdap::D4Attribute::add_value_vector(), libdap::AttrTable::attr_begin(), libdap::Attr_byte, attr_byte_c, libdap::Attr_container, attr_container_c, libdap::AttrTable::attr_end(), libdap::Attr_float32, attr_float32_c, libdap::Attr_float64, libdap::Attr_int16, attr_int16_c, libdap::Attr_int32, attr_int32_c, libdap::Attr_other_xml, attr_otherxml_c, attr_str_c, libdap::Attr_string, libdap::Attr_uint16, attr_uint16_c, libdap::Attr_uint32, attr_uint32_c, libdap::Attr_url, attr_url_c, libdap::D4Attribute::attributes(), libdap::AttrTable::get_attr_table(), libdap::AttrTable::get_attr_type(), libdap::AttrTable::get_attr_vector(), libdap::AttrTable::get_name(), and transform_to_dap4().
Referenced by libdap::DMR::build_using_dds(), libdap::DMR::DMR(), libdap::Constructor::transform_to_dap4(), transform_to_dap4(), libdap::BaseType::transform_to_dap4(), and libdap::Array::transform_to_dap4().
