IODA Bundle
Ingester::BufrIntCollector Class Reference

Collector that uses the BUFR interface ufbint call to grab data (single col data). More...

#include <BufrIntCollector.h>

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

Public Member Functions

 BufrIntCollector (const int fortranFileId, const BufrMnemonicSet &mnemonicSet)
 
 ~BufrIntCollector ()=default
 
void collect () final
 Grab the next section of data. More...
 
- Public Member Functions inherited from Ingester::BufrCollector
 BufrCollector (const int fortranFileId, const BufrMnemonicSet mnemonicSet)
 
virtual ~BufrCollector ()=default
 
BufrDataMap finalize ()
 Get the data we want from the accumulator and make our data map. Resets the accumulator. More...
 

Private Attributes

std::vector< double > scratchData_
 Pre-allocated buffer to hand to the Fortran interface. More...
 
std::vector< FloatTypefloatTypeScratchData_
 

Additional Inherited Members

- Protected Attributes inherited from Ingester::BufrCollector
const int fortranFileId_
 Fortran file ID for the open BUFR file. More...
 
BufrAccumulator accumulator_
 Accumulator to collect the data we are collecting. More...
 
const BufrMnemonicSet mnemonicSet_
 Specifies the mnemonics and channels this collector gets from the BUFR file. More...
 

Detailed Description

Collector that uses the BUFR interface ufbint call to grab data (single col data).

Definition at line 18 of file BufrIntCollector.h.

Constructor & Destructor Documentation

◆ BufrIntCollector()

Ingester::BufrIntCollector::BufrIntCollector ( const int  fortranFileId,
const BufrMnemonicSet mnemonicSet 
)
explicit

Definition at line 19 of file BufrIntCollector.cpp.

Here is the call graph for this function:

◆ ~BufrIntCollector()

Ingester::BufrIntCollector::~BufrIntCollector ( )
default

Member Function Documentation

◆ collect()

void Ingester::BufrIntCollector::collect ( )
finalvirtual

Grab the next section of data.

Implements Ingester::BufrCollector.

Definition at line 26 of file BufrIntCollector.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ floatTypeScratchData_

std::vector<FloatType> Ingester::BufrIntCollector::floatTypeScratchData_
private

Definition at line 30 of file BufrIntCollector.h.

◆ scratchData_

std::vector<double> Ingester::BufrIntCollector::scratchData_
private

Pre-allocated buffer to hand to the Fortran interface.

Definition at line 29 of file BufrIntCollector.h.


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