IODA Bundle
Ingester::BufrCollectors Class Reference

Manager of collectors. More...

#include <BufrCollectors.h>

Public Member Functions

 BufrCollectors (unsigned int fortranFileId)
 
 ~BufrCollectors ()=default
 
void addMnemonicSets (const std::vector< BufrMnemonicSet > &mnemonicSets)
 Add collectors for mnemonic sets. More...
 
void addMnemonicSet (const BufrMnemonicSet &mnemonicSet)
 Add collector for a mnemonic set. More...
 
void collect ()
 Cause all the collectors to grab the next peaces of data from the BUFR file. More...
 
BufrDataMap finalize ()
 Finalize all the collectors and assemble the resulting data into a map. More...
 

Private Attributes

unsigned int fortranFileId_
 Fortran file ID for the open BUFR file. More...
 
std::vector< std::shared_ptr< BufrCollector > > collectors_
 Collection of all the collectors being managed. More...
 

Detailed Description

Manager of collectors.

Definition at line 25 of file BufrCollectors.h.

Constructor & Destructor Documentation

◆ BufrCollectors()

Ingester::BufrCollectors::BufrCollectors ( unsigned int  fortranFileId)
explicit

Definition at line 20 of file BufrCollectors.cpp.

◆ ~BufrCollectors()

Ingester::BufrCollectors::~BufrCollectors ( )
default

Member Function Documentation

◆ addMnemonicSet()

void Ingester::BufrCollectors::addMnemonicSet ( const BufrMnemonicSet mnemonicSet)

Add collector for a mnemonic set.

Parameters
mnemonicSetBufrMnemonicSet to use

Definition at line 33 of file BufrCollectors.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ addMnemonicSets()

void Ingester::BufrCollectors::addMnemonicSets ( const std::vector< BufrMnemonicSet > &  mnemonicSets)

Add collectors for mnemonic sets.

Parameters
mnemonicSetslist of BufrMnemonicSet to use

Definition at line 25 of file BufrCollectors.cpp.

Here is the call graph for this function:

◆ collect()

void Ingester::BufrCollectors::collect ( )

Cause all the collectors to grab the next peaces of data from the BUFR file.

Definition at line 45 of file BufrCollectors.cpp.

◆ finalize()

BufrDataMap Ingester::BufrCollectors::finalize ( )

Finalize all the collectors and assemble the resulting data into a map.

Definition at line 53 of file BufrCollectors.cpp.

Member Data Documentation

◆ collectors_

std::vector<std::shared_ptr<BufrCollector> > Ingester::BufrCollectors::collectors_
private

Collection of all the collectors being managed.

Definition at line 50 of file BufrCollectors.h.

◆ fortranFileId_

unsigned int Ingester::BufrCollectors::fortranFileId_
private

Fortran file ID for the open BUFR file.

Definition at line 47 of file BufrCollectors.h.


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