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

One instance of this class represents one Vdata field. More...

#include <HDFSP.h>

Inheritance diagram for HDFSP::VDField:
Inheritance graph
Collaboration diagram for HDFSP::VDField:
Collaboration graph

Public Member Functions

const std::vector< Attribute * > & getAttributes () const
 Get the attributes of this field. More...
 
int32 getFieldOrder () const
 Get the order of this field. More...
 
int32 getFieldsize () const
 Get the field size. More...
 
const std::string & getName () const
 Get the name of this field. More...
 
const std::string & getNewName () const
 Get the CF name(special characters replaced by underscores) of this field. More...
 
int32 getNumRec () const
 Get the number of record. More...
 
int32 getRank () const
 Get the dimension rank of this field. More...
 
int32 getType () const
 Get the data type of this field. More...
 
const std::vector< char > & getValue () const
 Get the vdata field values. More...
 
void ReadAttributes (int32 vdata_id, int32 fieldindex) throw (Exception)
 Read vdata field attributes. More...
 
 VDField ()
 
 ~VDField ()
 

Protected Attributes

std::vector< Attribute * > attrs
 The attributes of this field. More...
 
std::string name
 The original name of this field. More...
 
std::string newname
 The CF full path(special characters replaced by underscores) of this field. More...
 
int32 numrec
 Number of record of the vdata field. More...
 
int32 order
 Vdata field order. More...
 
int32 rank
 The rank of this field. More...
 
int32 size
 Vdata field size. More...
 
int32 type
 The datatype of this field. More...
 
std::vector< char > value
 Vdata field value. More...
 

Friends

class File
 
class VDATA
 

Detailed Description

One instance of this class represents one Vdata field.

Definition at line 500 of file HDFSP.h.

Constructor & Destructor Documentation

HDFSP::VDField::VDField ( )
inline

Definition at line 503 of file HDFSP.h.

VDField::~VDField ( )

Definition at line 176 of file HDFSP.cc.

Member Function Documentation

const std::vector< Attribute * >& HDFSP::Field::getAttributes ( ) const
inlineinherited

Get the attributes of this field.

Definition at line 314 of file HDFSP.h.

References HDFSP::Field::attrs.

Referenced by HDFCFUtil::add_obpg_special_attrs().

int32 HDFSP::VDField::getFieldOrder ( ) const
inline

Get the order of this field.

Definition at line 511 of file HDFSP.h.

References order.

Referenced by read_dds_spvdfields().

int32 HDFSP::VDField::getFieldsize ( ) const
inline

Get the field size.

Definition at line 517 of file HDFSP.h.

References size.

const std::string& HDFSP::Field::getName ( ) const
inlineinherited

Get the name of this field.

Definition at line 290 of file HDFSP.h.

References HDFSP::Field::name.

Referenced by HDFSP::File::PrepareTRMML3A_V6(), HDFSP::File::PrepareTRMML3C_V6(), read_dds_spfields(), and read_dds_spvdfields().

const std::string& HDFSP::Field::getNewName ( ) const
inlineinherited

Get the CF name(special characters replaced by underscores) of this field.

Definition at line 296 of file HDFSP.h.

References HDFSP::Field::newname.

Referenced by HDFCFUtil::add_obpg_special_attrs(), read_dds_spfields(), and read_dds_spvdfields().

int32 HDFSP::VDField::getNumRec ( ) const
inline

Get the number of record.

Definition at line 523 of file HDFSP.h.

References numrec.

int32 HDFSP::Field::getRank ( ) const
inlineinherited

Get the dimension rank of this field.

Definition at line 302 of file HDFSP.h.

References HDFSP::Field::rank.

Referenced by read_dds_spfields().

int32 HDFSP::Field::getType ( ) const
inlineinherited

Get the data type of this field.

Definition at line 308 of file HDFSP.h.

References HDFSP::Field::type.

Referenced by HDFCFUtil::add_obpg_special_attrs(), read_dds_spfields(), and read_dds_spvdfields().

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

Get the vdata field values.

Definition at line 529 of file HDFSP.h.

References value.

void VDField::ReadAttributes ( int32  vdata_id,
int32  fieldindex 
)
throw (Exception
)

Read vdata field attributes.

Definition at line 2537 of file HDFSP.cc.

References HDFSP::Attribute::count, HDFCFUtil::get_CF_string(), HDFSP::Attribute::name, HDFSP::Attribute::newname, throw5, HDFSP::Attribute::type, and HDFSP::Attribute::value.

Referenced by HDFSP::VDATA::Read().

Here is the call graph for this function:

Friends And Related Function Documentation

friend class File
friend

Definition at line 551 of file HDFSP.h.

friend class VDATA
friend

Definition at line 552 of file HDFSP.h.

Member Data Documentation

std::vector< Attribute * > HDFSP::Field::attrs
protectedinherited

The attributes of this field.

Definition at line 335 of file HDFSP.h.

Referenced by HDFSP::Field::getAttributes(), HDFSP::SD::Read(), and HDFSP::SD::Read_Hybrid().

int32 HDFSP::VDField::numrec
protected

Number of record of the vdata field.

Definition at line 543 of file HDFSP.h.

Referenced by getNumRec(), and HDFSP::VDATA::Read().

int32 HDFSP::VDField::order
protected

Vdata field order.

Definition at line 540 of file HDFSP.h.

Referenced by getFieldOrder(), and HDFSP::VDATA::Read().

int32 HDFSP::VDField::size
protected

Vdata field size.

Definition at line 546 of file HDFSP.h.

Referenced by getFieldsize(), and HDFSP::VDATA::Read().

std::vector< char > HDFSP::VDField::value
protected

Vdata field value.

Definition at line 549 of file HDFSP.h.

Referenced by getValue(), and HDFSP::VDATA::Read().


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