IODA Bundle
Ingester::MnemonicVariable Class Referencefinal

Exports parsed data associated with a mnemonic (ex: "CLAT") More...

#include <MnemonicVariable.h>

Inheritance diagram for Ingester::MnemonicVariable:
[legend]
Collaboration diagram for Ingester::MnemonicVariable:
[legend]

Public Member Functions

 MnemonicVariable (const std::string &mnemonicStr, const Transforms &transforms)
 
 ~MnemonicVariable () final=default
 
std::shared_ptr< DataObjectexportData (const BufrDataMap &map) final
 Gets the requested data, applies transforms, and returns the requested data. More...
 
- Public Member Functions inherited from Ingester::Variable
virtual ~Variable ()=default
 

Private Member Functions

void applyTransforms (IngesterArray &data)
 Apply the transforms. More...
 

Private Attributes

std::string mnemonic_
 The BUFR mnemonic of interest. More...
 
Transforms transforms_
 Collection of transforms to apply to the data during export. More...
 

Detailed Description

Exports parsed data associated with a mnemonic (ex: "CLAT")

Definition at line 24 of file MnemonicVariable.h.

Constructor & Destructor Documentation

◆ MnemonicVariable()

Ingester::MnemonicVariable::MnemonicVariable ( const std::string &  mnemonicStr,
const Transforms transforms 
)
explicit

Definition at line 19 of file MnemonicVariable.cpp.

◆ ~MnemonicVariable()

Ingester::MnemonicVariable::~MnemonicVariable ( )
finaldefault

Member Function Documentation

◆ applyTransforms()

void Ingester::MnemonicVariable::applyTransforms ( IngesterArray data)
private

Apply the transforms.

Parameters
dataEigen Array data to apply the transform to.

Definition at line 41 of file MnemonicVariable.cpp.

Here is the caller graph for this function:

◆ exportData()

std::shared_ptr< DataObject > Ingester::MnemonicVariable::exportData ( const BufrDataMap map)
finalvirtual

Gets the requested data, applies transforms, and returns the requested data.

Parameters
mapBufrDataMap that contains the parsed data for each mnemonic

Implements Ingester::Variable.

Definition at line 25 of file MnemonicVariable.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ mnemonic_

std::string Ingester::MnemonicVariable::mnemonic_
private

The BUFR mnemonic of interest.

Definition at line 36 of file MnemonicVariable.h.

◆ transforms_

Transforms Ingester::MnemonicVariable::transforms_
private

Collection of transforms to apply to the data during export.

Definition at line 39 of file MnemonicVariable.h.


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