bes  Updated for version 3.20.6
HDFSP::VDATA Class Reference

This class retrieves all information of one Vdata. More...

#include <HDFSP.h>

Collaboration diagram for HDFSP::VDATA:
Collaboration graph

Public Member Functions

const std::vector< Attribute * > & getAttributes () const
 Obtain Vdata attributes. More...
 
const std::vector< VDField * > & getFields () const
 Obtain Vdata fields. More...
 
const std::string & getName () const
 Obtain the original vdata name. More...
 
const std::string & getNewName () const
 Obtain new names(with the path and special characters and name clashing handlings) More...
 
int32 getObjRef () const
 Obtain Vdata reference number, this is necessary for retrieving Vdata information from HDF4. More...
 
bool getTreatAsAttrFlag () const
 
void ReadAttributes (int32 vdata_id) throw (Exception)
 Retrieve all attributes of this Vdata. More...
 

Static Public Member Functions

static VDATARead (int32 vdata_id, int32 obj_ref) throw (Exception)
 Retrieve all information of this Vdata. More...
 

Protected Member Functions

 VDATA (int32 vdata_myid, int32 obj_ref)
 

Protected Attributes

std::vector< Attribute * > attrs
 Vdata attribute vectors. More...
 
std::string name
 Original vdata name. More...
 
std::string newname
 New name with path and CF compliant(no special characters and name clashing). More...
 
bool TreatAsAttrFlag
 Flag to map vdata fields to DAP variables or DAP attributes. More...
 
std::vector< VDField * > vdfields
 Vdata field vectors. More...
 
int32 vdref
 Vdata reference number. More...
 

Friends

class File
 

Detailed Description

This class retrieves all information of one Vdata.

Definition at line 641 of file HDFSP.h.

Member Function Documentation

◆ getAttributes()

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

Obtain Vdata attributes.

Definition at line 672 of file HDFSP.h.

◆ getFields()

const std::vector< VDField * >& HDFSP::VDATA::getFields ( ) const
inline

Obtain Vdata fields.

Definition at line 666 of file HDFSP.h.

◆ getName()

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

Obtain the original vdata name.

Definition at line 660 of file HDFSP.h.

◆ getNewName()

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

Obtain new names(with the path and special characters and name clashing handlings)

Definition at line 654 of file HDFSP.h.

◆ getObjRef()

int32 HDFSP::VDATA::getObjRef ( ) const
inline

Obtain Vdata reference number, this is necessary for retrieving Vdata information from HDF4.

Definition at line 686 of file HDFSP.h.

◆ getTreatAsAttrFlag()

bool HDFSP::VDATA::getTreatAsAttrFlag ( ) const
inline

Some Vdata fields are very large in size. Some Vdata fields are very small. So we map smaller Vdata fields to DAP attributes and map bigger Vdata fields to DAP variables. This flag is used for that.

Definition at line 680 of file HDFSP.h.

◆ Read()

VDATA * VDATA::Read ( int32  vdata_id,
int32  obj_ref 
)
throw (Exception
)
static

Retrieve all information of this Vdata.

Definition at line 2380 of file HDFSP.cc.

◆ ReadAttributes()

void VDATA::ReadAttributes ( int32  vdata_id)
throw (Exception
)

Retrieve all attributes of this Vdata.

Definition at line 2568 of file HDFSP.cc.

Member Data Documentation

◆ attrs

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

Vdata attribute vectors.

Definition at line 708 of file HDFSP.h.

◆ name

std::string HDFSP::VDATA::name
protected

Original vdata name.

Definition at line 702 of file HDFSP.h.

◆ newname

std::string HDFSP::VDATA::newname
protected

New name with path and CF compliant(no special characters and name clashing).

Definition at line 699 of file HDFSP.h.

◆ TreatAsAttrFlag

bool HDFSP::VDATA::TreatAsAttrFlag
protected

Flag to map vdata fields to DAP variables or DAP attributes.

Definition at line 714 of file HDFSP.h.

◆ vdfields

std::vector< VDField * > HDFSP::VDATA::vdfields
protected

Vdata field vectors.

Definition at line 705 of file HDFSP.h.

◆ vdref

int32 HDFSP::VDATA::vdref
protected

Vdata reference number.

Definition at line 711 of file HDFSP.h.


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