IODA Bundle
odc::sql::TODATable< READER > Class Template Reference

#include <TODATable.h>

Inheritance diagram for odc::sql::TODATable< READER >:
[legend]
Collaboration diagram for odc::sql::TODATable< READER >:
[legend]

Public Member Functions

 TODATable (eckit::sql::SQLDatabase &owner, const std::string &path, const std::string &name)
 
 TODATable (eckit::sql::SQLDatabase &owner, eckit::DataHandle &dh)
 
virtual ~TODATable ()
 
const READER & oda () const
 

Public Attributes

READER oda_
 

Protected Member Functions

 TODATable (eckit::sql::SQLDatabase &owner, const std::string &path, const std::string &name, READER &&oda)
 

Private Member Functions

void populateMetaData ()
 
virtual bool hasColumn (const std::string &) const override
 
virtual const eckit::sql::SQLColumn & column (const std::string &) const override
 
virtual eckit::sql::SQLTableIterator * iterator (const std::vector< std::reference_wrapper< const eckit::sql::SQLColumn >> &, std::function< void(eckit::sql::SQLTableIterator &)> metadataUpdateCallback) const override
 
virtual void print (std::ostream &s) const override
 

Detailed Description

template<typename READER>
class odc::sql::TODATable< READER >

Definition at line 30 of file TODATable.h.

Constructor & Destructor Documentation

◆ TODATable() [1/3]

template<typename READER >
odc::sql::TODATable< READER >::TODATable ( eckit::sql::SQLDatabase &  owner,
const std::string &  path,
const std::string &  name 
)

◆ TODATable() [2/3]

template<typename READER >
odc::sql::TODATable< READER >::TODATable ( eckit::sql::SQLDatabase &  owner,
eckit::DataHandle &  dh 
)

◆ ~TODATable()

template<typename READER >
odc::sql::TODATable< READER >::~TODATable
virtual

Definition at line 76 of file TODATable.cc.

◆ TODATable() [3/3]

template<typename READER >
odc::sql::TODATable< READER >::TODATable ( eckit::sql::SQLDatabase &  owner,
const std::string &  path,
const std::string &  name,
READER &&  oda 
)
protected

Member Function Documentation

◆ column()

template<typename READER >
const SQLColumn & odc::sql::TODATable< READER >::column ( const std::string &  name) const
overrideprivatevirtual

Definition at line 196 of file TODATable.cc.

◆ hasColumn()

template<typename READER >
bool odc::sql::TODATable< READER >::hasColumn ( const std::string &  name) const
overrideprivatevirtual

Definition at line 167 of file TODATable.cc.

◆ iterator()

template<typename READER >
SQLTableIterator * odc::sql::TODATable< READER >::iterator ( const std::vector< std::reference_wrapper< const eckit::sql::SQLColumn >> &  ,
std::function< void(eckit::sql::SQLTableIterator &)>  metadataUpdateCallback 
) const
overrideprivatevirtual

Definition at line 223 of file TODATable.cc.

◆ oda()

template<typename READER >
const READER & odc::sql::TODATable< READER >::oda

Definition at line 79 of file TODATable.cc.

◆ populateMetaData()

template<typename READER >
void odc::sql::TODATable< READER >::populateMetaData
private

Definition at line 85 of file TODATable.cc.

Here is the call graph for this function:

◆ print()

template<typename READER >
void odc::sql::TODATable< READER >::print ( std::ostream &  s) const
overrideprivatevirtual

Definition at line 229 of file TODATable.cc.

Member Data Documentation

◆ oda_

template<typename READER >
READER odc::sql::TODATable< READER >::oda_

Definition at line 61 of file TODATable.h.


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