Definition at line 51 of file NCStructure.h.
◆ NCStructure() [1/2]
NCStructure::NCStructure |
( |
const string & | n, |
|
|
const string & | d ) |
◆ NCStructure() [2/2]
◆ ~NCStructure()
NCStructure::~NCStructure |
( |
| ) |
|
|
virtual |
◆ operator=()
◆ ptr_duplicate()
BaseType * NCStructure::ptr_duplicate |
( |
| ) |
|
|
virtual |
◆ read()
bool NCStructure::read |
( |
| ) |
|
|
virtual |
◆ transfer_attributes()
void NCStructure::transfer_attributes |
( |
AttrTable * | at | ) |
|
|
virtual |
Transfer attributes from a separately built DAS to the DDS. This method overrides the implementation found in libdap to accommodate the special characteristics of the NC handler's DAS object. The noteworthy feature of this handler's DAS is that it lacks the specified structure that provides an easy way to match DAS and DDS items. Instead this DAS is flat.
Because this handler produces a flat DAS, the nested structures (like NCStructure) pass the entire top level AttrTable to each of their children so that they can search for their attribute table. The default implementation of this method would find the Structure's table and pass only that to the children since it 'knows' that their tables would all be found within it.
- Parameters
-
at | An AttrTable for the entire DAS. Search this for attributes by name. |
- See also
- NCSequence::transfer_attributes
-
NCGrid::transfer_attributes
-
NCArray::transfer_attributes
Definition at line 124 of file NCStructure.cc.
◆ transform_to_dap4()
void NCStructure::transform_to_dap4 |
( |
D4Group * | root, |
|
|
Constructor * | container ) |
|
virtual |
Custom version of the transform_to_dap4() method. This builds a NCStructure and sets its parent to the container passed in as an argument. This has to be specialized since the version provided by libdap calls 'new Strucutre(...)' and not ptr_duplicate() since the latter will not transform the variables held in this Structure (Sequence has this issue in general as well, but it does not matter for this handler since netCDF files never hold sequence data).
- Parameters
-
root | Get stuff like dimensions from this Group |
container | The new variable will be part of this container (caller adds). |
- Returns
- The new DAP4-ready variable.
Definition at line 148 of file NCStructure.cc.
◆ NCArray
The documentation for this class was generated from the following files: