|
libdap Updated for version 3.18.1
|
#include <D4Dimensions.h>
Public Types | |
| typedef vector< D4Dimension * >::const_iterator | D4DimensionsCIter |
| typedef vector< D4Dimension * >::iterator | D4DimensionsIter |
| Iterator used for D4Dimensions. More... | |
Public Member Functions | |
| void | add_dim (D4Dimension *dim) |
| void | add_dim_nocopy (D4Dimension *dim) |
| D4Dimensions (const D4Dimensions &rhs) | |
| D4Dimensions (D4Group *g) | |
| D4DimensionsIter | dim_begin () |
| Get an iterator to the start of the dimensions. More... | |
| D4DimensionsIter | dim_end () |
| Get an iterator to the end of the dimensions. More... | |
| bool | empty () const |
| Does this D4Dimensions object actually have dimensions? More... | |
| 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) |
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 101 of file D4Dimensions.h.
| typedef vector<D4Dimension*>::const_iterator libdap::D4Dimensions::D4DimensionsCIter |
Definition at line 123 of file D4Dimensions.h.
| typedef vector<D4Dimension*>::iterator libdap::D4Dimensions::D4DimensionsIter |
Iterator used for D4Dimensions.
Definition at line 122 of file D4Dimensions.h.
|
inline |
Definition at line 125 of file D4Dimensions.h.
|
inline |
Definition at line 126 of file D4Dimensions.h.
|
inline |
Definition at line 127 of file D4Dimensions.h.
|
inlinevirtual |
Definition at line 129 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 155 of file D4Dimensions.h.
|
inline |
Append a new dimension.
| dim | Pointer to the D4Dimension object to add; copies the pointer |
Definition at line 160 of file D4Dimensions.h.
|
inline |
Get an iterator to the start of the dimensions.
Definition at line 163 of file D4Dimensions.h.
|
inline |
Get an iterator to the end of the dimensions.
Definition at line 166 of file D4Dimensions.h.
|
inline |
Does this D4Dimensions object actually have dimensions?
Definition at line 142 of file D4Dimensions.h.
| D4Dimension * libdap::D4Dimensions::find_dim | ( | const string & | name | ) |
Definition at line 116 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 177 of file D4Dimensions.h.
|
inline |
Insert a dimension.
| dim | Inserted before i; pointer copy |
| i | iterator |
Definition at line 185 of file D4Dimensions.h.
|
inlineprotected |
Definition at line 110 of file D4Dimensions.h.
|
inline |
Definition at line 135 of file D4Dimensions.h.
|
inline |
Definition at line 144 of file D4Dimensions.h.
| void libdap::D4Dimensions::print_dap4 | ( | XMLWriter & | xml, |
| bool | constrained = false |
||
| ) | const |
Definition at line 123 of file D4Dimensions.cc.
|
inline |
Definition at line 145 of file D4Dimensions.h.