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

It repersents one dimension of an SDS or a VDATA. It holds the dimension name and the size of that dimension. More...

#include <HDFSP.h>

Collaboration diagram for HDFSP::Dimension:
Collaboration graph

Public Member Functions

const std::string & getName () const
 Get dimension name. More...
 
int32 getSize () const
 Get dimension size. More...
 
int32 getType () const
 If the SDS dimension scale is available, the returned value is dim. scale datatype. If there is no dimension scale, the returned value is 0. More...
 

Protected Member Functions

 Dimension (const std::string &name, int32 dimsize, int32 dimtype)
 

Protected Attributes

int32 dimsize
 
int32 dimtype
 dimension scale datatype or 0 if no dimension scale. More...
 
std::string name
 

Friends

class File
 
class SD
 
class SDField
 

Detailed Description

It repersents one dimension of an SDS or a VDATA. It holds the dimension name and the size of that dimension.

Definition at line 129 of file HDFSP.h.

Constructor & Destructor Documentation

HDFSP::Dimension::Dimension ( const std::string &  name,
int32  dimsize,
int32  dimtype 
)
inlineprotected

Definition at line 153 of file HDFSP.h.

Member Function Documentation

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

Get dimension name.

Definition at line 134 of file HDFSP.h.

References name.

int32 HDFSP::Dimension::getSize ( ) const
inline

Get dimension size.

Definition at line 140 of file HDFSP.h.

References dimsize.

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

If the SDS dimension scale is available, the returned value is dim. scale datatype. If there is no dimension scale, the returned value is 0.

Definition at line 147 of file HDFSP.h.

References dimtype.

Friends And Related Function Documentation

friend class File
friend

Definition at line 170 of file HDFSP.h.

friend class SD
friend

Definition at line 169 of file HDFSP.h.

friend class SDField
friend

Definition at line 171 of file HDFSP.h.

Member Data Documentation

int32 HDFSP::Dimension::dimsize
protected

Definition at line 164 of file HDFSP.h.

Referenced by getSize().

int32 HDFSP::Dimension::dimtype
protected

dimension scale datatype or 0 if no dimension scale.

Definition at line 167 of file HDFSP.h.

Referenced by getType().

std::string HDFSP::Dimension::name
protected

Definition at line 161 of file HDFSP.h.

Referenced by getName().


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