|
OPeNDAP Hyrax Back End Server (BES)
Updated for version 3.8.3
|
This class retrieves all information of one Vdata. More...
#include <HDFSP.h>

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 |
| 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. More... | |
| void | ReadAttributes (int32 vdata_id) throw (Exception) |
| Retrieve all attributes of this Vdata. More... | |
| ~VDATA () | |
Static Public Member Functions | |
| static VDATA * | Read (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 |
|
inlineprotected |
|
inline |
|
inline |
Obtain Vdata fields.
Definition at line 667 of file HDFSP.h.
References vdfields.
Referenced by HDFSP::File::InsertOrigFieldPath_ReadVgVdata(), HDFSP::File::obtain_path(), HDFSP::File::obtain_vdata_path(), HDFSP::File::ReadHybridNonLoneVdatas(), and HDFSP::File::ReadLoneVdatas().
|
inline |
|
inline |
|
inline |
|
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 681 of file HDFSP.h.
References TreatAsAttrFlag.
Referenced by HDFSP::File::InsertOrigFieldPath_ReadVgVdata(), HDFSP::File::obtain_path(), HDFSP::File::obtain_vdata_path(), Read(), HDFSP::File::ReadHybridNonLoneVdatas(), and HDFSP::File::ReadLoneVdatas().
Retrieve all information of this Vdata.
Definition at line 2312 of file HDFSP.cc.
References HDFCFUtil::check_beskeys(), HDFCFUtil::get_CF_string(), getTreatAsAttrFlag(), HDFSP::Field::name, name, HDFSP::Field::newname, newname, NULL, HDFSP::VDField::numrec, HDFSP::VDField::order, HDFSP::Field::rank, HDFSP::VDField::ReadAttributes(), ReadAttributes(), HDFSP::VDField::size, throw3, throw5, TreatAsAttrFlag, HDFSP::Field::type, HDFSP::VDField::value, vdfields, and vdref.
Referenced by HDFSP::File::InsertOrigFieldPath_ReadVgVdata(), HDFSP::File::obtain_path(), HDFSP::File::ReadHybridNonLoneVdatas(), and HDFSP::File::ReadLoneVdatas().

| void VDATA::ReadAttributes | ( | int32 | vdata_id | ) | |
| throw | ( | Exception | |||
| ) | |||||
Retrieve all attributes of this Vdata.
Definition at line 2477 of file HDFSP.cc.
References HDFSP::Attribute::count, HDFCFUtil::get_CF_string(), HDFSP::Attribute::name, HDFSP::Attribute::newname, throw3, throw5, HDFSP::Attribute::type, and HDFSP::Attribute::value.
Referenced by Read().

|
protected |
|
protected |
Original vdata name.
Definition at line 703 of file HDFSP.h.
Referenced by getName(), HDFSP::File::InsertOrigFieldPath_ReadVgVdata(), HDFSP::File::obtain_path(), HDFSP::File::obtain_vdata_path(), Read(), and HDFSP::File::ReadHybridNonLoneVdatas().
|
protected |
New name with path and CF compliant(no special characters and name clashing).
Definition at line 700 of file HDFSP.h.
Referenced by getNewName(), HDFSP::File::InsertOrigFieldPath_ReadVgVdata(), HDFSP::File::obtain_path(), HDFSP::File::obtain_vdata_path(), Read(), HDFSP::File::ReadHybridNonLoneVdatas(), and HDFSP::File::ReadLoneVdatas().
|
protected |
Flag to map vdata fields to DAP variables or DAP attributes.
Definition at line 715 of file HDFSP.h.
Referenced by getTreatAsAttrFlag(), and Read().
|
protected |
|
protected |
Vdata reference number.
Definition at line 712 of file HDFSP.h.
Referenced by getObjRef(), and Read().