|
libdap Updated for version 3.21.1
libdap4 is an implementation of OPeNDAP's DAP protocol.
|
#include <D4Dimensions.h>

Public Types | |
| typedef vector< D4Dimension * >::const_iterator | D4DimensionsCIter |
| typedef vector< D4Dimension * >::iterator | D4DimensionsIter |
| Iterator used for D4Dimensions. | |
Public Member Functions | |
| void | add_dim (D4Dimension *dim) |
| void | add_dim_nocopy (D4Dimension *dim) |
| D4Dimensions () | |
| D4Dimensions (const D4Dimensions &rhs) | |
| D4Dimensions (D4Group *g) | |
| D4DimensionsIter | dim_begin () |
| Get an iterator to the start of the dimensions. | |
| D4DimensionsIter | dim_end () |
| Get an iterator to the end of the dimensions. | |
| bool | empty () const |
| Does this D4Dimensions object actually have dimensions? | |
| D4Dimension * | find_dim (const string &name) |
| void | insert_dim (D4Dimension *dim, D4DimensionsIter i) |
| void | insert_dim_nocopy (D4Dimension *dim, D4DimensionsIter i) |
| D4Dimensions & | operator= (const D4Dimensions &rhs) |
| D4Group * | parent () const |
| void | print_dap4 (XMLWriter &xml, bool constrained=false) const |
| void | set_parent (D4Group *g) |
| virtual | ~D4Dimensions () |
Protected Member Functions | |
| void | m_duplicate (const D4Dimensions &rhs) |
This class holds information about dimensions. This can be used to store actual dimension information in an instance of BaseType and it can be used to store the definition of a dimension in an instance of Group.
Definition at line 103 of file D4Dimensions.h.
| typedef vector<D4Dimension*>::const_iterator libdap::D4Dimensions::D4DimensionsCIter |
Definition at line 125 of file D4Dimensions.h.
| typedef vector<D4Dimension*>::iterator libdap::D4Dimensions::D4DimensionsIter |
Iterator used for D4Dimensions.
Definition at line 124 of file D4Dimensions.h.
|
inline |
Definition at line 127 of file D4Dimensions.h.
|
inline |
Definition at line 128 of file D4Dimensions.h.
|
inline |
Definition at line 129 of file D4Dimensions.h.
|
inlinevirtual |
Definition at line 131 of file D4Dimensions.h.
|
inline |
Append a new dimension. In DAP4 dimensions are either of a known size or are varying. For fixed-size dimensions, the value of varying should be false. For varying dimensions the value of 'size' will be ignored - any value can be used when called this method.
| dim | Pointer to the D4Dimension object to add; deep copy |
Definition at line 158 of file D4Dimensions.h.
|
inline |
Append a new dimension.
| dim | Pointer to the D4Dimension object to add; copies the pointer |
Definition at line 163 of file D4Dimensions.h.
|
inline |
Get an iterator to the start of the dimensions.
Definition at line 169 of file D4Dimensions.h.
|
inline |
Get an iterator to the end of the dimensions.
Definition at line 172 of file D4Dimensions.h.
|
inline |
Does this D4Dimensions object actually have dimensions?
Definition at line 145 of file D4Dimensions.h.
| D4Dimension * libdap::D4Dimensions::find_dim | ( | const string & | name | ) |
Definition at line 112 of file D4Dimensions.cc.
|
inline |
Insert a dimension. Insert a dimension before the position specified by the iterator.
| dim | Inserted before i; deep copy |
| i | iterator |
Definition at line 183 of file D4Dimensions.h.
|
inline |
Insert a dimension.
| dim | Inserted before i; pointer copy |
| i | iterator |
Definition at line 189 of file D4Dimensions.h.
|
inlineprotected |
Definition at line 112 of file D4Dimensions.h.
|
inline |
Definition at line 137 of file D4Dimensions.h.
|
inline |
Definition at line 147 of file D4Dimensions.h.
| void libdap::D4Dimensions::print_dap4 | ( | XMLWriter & | xml, |
| bool | constrained = false ) const |
Definition at line 120 of file D4Dimensions.cc.
|
inline |
Definition at line 148 of file D4Dimensions.h.