Inheritance diagram for code::NetcdfFieldDataFormatter:

Public Types | |
| ncTypeName | |
| ncDataType | |
| ncConfigFile | |
| ncDataIdentifier | |
| ncNumGlobals | |
| enum | GlobalAttr { ncTypeName, ncDataType, ncConfigFile, ncDataIdentifier, ncNumGlobals } |
| The global string attributes we expect to see in every file. More... | |
Public Member Functions | |
| virtual SmartPtr< DataType > | createObject (const NetcdfFile &ncfile, const std::vector< std::string > &) |
| The way to obtain the object. | |
| virtual | ~NetcdfFieldDataFormatter () |
| void | setAttributes (DataType &dt, const NetcdfFile &) |
| The builder will pass in the DataType and ask to fill attributes via this method. | |
Static Public Member Functions | |
| static void | introduceSelf () |
| static SmartPtr< NetcdfFormatter > | getFormatter (const std::string &type) |
| Returns the appropriate formatter given the type encoded in the netcdf file. | |
| static std::string | getAttrVal (const NetcdfFile &ncfile, const std::string &attr_name) |
| Returns the value for a global string attribute of this name. | |
| static int | getGlobalAttr (const NetcdfFile &ncfile, std::vector< std::string > *all_attr, SpaceTimeRef *stref, SentinelDouble *FILE_MISSING_DATA, SentinelDouble *FILE_RANGE_FOLDED) |
| Fills in all the global attributes expected by CODE in a netcdf file. | |
Static Protected Member Functions | |
| static void | introduce (const std::string &dataType, SmartPtr< NetcdfFormatter > new_subclass) |
| Use this to introduce new subclasses. | |
enum code::NetcdfFormatter::GlobalAttr [inherited] |
| virtual code::NetcdfFieldDataFormatter::~NetcdfFieldDataFormatter | ( | ) | [virtual] |
| virtual SmartPtr<DataType> code::NetcdfFieldDataFormatter::createObject | ( | const NetcdfFile & | ncfile, | |
| const std::vector< std::string > & | ||||
| ) | [virtual] |
The way to obtain the object.
ncfile An open NetcdfFile object. prms Additional information needed by some data types
Implements code::NetcdfFormatter.
| static std::string code::NetcdfFormatter::getAttrVal | ( | const NetcdfFile & | ncfile, | |
| const std::string & | attr_name | |||
| ) | [static, inherited] |
Returns the value for a global string attribute of this name.
| static SmartPtr<NetcdfFormatter> code::NetcdfFormatter::getFormatter | ( | const std::string & | type | ) | [static, inherited] |
Returns the appropriate formatter given the type encoded in the netcdf file.
| static int code::NetcdfFormatter::getGlobalAttr | ( | const NetcdfFile & | ncfile, | |
| std::vector< std::string > * | all_attr, | |||
| SpaceTimeRef * | stref, | |||
| SentinelDouble * | FILE_MISSING_DATA, | |||
| SentinelDouble * | FILE_RANGE_FOLDED | |||
| ) | [static, inherited] |
Fills in all the global attributes expected by CODE in a netcdf file.
| static void code::NetcdfFormatter::introduce | ( | const std::string & | dataType, | |
| SmartPtr< NetcdfFormatter > | new_subclass | |||
| ) | [static, protected, inherited] |
Use this to introduce new subclasses.
| static void code::NetcdfFieldDataFormatter::introduceSelf | ( | ) | [static] |
| void code::NetcdfFormatter::setAttributes | ( | DataType & | dt, | |
| const NetcdfFile & | ||||
| ) | [inherited] |
The builder will pass in the DataType and ask to fill attributes via this method.
1.4.7