|
virtual void | clear_embedded () |
| Clears the list of embedded variable names.
|
|
void | convert (std::vector< std::string > embed) |
|
void | convert (std::vector< std::string > embed, bool is_dap4) |
|
virtual void | convert (std::vector< std::string > embed, bool is_dap4, bool is_dap4_group) |
|
virtual void | define (int ncid) |
| Define the variable in the netcdf file.
|
|
void | dump (std::ostream &strm) const override=0 |
| dump the contents of this object to the specified ostream
|
|
libdap::DDS * | get_dds () const |
|
libdap::ConstraintEvaluator * | get_eval () const |
|
bool | get_fdio_flag () const |
|
virtual libdap::AttrType | getAttrType (nc_type t) |
|
virtual D4AttributeType | getD4AttrType (nc_type t) |
|
virtual bool | isNetCDF4 () |
| Returns true if NetCDF4 features will be required.
|
|
bool | isNetCDF4_ENHANCED () |
|
virtual std::string | name ()=0 |
|
void | set_dds (libdap::DDS *dds) |
|
void | set_eval (libdap::ConstraintEvaluator *eval) |
|
void | set_fdio_flag (bool dio_flag_value=true) |
|
virtual void | set_is_dap4 (bool set_dap4) |
|
virtual void | setNC4DataModel (const string &nc4_datamodel) |
| Identifies the netCDF4 data model (CLASSIC or ENHANCED)
|
|
virtual void | setVersion (const std::string &version) |
| Identifies variable with use of NetCDF4 features.
|
|
virtual nc_type | type () |
| Returns the type of data of this variable.
|
|
virtual void | updateAttrType (libdap::AttrTable &attrs, nc_type t) |
|
virtual void | updateD4AttrType (libdap::D4Attributes *d4_attrs, nc_type t) |
|
virtual int | varid () const |
|
virtual void | write (int ncid)=0 |
|
A DAP BaseType with file out netcdf information included.
This class represents a DAP BaseType with additional information needed to write it out to a netcdf file. Includes a reference to the actual DAP BaseType being converted
Definition at line 60 of file FONcBaseType.h.
void FONcBaseType::define |
( |
int | ncid | ) |
|
|
virtual |
Define the variable in the netcdf file.
This method creates this variable in the netcdf file. This implementation is used for only simple types (byte, short, int, float, double), and not for the complex types (str, structure, array, grid, sequence)
- Parameters
-
ncid | Id of the NetCDF file |
- Exceptions
-
Reimplemented in FONcArray, FONcArrayStructure, FONcArrayStructureField, FONcByte, FONcDouble, FONcFloat, FONcGrid, FONcInt64, FONcInt8, FONcInt, FONcSequence, FONcShort, FONcStr, FONcStructure, FONcUByte, FONcUInt64, FONcUInt, and FONcUShort.
Definition at line 60 of file FONcBaseType.cc.
void FONcBaseType::dump |
( |
std::ostream & | strm | ) |
const |
|
overridepure virtual |
dump the contents of this object to the specified ostream
This method is implemented by all derived classes to dump their contents, in other words, any state they might have, private variables, etc...
The inline function below can be used to dump the contents of an OPeNDAPObj object. For example, the object Animal is derived from BESObj. A user could do the following:
Animal *a = new dog( "Sparky" ) ; cout << a << endl ;
And the dump method for dog could display the name passed into the constructor, the (this) pointer of the object, etc...
- Parameters
-
strm | C++ i/o stream to dump the object to |
Implements BESObj.
Implemented in FONcArray, and FONcArrayStructureField.
nc_type FONcBaseType::type |
( |
| ) |
|
|
virtual |
Returns the type of data of this variable.
This implementation of the method returns the default type of data. Subclasses of FONcBaseType will return the specific type of data for simple types
Reimplemented in FONcArrayStructureField, FONcByte, FONcDouble, FONcFloat, FONcInt64, FONcInt8, FONcInt, FONcShort, FONcStr, FONcUByte, FONcUInt64, FONcUInt, and FONcUShort.
Definition at line 86 of file FONcBaseType.cc.