IODA Bundle
odc::core::Span Class Reference

#include <Span.h>

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

Public Member Functions

 Span (eckit::Offset start, eckit::Length length)
 
 ~Span ()
 
eckit::Offset offset () const
 
eckit::Length length () const
 
void extend (const Span &other)
 
void extend (eckit::Length length)
 
void addValue (const std::string &column, api::ColumnType t, double val)
 
void addValues (const std::string &column, const std::set< long > &vals)
 
void addValues (const std::string &column, const std::set< double > &vals)
 
void addValues (const std::string &column, const std::set< std::string > &vals)
 
template<typename T >
void visit (T &visitor)
 

Private Attributes

eckit::Offset start_
 
eckit::Length length_
 
std::map< std::string, std::set< long > > integerValues_
 
std::map< std::string, std::set< double > > realValues_
 
std::map< std::string, std::set< std::string > > stringValues_
 

Detailed Description

Definition at line 30 of file Span.h.

Constructor & Destructor Documentation

◆ Span()

odc::core::Span::Span ( eckit::Offset  start,
eckit::Length  length 
)

◆ ~Span()

odc::core::Span::~Span ( )

Definition at line 30 of file Span.cc.

Member Function Documentation

◆ addValue()

void odc::core::Span::addValue ( const std::string &  column,
api::ColumnType  t,
double  val 
)

Definition at line 47 of file Span.cc.

Here is the caller graph for this function:

◆ addValues() [1/3]

void odc::core::Span::addValues ( const std::string &  column,
const std::set< double > &  vals 
)

Definition at line 82 of file Span.cc.

◆ addValues() [2/3]

void odc::core::Span::addValues ( const std::string &  column,
const std::set< long > &  vals 
)

Definition at line 89 of file Span.cc.

Here is the caller graph for this function:

◆ addValues() [3/3]

void odc::core::Span::addValues ( const std::string &  column,
const std::set< std::string > &  vals 
)

Definition at line 96 of file Span.cc.

◆ extend() [1/2]

void odc::core::Span::extend ( const Span other)

Definition at line 32 of file Span.cc.

Here is the caller graph for this function:

◆ extend() [2/2]

void odc::core::Span::extend ( eckit::Length  length)

◆ length()

eckit::Length odc::core::Span::length ( ) const
inline

Definition at line 38 of file Span.h.

◆ offset()

eckit::Offset odc::core::Span::offset ( ) const
inline

Definition at line 37 of file Span.h.

◆ visit()

template<typename T >
void odc::core::Span::visit ( T &  visitor)
inline

Definition at line 51 of file Span.h.

Member Data Documentation

◆ integerValues_

std::map<std::string, std::set<long> > odc::core::Span::integerValues_
private

Definition at line 62 of file Span.h.

◆ length_

eckit::Length odc::core::Span::length_
private

Definition at line 60 of file Span.h.

◆ realValues_

std::map<std::string, std::set<double> > odc::core::Span::realValues_
private

Definition at line 63 of file Span.h.

◆ start_

eckit::Offset odc::core::Span::start_
private

Definition at line 59 of file Span.h.

◆ stringValues_

std::map<std::string, std::set<std::string> > odc::core::Span::stringValues_
private

Definition at line 64 of file Span.h.


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