libdap  Updated for version 3.17.0
libdap::D4Attributes Class Reference

List of all members.

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.
D4AttributesIter attribute_end ()
 Get an iterator to the end of the enumerations.
 D4Attributes (const D4Attributes &rhs)
bool empty () const
D4Attributefind (const string &name)
D4Attributeget (const string &fqn)
D4Attributesoperator= (const D4Attributes &rhs)
void print_dap4 (XMLWriter &xml) const
void transform_to_dap4 (AttrTable &at)
 copy attributes from DAP2 to DAP4

Detailed Description

Definition at line 91 of file D4Attributes.h.


Member Function Documentation

D4AttributesIter libdap::D4Attributes::attribute_begin ( ) [inline]

Get an iterator to the start of the enumerations.

Definition at line 140 of file D4Attributes.h.

D4AttributesIter libdap::D4Attributes::attribute_end ( ) [inline]

Get an iterator to the end of the enumerations.

Definition at line 143 of file D4Attributes.h.

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 298 of file D4Attributes.cc.

copy attributes from DAP2 to DAP4

Given a DAP2 AttrTable, copy all of its attributes into a DAP4 D4Attributes object.

Parameters:
atRead the DAP2 attributes from here.

Definition at line 194 of file D4Attributes.cc.


The documentation for this class was generated from the following files: