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

Representing one attribute in grid or swath. More...

#include <HDFSP.h>

Collaboration diagram for HDFSP::Attribute:
Collaboration graph

Public Member Functions

int32 getCount () const
 Get the number of elements of this attribute. More...
 
const std::string & getName () const
 Get the attribute name. More...
 
const std::string & getNewName () const
 Get the CF attribute name(special characters are replaced by underscores) More...
 
int32 getType () const
 Get the attribute datatype. More...
 
const std::vector< char > & getValue () const
 Get the attribute value. More...
 

Protected Attributes

int32 count
 The number of elements. More...
 
std::string name
 Original attribute name. More...
 
std::string newname
 CF attribute name(special characters are replaced by underscores) More...
 
int32 type
 Attribute type. More...
 
std::vector< char > value
 Attribute values. More...
 

Friends

class Field
 
class File
 
class SD
 
class VDATA
 
class VDField
 

Detailed Description

Representing one attribute in grid or swath.

Definition at line 175 of file HDFSP.h.

Member Function Documentation

int32 HDFSP::Attribute::getCount ( ) const
inline

Get the number of elements of this attribute.

Definition at line 198 of file HDFSP.h.

References count.

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

Get the attribute name.

Definition at line 180 of file HDFSP.h.

References name.

const std::string& HDFSP::Attribute::getNewName ( ) const
inline

Get the CF attribute name(special characters are replaced by underscores)

Definition at line 186 of file HDFSP.h.

References newname.

int32 HDFSP::Attribute::getType ( ) const
inline

Get the attribute datatype.

Definition at line 192 of file HDFSP.h.

References type.

const std::vector< char >& HDFSP::Attribute::getValue ( ) const
inline

Get the attribute value.

Definition at line 204 of file HDFSP.h.

References value.

Friends And Related Function Documentation

friend class Field
friend

Definition at line 229 of file HDFSP.h.

friend class File
friend

Definition at line 228 of file HDFSP.h.

friend class SD
friend

Definition at line 226 of file HDFSP.h.

friend class VDATA
friend

Definition at line 227 of file HDFSP.h.

friend class VDField
friend

Definition at line 230 of file HDFSP.h.

Member Data Documentation

int32 HDFSP::Attribute::count
protected
std::string HDFSP::Attribute::name
protected
std::string HDFSP::Attribute::newname
protected

CF attribute name(special characters are replaced by underscores)

Definition at line 215 of file HDFSP.h.

Referenced by getNewName(), HDFSP::SD::Read(), HDFSP::SD::Read_Hybrid(), HDFSP::VDField::ReadAttributes(), HDFSP::VDATA::ReadAttributes(), and HDFSP::File::ReadVgattrs().

int32 HDFSP::Attribute::type
protected
std::vector< char > HDFSP::Attribute::value
protected

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