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

#include <teca_table_collection.h>

Public Member Functions

void clear ()
 
template<typename nT , typename... oT>
void declare_set (nT &&a_name, oT &&...args)
 
template<typename nT >
void declare (nT &&a_name)
 
int append (p_teca_table array)
 
int append (const std::string &name, p_teca_table array)
 
int set (unsigned int i, p_teca_table array)
 
int set (const std::string &name, p_teca_table array)
 
int remove (unsigned int i)
 
int remove (const std::string &name)
 
unsigned int size () const noexcept
 
p_teca_table get (unsigned int i)
 
const_p_teca_table get (unsigned int i) const
 
bool has (const std::string &name) const
 
p_teca_table get (const std::string &name)
 
const_p_teca_table get (const std::string &name) const
 
p_teca_table operator[] (const std::string &name)
 
const_p_teca_table operator[] (const std::string &name) const
 
std::string & get_name (unsigned int i)
 
const std::string & get_name (unsigned int i) const
 
std::string get_class_name () const
 
int get_type_code () const
 
void copy (const const_p_teca_table_collection &other)
 
void shallow_copy (const p_teca_table_collection &other)
 
void swap (p_teca_table_collection &other)
 
int to_stream (teca_binary_stream &s) const
 
int from_stream (teca_binary_stream &s)
 
int to_stream (std::ostream &) const
 
int from_stream (std::istream &)
 

Static Public Member Functions

static p_teca_table_collection New ()
 

Protected Member Functions

 teca_table_collection (const teca_table_collection &)=delete
 
 teca_table_collection (const teca_table_collection &&)=delete
 
void operator= (const teca_table_collection &)=delete
 
void operator= (const teca_table_collection &&)=delete
 
void declare_set ()
 

Detailed Description

A collection of named tables


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