Definition at line 94 of file D4Attributes.h.
◆ D4AttributesCIter
typedef vector<D4Attribute*>::const_iterator libdap::D4Attributes::D4AttributesCIter |
◆ D4AttributesIter
typedef vector<D4Attribute*>::iterator libdap::D4Attributes::D4AttributesIter |
◆ D4Attributes() [1/2]
libdap::D4Attributes::D4Attributes |
( |
| ) |
|
|
inline |
◆ D4Attributes() [2/2]
libdap::D4Attributes::D4Attributes |
( |
const D4Attributes & | rhs | ) |
|
|
inline |
◆ ~D4Attributes()
virtual libdap::D4Attributes::~D4Attributes |
( |
| ) |
|
|
inlinevirtual |
◆ add_attribute()
void libdap::D4Attributes::add_attribute |
( |
D4Attribute * | attr | ) |
|
|
inline |
◆ add_attribute_nocopy()
void libdap::D4Attributes::add_attribute_nocopy |
( |
D4Attribute * | attr | ) |
|
|
inline |
◆ attribute_begin()
D4AttributesIter libdap::D4Attributes::attribute_begin |
( |
| ) |
|
|
inline |
Get an iterator to the start of the enumerations.
Definition at line 145 of file D4Attributes.h.
◆ attribute_end()
D4AttributesIter libdap::D4Attributes::attribute_end |
( |
| ) |
|
|
inline |
Get an iterator to the end of the enumerations.
Definition at line 148 of file D4Attributes.h.
◆ attributes()
const vector< D4Attribute * > & libdap::D4Attributes::attributes |
( |
| ) |
const |
|
inline |
Get a const reference to the vector of D$attribute pointers.
- Note
- Use this in range-based for loops to iterate over the variables.
- Returns
- A const reference to the vector of D4Attribute pointers.
Definition at line 160 of file D4Attributes.h.
◆ dump()
void libdap::D4Attributes::dump |
( |
ostream & | strm | ) |
const |
|
virtual |
dumps information about this object
Displays the pointer value of this instance and then displays information about this base type.
- Parameters
-
strm | C++ i/o stream to dump the information to |
- Returns
- void
Implements libdap::DapObj.
Definition at line 621 of file D4Attributes.cc.
◆ empty()
bool libdap::D4Attributes::empty |
( |
| ) |
const |
|
inline |
◆ erase()
void libdap::D4Attributes::erase |
( |
const string & | fqn | ) |
|
Erase the given attribute.
- Parameters
-
fqn | Fully Qualified Name for the attribute to remove. |
Definition at line 503 of file D4Attributes.cc.
◆ erase_named_attribute()
void libdap::D4Attributes::erase_named_attribute |
( |
const string & | name | ) |
|
Erase an attribute from a specific container This method expects to find 'name' in the D4Attributes object on which it is called.
- Parameters
-
name | The name of the attribute in this container |
- See also
- void D4Attributes::erase(const string &fqn) for code that searches for a fully qualified attribute name and erases it.
Definition at line 487 of file D4Attributes.cc.
◆ find()
D4Attribute * libdap::D4Attributes::find |
( |
const string & | name | ) |
|
◆ get()
D4Attribute * libdap::D4Attributes::get |
( |
const string & | fqn | ) |
|
Return a pointer to the D4Attribute object that has the given FQN.
- Note
- A FQN for an attribute is a series of names separated by dots.
Definition at line 442 of file D4Attributes.cc.
◆ operator=()
◆ print_dap4()
void libdap::D4Attributes::print_dap4 |
( |
XMLWriter & | xml | ) |
const |
◆ transform_attrs_to_dap2()
void libdap::D4Attributes::transform_attrs_to_dap2 |
( |
AttrTable * | d2_attr_table | ) |
|
◆ transform_to_dap4()
void libdap::D4Attributes::transform_to_dap4 |
( |
AttrTable & | at | ) |
|
The documentation for this class was generated from the following files: