IODA Bundle
odc::Row_< ITERATOR, O, DATA, ITERATOR_PROXY > Class Template Reference

#include <IteratorProxy.h>

Public Member Functions

 Row_ (ITERATOR_PROXY &it)
 
DATA & operator[] (size_t i)
 
DATA * data ()
 
DATA & data (size_t i)
 
const DATA * data () const
 
const DATA & data (size_t i) const
 
int integer (size_t i)
 
std::string string (int i)
 
size_t dataOffset (size_t i) const
 
size_t dataSizeDoubles (size_t i) const
 
const core::MetaDatacolumns () const
 
void setNumberOfColumns (size_t n)
 
const core::MetaDatacolumns (const core::MetaData &md)
 
bool isNewDataset ()
 
bool isMissing (size_t i)
 
double missingValue (size_t i)
 
int setColumn (size_t index, const std::string &name, api::ColumnType type)
 
int setBitfieldColumn (size_t index, const std::string &name, api::ColumnType type, eckit::sql::BitfieldDef b)
 
void missingValue (size_t index, double v)
 
void writeHeader ()
 
void close ()
 
const std::map< std::string, std::string > & properties () const
 
template<typename T >
unsigned long pass1 (T b, const T e)
 
ITERATOR & operator* ()
 

Private Attributes

ITERATOR_PROXY * it_
 

Detailed Description

template<typename ITERATOR, typename O, typename DATA, typename ITERATOR_PROXY>
class odc::Row_< ITERATOR, O, DATA, ITERATOR_PROXY >

Definition at line 67 of file IteratorProxy.h.

Constructor & Destructor Documentation

◆ Row_()

template<typename ITERATOR , typename O , typename DATA , typename ITERATOR_PROXY >
odc::Row_< ITERATOR, O, DATA, ITERATOR_PROXY >::Row_ ( ITERATOR_PROXY &  it)
inline

Definition at line 73 of file IteratorProxy.h.

Member Function Documentation

◆ close()

template<typename ITERATOR , typename O , typename DATA , typename ITERATOR_PROXY >
void odc::Row_< ITERATOR, O, DATA, ITERATOR_PROXY >::close ( )
inline

Definition at line 110 of file IteratorProxy.h.

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

◆ columns() [1/2]

template<typename ITERATOR , typename O , typename DATA , typename ITERATOR_PROXY >
const core::MetaData& odc::Row_< ITERATOR, O, DATA, ITERATOR_PROXY >::columns ( ) const
inline

Definition at line 94 of file IteratorProxy.h.

Here is the caller graph for this function:

◆ columns() [2/2]

template<typename ITERATOR , typename O , typename DATA , typename ITERATOR_PROXY >
const core::MetaData& odc::Row_< ITERATOR, O, DATA, ITERATOR_PROXY >::columns ( const core::MetaData md)
inline

Definition at line 96 of file IteratorProxy.h.

◆ data() [1/4]

template<typename ITERATOR , typename O , typename DATA , typename ITERATOR_PROXY >
DATA* odc::Row_< ITERATOR, O, DATA, ITERATOR_PROXY >::data ( )
inline

Definition at line 77 of file IteratorProxy.h.

Here is the caller graph for this function:

◆ data() [2/4]

template<typename ITERATOR , typename O , typename DATA , typename ITERATOR_PROXY >
const DATA* odc::Row_< ITERATOR, O, DATA, ITERATOR_PROXY >::data ( ) const
inline

Definition at line 80 of file IteratorProxy.h.

Here is the caller graph for this function:

◆ data() [3/4]

template<typename ITERATOR , typename O , typename DATA , typename ITERATOR_PROXY >
DATA& odc::Row_< ITERATOR, O, DATA, ITERATOR_PROXY >::data ( size_t  i)
inline

Definition at line 78 of file IteratorProxy.h.

Here is the caller graph for this function:

◆ data() [4/4]

template<typename ITERATOR , typename O , typename DATA , typename ITERATOR_PROXY >
const DATA& odc::Row_< ITERATOR, O, DATA, ITERATOR_PROXY >::data ( size_t  i) const
inline

Definition at line 81 of file IteratorProxy.h.

Here is the caller graph for this function:

◆ dataOffset()

template<typename ITERATOR , typename O , typename DATA , typename ITERATOR_PROXY >
size_t odc::Row_< ITERATOR, O, DATA, ITERATOR_PROXY >::dataOffset ( size_t  i) const
inline

Definition at line 91 of file IteratorProxy.h.

Here is the caller graph for this function:

◆ dataSizeDoubles()

template<typename ITERATOR , typename O , typename DATA , typename ITERATOR_PROXY >
size_t odc::Row_< ITERATOR, O, DATA, ITERATOR_PROXY >::dataSizeDoubles ( size_t  i) const
inline

Definition at line 92 of file IteratorProxy.h.

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

◆ integer()

