IODA Bundle
odc::core::TablesReader Class Reference

#include <TablesReader.h>

Inheritance diagram for odc::core::TablesReader:
[legend]
Collaboration diagram for odc::core::TablesReader:
[legend]

Public Types

using iterator = ReadTablesIterator
 

Public Member Functions

 TablesReader (eckit::DataHandle &dh)
 
 TablesReader (eckit::DataHandle *dh)
 
 TablesReader (const eckit::PathName &path)
 
iterator begin ()
 
iterator end ()
 

Private Member Functions

bool ensureTable (long idx)
 
TablegetTable (long idx)
 

Private Attributes

std::mutex m_
 
std::vector< std::unique_ptr< Table > > tables_
 
ThreadSharedDataHandle dh_
 

Friends

class ReadTablesIterator
 

Detailed Description

Definition at line 77 of file TablesReader.h.

Member Typedef Documentation

◆ iterator

Constructor & Destructor Documentation

◆ TablesReader() [1/3]

odc::core::TablesReader::TablesReader ( eckit::DataHandle &  dh)

Definition at line 82 of file TablesReader.cc.

◆ TablesReader() [2/3]

odc::core::TablesReader::TablesReader ( eckit::DataHandle *  dh)

Definition at line 86 of file TablesReader.cc.

◆ TablesReader() [3/3]

odc::core::TablesReader::TablesReader ( const eckit::PathName &  path)

Member Function Documentation

◆ begin()

TablesReader::iterator odc::core::TablesReader::begin ( )

Definition at line 94 of file TablesReader.cc.

Here is the caller graph for this function:

◆ end()

TablesReader::iterator odc::core::TablesReader::end ( )

Definition at line 98 of file TablesReader.cc.

Here is the caller graph for this function:

◆ ensureTable()

bool odc::core::TablesReader::ensureTable ( long  idx)
private

Definition at line 102 of file TablesReader.cc.

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

◆ getTable()

Table & odc::core::TablesReader::getTable ( long  idx)
private

Definition at line 131 of file TablesReader.cc.

Here is the caller graph for this function:

Friends And Related Function Documentation

◆ ReadTablesIterator

friend class ReadTablesIterator
friend

Definition at line 94 of file TablesReader.h.

Member Data Documentation

◆ dh_

ThreadSharedDataHandle odc::core::TablesReader::dh_
private

Definition at line 106 of file TablesReader.h.

◆ m_

std::mutex odc::core::TablesReader::m_
private

Definition at line 101 of file TablesReader.h.

◆ tables_

std::vector<std::unique_ptr<Table> > odc::core::TablesReader::tables_
private

Definition at line 104 of file TablesReader.h.


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