OPeNDAP Hyrax Back End Server (BES)  Updated for version 3.8.3
HDFSP::AttrContainer Class Reference

This class only applies to the OTHERHDF products when there are dimensions but not dimension scales. To remember the dimension names, we follow the mapping of the default HDF4 OPeNDAP hander. In DAP DAS, AttrContainers are used to create attribute containers for each dimension. For each dimension, the attribute container is variable_name_dim_0 (string name "longitude") More...

#include <HDFSP.h>

Collaboration diagram for HDFSP::AttrContainer:
Collaboration graph

Public Member Functions

 AttrContainer ()
 
const std::vector< Attribute * > & getAttributes () const
 No need to have the newname since we will make the name follow CF conventions Get the new name of this field. More...
 
const std::string & getName () const
 Get the name of this attribute container. More...
 
 ~AttrContainer ()
 

Protected Attributes

std::vector< Attribute * > attrs
 
std::string name
 

Friends

class File
 
class SD
 

Detailed Description

This class only applies to the OTHERHDF products when there are dimensions but not dimension scales. To remember the dimension names, we follow the mapping of the default HDF4 OPeNDAP hander. In DAP DAS, AttrContainers are used to create attribute containers for each dimension. For each dimension, the attribute container is variable_name_dim_0 (string name "longitude")

Definition at line 237 of file HDFSP.h.

Constructor & Destructor Documentation

HDFSP::AttrContainer::AttrContainer ( )
inline

Definition at line 239 of file HDFSP.h.

AttrContainer::~AttrContainer ( )

Definition at line 187 of file HDFSP.cc.

Member Function Documentation

const std::vector< Attribute * >& HDFSP::AttrContainer::getAttributes ( ) const
inline

No need to have the newname since we will make the name follow CF conventions Get the new name of this field.

Definition at line 259 of file HDFSP.h.

References attrs.

const std::string& HDFSP::AttrContainer::getName ( ) const
inline

Get the name of this attribute container.

Definition at line 247 of file HDFSP.h.

References name.

Friends And Related Function Documentation

friend class File
friend

Definition at line 273 of file HDFSP.h.

friend class SD
friend

Definition at line 272 of file HDFSP.h.

Member Data Documentation

std::vector< Attribute * > HDFSP::AttrContainer::attrs
protected

Definition at line 271 of file HDFSP.h.

Referenced by getAttributes(), HDFSP::SD::Read(), and HDFSP::File::ReadVgattrs().

std:: string HDFSP::AttrContainer::name
protected

Definition at line 268 of file HDFSP.h.

Referenced by getName(), HDFSP::SD::Read(), and HDFSP::File::ReadVgattrs().


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