radarlib 1.4.6
OdimH5v20::WHATRootMetadata Class Referenceabstract

Interface fot WHAT root attributes methods. More...

#include <radarlib/odimh5v20_metadata.hpp>

Inheritance diagram for OdimH5v20::WHATRootMetadata:
OdimH5v20::OdimObject OdimH5v20::WHATDatasetMetadata OdimH5v20::Object_2D OdimH5v20::PolarVolume OdimH5v20::PolarScan OdimH5v20::PolarScanData OdimH5v20::Product_2D OdimH5v20::Product_2D_Data OdimH5v20::HorizontalObject_2D OdimH5v20::XsecObject OdimH5v20::Horizontal_Product_2D OdimH5v20::Vertical_Product_2D OdimH5v20::CompObject OdimH5v20::ImageObject OdimH5v20::Product_CAPPI OdimH5v20::Product_COMP OdimH5v20::Product_ETOP OdimH5v20::Product_LBM OdimH5v20::Product_MAX OdimH5v20::Product_PCAPPI OdimH5v20::Product_PPI OdimH5v20::Product_RR OdimH5v20::Product_VIL OdimH5v20::Product_Panel OdimH5v20::Product_RHI OdimH5v20::Product_XSEC

Public Member Functions

virtual std::string getObject ()=0
 Get the value of 'object' attribute.
 
virtual void setObject (const std::string &val)=0
 Set the value of 'object' attribute.
 
virtual std::string getVersion ()=0
 Get the value of 'version' attribute.
 
virtual void setVersion (const std::string &val)=0
 Set the value of 'version' attribute.
 
virtual void setDateTime (const time_t val)=0
 Set the value of 'date' and 'time' attributes.
 
virtual time_t getDateTime ()=0
 Get the joined value of 'date' and 'time' attributes.
 
virtual SourceInfo getSource ()=0
 Get the value of 'source' attribute.
 
virtual void setSource (const SourceInfo &val)=0
 Set the value of 'source' attribute.
 

Detailed Description

Interface fot WHAT root attributes methods.

This interface declare the methods to read and write root WHAT attributes

Member Function Documentation

◆ getObject()

virtual std::string OdimH5v20::WHATRootMetadata::getObject ( )
pure virtual

Get the value of 'object' attribute.

Exceptions
OdimH5Exceptionif an unexpected error occurs

Implemented in OdimH5v20::OdimObject, OdimH5v20::PolarScan, OdimH5v20::PolarScanData, OdimH5v20::Product_2D, and OdimH5v20::Product_2D_Data.

◆ setObject()

virtual void OdimH5v20::WHATRootMetadata::setObject ( const std::string & val)
pure virtual

Set the value of 'object' attribute.

Parameters
valthe value to write
Exceptions
OdimH5Exceptionif an unexpected error occurs

Implemented in OdimH5v20::OdimObject, OdimH5v20::PolarScan, OdimH5v20::PolarScanData, OdimH5v20::Product_2D, and OdimH5v20::Product_2D_Data.

◆ getVersion()

virtual std::string OdimH5v20::WHATRootMetadata::getVersion ( )
pure virtual

Get the value of 'version' attribute.

Exceptions
OdimH5Exceptionif an unexpected error occurs

Implemented in OdimH5v20::OdimObject, OdimH5v20::PolarScan, OdimH5v20::PolarScanData, OdimH5v20::Product_2D, and OdimH5v20::Product_2D_Data.

◆ setVersion()

virtual void OdimH5v20::WHATRootMetadata::setVersion ( const std::string & val)
pure virtual

Set the value of 'version' attribute.

Parameters
valthe value to write
Exceptions
OdimH5Exceptionif an unexpected error occurs

Implemented in OdimH5v20::OdimObject, OdimH5v20::PolarScan, OdimH5v20::PolarScanData, OdimH5v20::Product_2D, and OdimH5v20::Product_2D_Data.

◆ setDateTime()

virtual void OdimH5v20::WHATRootMetadata::setDateTime ( const time_t val)
pure virtual

Set the value of 'date' and 'time' attributes.

Set the value of 'date' and 'time' attributes using the given time_t value

Parameters
valthe value to write
Exceptions
OdimH5Exceptionif an unexpected error occurs

Implemented in OdimH5v20::OdimObject, OdimH5v20::PolarScan, OdimH5v20::PolarScanData, OdimH5v20::Product_2D, and OdimH5v20::Product_2D_Data.

◆ getDateTime()

virtual time_t OdimH5v20::WHATRootMetadata::getDateTime ( )
pure virtual

Get the joined value of 'date' and 'time' attributes.

Get the joined value of 'date' and 'time' attributes in a single time_t value

Exceptions
OdimH5Exceptionif an unexpected error occurs

Implemented in OdimH5v20::OdimObject, OdimH5v20::PolarScan, OdimH5v20::PolarScanData, OdimH5v20::Product_2D, and OdimH5v20::Product_2D_Data.

◆ getSource()

virtual SourceInfo OdimH5v20::WHATRootMetadata::getSource ( )
pure virtual

Get the value of 'source' attribute.

Returns
A SourceInfo object ottained parsing the 'source' attribute
Exceptions
OdimH5Exceptionif an unexpected error occurs

Implemented in OdimH5v20::OdimObject, OdimH5v20::PolarScan, OdimH5v20::PolarScanData, OdimH5v20::Product_2D, and OdimH5v20::Product_2D_Data.

◆ setSource()

virtual void OdimH5v20::WHATRootMetadata::setSource ( const SourceInfo & val)
pure virtual

Set the value of 'source' attribute.

Set the value of 'source' attribute according to OdimH5 format, using the values stored in a SourceInfo object

Parameters
valthe value to write
Exceptions
OdimH5Exceptionif an unexpected error occurs

Implemented in OdimH5v20::OdimObject, OdimH5v20::PolarScan, OdimH5v20::PolarScanData, OdimH5v20::Product_2D, and OdimH5v20::Product_2D_Data.


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