TECA
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
teca_cf_time_axis_data Class Reference

#include <teca_cf_time_axis_data.h>

Inheritance diagram for teca_cf_time_axis_data:
teca_dataset

Public Types

using elem_t = std::pair< p_teca_variant_array, teca_metadata >
 

Public Member Functions

std::shared_ptr< teca_cf_time_axis_datashared_from_this ()
 
std::shared_ptr< teca_cf_time_axis_data const > shared_from_this () const
 
virtual p_teca_dataset new_instance () const override
 
virtual p_teca_dataset new_copy () const override
 
virtual p_teca_dataset new_shallow_copy () override
 
void transfer (unsigned long file_id, elem_t &&data)
 
elem_t & get (unsigned long file_id)
 
const elem_t & get (unsigned long file_id) const
 
void append (const const_p_teca_dataset &other)
 
void shallow_append (const const_p_teca_dataset &other)
 
std::string get_class_name () const override
 
int get_type_code () const override
 
 operator bool () const noexcept
 
bool empty () const noexcept override
 
int to_stream (teca_binary_stream &) const override
 
int from_stream (teca_binary_stream &) override
 
int to_stream (std::ostream &) const override
 
int from_stream (std::istream &) override
 
void copy (const const_p_teca_dataset &other) override
 
void copy (const const_p_teca_cf_time_axis_data &other, unsigned long first_row, unsigned long last_row)
 
void shallow_copy (const p_teca_dataset &other) override
 
void swap (p_teca_dataset &other) override
 
- Public Member Functions inherited from teca_dataset
void set_index_request_key (const std::vector< std::string > &vals)
 
int get_index_request_key (std::vector< std::string > &vals) const
 
void set_index_request_key (const p_teca_variant_array &vals)
 
int get_index_request_key (p_teca_variant_array vals) const
 
void set_index_request_key (const std::initializer_list< std::string > &l)
 
void set_index_request_key (const std::string *vals)
 
int get_index_request_key (std::string *vals) const
 
void set_index_request_key (const std::string &val_1)
 
int get_index_request_key (std::string &val_1) const
 
virtual int get_request_index (long &val) const
 
virtual int set_request_index (const std::string &key, long val)
 
virtual int set_request_index (long val)
 
 operator bool () const noexcept
 
virtual void copy_metadata (const const_p_teca_dataset &other)
 
virtual teca_metadataget_metadata () noexcept
 
virtual const teca_metadataget_metadata () const noexcept
 
virtual void set_metadata (const teca_metadata &md)
 

Static Public Member Functions

static p_teca_cf_time_axis_data New ()
 
static teca_metadataget_metadata (elem_t &elem)
 
static const teca_metadataget_metadata (const elem_t &elem)
 
static p_teca_variant_array get_variant_array (elem_t &elem)
 
static const_p_teca_variant_array get_variant_array (const elem_t &elem)
 

Protected Member Functions

 teca_cf_time_axis_data (const teca_cf_time_axis_data &other)=delete
 
 teca_cf_time_axis_data (teca_cf_time_axis_data &&other)=delete
 
teca_cf_time_axis_dataoperator= (const teca_cf_time_axis_data &other)=delete
 
- Protected Member Functions inherited from teca_dataset
 teca_dataset (const teca_dataset &)=delete
 
 teca_dataset (const teca_dataset &&)=delete
 
void operator= (const p_teca_dataset &other)=delete
 
void operator= (p_teca_dataset &&other)=delete
 

Additional Inherited Members

- Protected Attributes inherited from teca_dataset
teca_metadatametadata
 

Detailed Description

A dataset used to read NetCDF CF2 time and metadata in parallel


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