libdap++
Updated for version 3.14.0
|
#include <D4Dimensions.h>
Public Member Functions | |
unsigned long long | c_start () const |
unsigned long long | c_stop () const |
unsigned long long | c_stride () const |
bool | constrained () const |
D4Dimension () | |
D4Dimension (const string &name, unsigned long size, D4Dimensions *d=0) | |
string | fully_qualified_name () const |
Get the FQN for the dimension. More... | |
string | name () const |
D4Dimensions * | parent () const |
void | print_dap4 (XMLWriter &xml) const |
Print the Dimension declaration. Print the Dimension in a form suitable for use in a Group definition/declaration. More... | |
void | set_constraint (unsigned long long start, unsigned long long stride, unsigned long long stop) |
void | set_name (const string &name) |
void | set_parent (D4Dimensions *d) |
void | set_size (unsigned long size) |
void | set_size (const string &size) |
void | set_used_by_projected_var (bool state) |
unsigned long | size () const |
bool | used_by_projected_var () const |
Definition at line 41 of file D4Dimensions.h.
|
inline |
Definition at line 53 of file D4Dimensions.h.
|
inline |
Definition at line 55 of file D4Dimensions.h.
|
inline |
Definition at line 71 of file D4Dimensions.h.
Referenced by libdap::Array::add_constraint().
|
inline |
Definition at line 73 of file D4Dimensions.h.
Referenced by libdap::Array::add_constraint().
|
inline |
Definition at line 72 of file D4Dimensions.h.
Referenced by libdap::Array::add_constraint().
|
inline |
Definition at line 70 of file D4Dimensions.h.
Referenced by libdap::Array::add_constraint().
string libdap::D4Dimension::fully_qualified_name | ( | ) | const |
Definition at line 56 of file D4Dimensions.cc.
References libdap::BaseType::get_parent(), name(), libdap::BaseType::name(), and libdap::D4Dimensions::parent().
Referenced by print_dap4().
|
inline |
Definition at line 58 of file D4Dimensions.h.
Referenced by libdap::Array::dimension::dimension(), and fully_qualified_name().
|
inline |
Definition at line 67 of file D4Dimensions.h.
void libdap::D4Dimension::print_dap4 | ( | XMLWriter & | xml | ) | const |
xml | Print to this XMLWriter instance |
Definition at line 83 of file D4Dimensions.cc.
References fully_qualified_name(), and libdap::XMLWriter::get_writer().
|
inline |
Set this Shared Diemension's constraint. While an Array Dimension object uses a stop value of -1 to indicate the end of the dimension, this method does not support that; the caller will have to sort out the correct end value for 'stop'.
start | Starting index (zero-based) |
stride | The stride for the slice |
stop | The stopping index (never greater than size -1) |
Definition at line 86 of file D4Dimensions.h.
|
inline |
Definition at line 59 of file D4Dimensions.h.
|
inline |
Definition at line 68 of file D4Dimensions.h.
Referenced by libdap::D4Dimensions::add_dim_nocopy(), and libdap::D4Dimensions::insert_dim_nocopy().
|
inline |
Definition at line 63 of file D4Dimensions.h.
Referenced by set_size().
void libdap::D4Dimension::set_size | ( | const string & | size | ) |
Definition at line 39 of file D4Dimensions.cc.
References set_size().
|
inline |
Definition at line 76 of file D4Dimensions.h.
Referenced by libdap::Array::add_constraint().
|
inline |
Definition at line 62 of file D4Dimensions.h.
Referenced by libdap::Array::dimension::dimension(), and libdap::Array::transform_to_dap4().
|
inline |
Definition at line 75 of file D4Dimensions.h.