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

#include <teca_array_collection.h>

Public Member Functions

void clear ()
 
template<typename nT , typename aT , typename... oT>
void declare_set (nT &&a_name, aT a_type, oT &&...args)
 
template<typename nT , typename aT >
void declare (nT &&a_name, aT a_type)
 
int append (p_teca_variant_array array)
 
int append (const std::string &name, p_teca_variant_array array)
 
int set (unsigned int i, p_teca_variant_array array)
 
int set (const std::string &name, p_teca_variant_array array)
 
int remove (unsigned int i)
 
int remove (const std::string &name)
 
unsigned int size () const noexcept
 
p_teca_variant_array get (unsigned int i)
 
const_p_teca_variant_array get (unsigned int i) const
 
bool has (const std::string &name) const
 
p_teca_variant_array get (const std::string &name)
 
const_p_teca_variant_array get (const std::string &name) const
 
p_teca_variant_array operator[] (const std::string &name)
 
const_p_teca_variant_array 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_array_collection &other)
 
void shallow_copy (const p_teca_array_collection &other)
 
int append (const const_p_teca_array_collection &other)
 
int shallow_append (const p_teca_array_collection &other)
 
void swap (p_teca_array_collection &other)
 
int to_stream (teca_binary_stream &s) const
 
int from_stream (teca_binary_stream &s)
 
int to_stream (std::ostream &) const
 

Static Public Member Functions

static p_teca_array_collection New ()
 

Protected Member Functions

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

Detailed Description

A collection of named arrays


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