template<typename ITERATOR , typename O , typename DATA , typename ITERATOR_PROXY >
int odc::Row_< ITERATOR, O, DATA, ITERATOR_PROXY >::integer ( size_t  i)
inline

Definition at line 83 of file IteratorProxy.h.

◆ isMissing()

template<typename ITERATOR , typename O , typename DATA , typename ITERATOR_PROXY >
bool odc::Row_< ITERATOR, O, DATA, ITERATOR_PROXY >::isMissing ( size_t  i)
inline

Definition at line 98 of file IteratorProxy.h.

Here is the caller graph for this function:

◆ isNewDataset()

template<typename ITERATOR , typename O , typename DATA , typename ITERATOR_PROXY >
bool odc::Row_< ITERATOR, O, DATA, ITERATOR_PROXY >::isNewDataset ( )
inline

Definition at line 97 of file IteratorProxy.h.

Here is the caller graph for this function:

◆ missingValue() [1/2]

template<typename ITERATOR , typename O , typename DATA , typename ITERATOR_PROXY >
double odc::Row_< ITERATOR, O, DATA, ITERATOR_PROXY >::missingValue ( size_t  i)
inline

Definition at line 99 of file IteratorProxy.h.

Here is the caller graph for this function:

◆ missingValue() [2/2]

template<typename ITERATOR , typename O , typename DATA , typename ITERATOR_PROXY >
void odc::Row_< ITERATOR, O, DATA, ITERATOR_PROXY >::missingValue ( size_t  index,
double  v 
)
inline

Definition at line 107 of file IteratorProxy.h.

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

◆ operator*()

template<typename ITERATOR , typename O , typename DATA , typename ITERATOR_PROXY >
ITERATOR& odc::Row_< ITERATOR, O, DATA, ITERATOR_PROXY >::operator* ( )
inline

Definition at line 116 of file IteratorProxy.h.

◆ operator[]()

template<typename ITERATOR , typename O , typename DATA , typename ITERATOR_PROXY >
DATA& odc::Row_< ITERATOR, O, DATA, ITERATOR_PROXY >::operator[] ( size_t  i)
inline

Definition at line 75 of file IteratorProxy.h.

◆ pass1()

template<typename ITERATOR , typename O , typename DATA , typename ITERATOR_PROXY >
template<typename T >
unsigned long odc::Row_< ITERATOR, O, DATA, ITERATOR_PROXY >::pass1 ( b,
const T  e 
)
inline

Definition at line 114 of file IteratorProxy.h.

Here is the caller graph for this function:

◆ properties()

template<typename ITERATOR , typename O , typename DATA , typename ITERATOR_PROXY >
const std::map<std::string, std::string>& odc::Row_< ITERATOR, O, DATA, ITERATOR_PROXY >::properties ( ) const
inline

Definition at line 112 of file IteratorProxy.h.

◆ setBitfieldColumn()

template<typename ITERATOR , typename O , typename DATA , typename ITERATOR_PROXY >
int odc::Row_< ITERATOR, O, DATA, ITERATOR_PROXY >::setBitfieldColumn ( size_t  index,
const std::string &  name,
api::ColumnType  type,
eckit::sql::BitfieldDef  b 
)
inline

Definition at line 104 of file IteratorProxy.h.

Here is the caller graph for this function:

◆ setColumn()

template<typename ITERATOR , typename O , typename DATA , typename ITERATOR_PROXY >
int odc::Row_< ITERATOR, O, DATA, ITERATOR_PROXY >::setColumn ( size_t  index,
const std::string &  name,
api::ColumnType  type 
)
inline

Definition at line 101 of file IteratorProxy.h.

Here is the caller graph for this function:

◆ setNumberOfColumns()

template<typename ITERATOR , typename O , typename DATA , typename ITERATOR_PROXY >
void odc::Row_< ITERATOR, O, DATA, ITERATOR_PROXY >::setNumberOfColumns ( size_t  n)
inline

Definition at line 95 of file IteratorProxy.h.

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

◆ string()

template<typename ITERATOR , typename O , typename DATA , typename ITERATOR_PROXY >
std::string odc::Row_< ITERATOR, O, DATA, ITERATOR_PROXY >::string ( int  i)
inline

Definition at line 84 of file IteratorProxy.h.

Here is the call graph for this function:

◆ writeHeader()

template<typename ITERATOR , typename O , typename DATA , typename ITERATOR_PROXY >
void odc::Row_< ITERATOR, O, DATA, ITERATOR_PROXY >::writeHeader ( )
inline

Definition at line 109 of file IteratorProxy.h.

Here is the caller graph for this function:

Member Data Documentation

◆ it_

template<typename ITERATOR , typename O , typename DATA , typename ITERATOR_PROXY >
ITERATOR_PROXY* odc::Row_< ITERATOR, O, DATA, ITERATOR_PROXY >::it_
private

Definition at line 118 of file IteratorProxy.h.


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