|
|
std::shared_ptr< teca_array_collection > | shared_from_this () |
| |
|
std::shared_ptr< teca_array_collection const > | shared_from_this () const |
| |
| virtual p_teca_dataset | new_instance () const override |
| | virtual constructor. return a new dataset of the same type. More...
|
| |
| virtual p_teca_dataset | new_copy (allocator alloc=allocator::malloc) const override |
| |
| virtual p_teca_dataset | new_shallow_copy () override |
| |
|
void | set_time (const std::vector< double > &vals) |
| |
|
int | get_time (std::vector< double > &vals) const |
| |
|
void | set_time (const p_teca_variant_array &vals) |
| |
|
int | get_time (p_teca_variant_array vals) const |
| |
|
void | set_time (const std::initializer_list< double > &l) |
| |
|
void | set_time (const double *vals) |
| |
|
int | get_time (double *vals) const |
| |
|
void | set_time (const double &val_1) |
| |
|
int | get_time (double &val_1) const |
| |
|
void | set_calendar (const std::vector< std::string > &vals) |
| |
|
int | get_calendar (std::vector< std::string > &vals) const |
| |
|
void | set_calendar (const p_teca_variant_array &vals) |
| |
|
int | get_calendar (p_teca_variant_array vals) const |
| |
|
void | set_calendar (const std::initializer_list< std::string > &l) |
| |
|
void | set_calendar (const std::string *vals) |
| |
|
int | get_calendar (std::string *vals) const |
| |
|
void | set_calendar (const std::string &val_1) |
| |
|
int | get_calendar (std::string &val_1) const |
| |
|
void | set_time_units (const std::vector< std::string > &vals) |
| |
|
int | get_time_units (std::vector< std::string > &vals) const |
| |
|
void | set_time_units (const p_teca_variant_array &vals) |
| |
|
int | get_time_units (p_teca_variant_array vals) const |
| |
|
void | set_time_units (const std::initializer_list< std::string > &l) |
| |
|
void | set_time_units (const std::string *vals) |
| |
|
int | get_time_units (std::string *vals) const |
| |
|
void | set_time_units (const std::string &val_1) |
| |
|
int | get_time_units (std::string &val_1) const |
| |
|
void | set_time_step (const std::vector< unsigned long > &vals) |
| |
|
int | get_time_step (std::vector< unsigned long > &vals) const |
| |
|
void | set_time_step (const p_teca_variant_array &vals) |
| |
|
int | get_time_step (p_teca_variant_array vals) const |
| |
|
void | set_time_step (const std::initializer_list< unsigned long > &l) |
| |
|
void | set_time_step (const unsigned long *vals) |
| |
|
int | get_time_step (unsigned long *vals) const |
| |
|
void | set_time_step (const unsigned long &val_1) |
| |
|
int | get_time_step (unsigned long &val_1) const |
| |
|
void | set_attributes (const std::vector< teca_metadata > &vals) |
| |
|
int | get_attributes (std::vector< teca_metadata > &vals) const |
| |
|
void | set_attributes (const p_teca_variant_array &vals) |
| |
|
int | get_attributes (p_teca_variant_array vals) const |
| |
|
void | set_attributes (const std::initializer_list< teca_metadata > &l) |
| |
|
void | set_attributes (const teca_metadata *vals) |
| |
|
int | get_attributes (teca_metadata *vals) const |
| |
|
void | set_attributes (const teca_metadata &val_1) |
| |
|
int | get_attributes (teca_metadata &val_1) const |
| |
| void | clear () |
| | reset to empty state More...
|
| |
| 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) |
| | declare a single array More...
|
| |
| void | set_default_allocator (allocator alloc) |
| | set the allocator to use with ::declare More...
|
| |
| 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) |
| | add or replace the named array, returns 0 on success. More...
|
| |
| int | remove (unsigned int i) |
| | remove the ith array More...
|
| |
| int | remove (const std::string &name) |
| | remove the named array More...
|
| |
| unsigned int | size () const noexcept |
| | Return the number of arrays. More...
|
| |
| p_teca_variant_array | get (unsigned int i) |
| | access an array by its id More...
|
| |
| const_p_teca_variant_array | get (unsigned int i) const |
| | access an array by its id More...
|
| |
| template<typename array_t > |
| std::shared_ptr< array_t > | get_as (unsigned int i) |
| | access a typed array by id More...
|
| |
| template<typename array_t > |
| std::shared_ptr< const array_t > | get_as (unsigned int i) const |
| | access a typed array by id More...
|
| |
| bool | has (const std::string &name) const |
| | test for array More...
|
| |
| template<typename array_t > |
| std::shared_ptr< array_t > | get_as (const std::string &name) |
| | access a typed array by name More...
|
| |
| template<typename array_t > |
| std::shared_ptr< const array_t > | get_as (const std::string &name) const |
| | access a typed array by name More...
|
| |
| p_teca_variant_array | get (const std::string &name) |
| | access an array by name More...
|
| |
| const_p_teca_variant_array | get (const std::string &name) const |
| | access an array by name More...
|
| |
| p_teca_variant_array | operator[] (const std::string &name) |
| | access an array by name More...
|
| |
| const_p_teca_variant_array | operator[] (const std::string &name) const |
| | access an array by name More...
|
| |
|
std::string & | get_name (unsigned int i) |
| |
|
const std::string & | get_name (unsigned int i) const |
| |
|
std::vector< std::string > & | get_names () |
| |
|
const std::vector< std::string > & | get_names () const |
| |
| std::string | get_class_name () const override |
| | Return the name of the class. More...
|
| |
| int | get_type_code () const override |
| | return an integer identifier uniquely naming the dataset type More...
|
| |
| void | copy (const const_p_teca_dataset &other, allocator alloc=allocator::malloc) override |
| |
| void | shallow_copy (const p_teca_dataset &other) override |
| |
| int | append (const const_p_teca_array_collection &other) |
| | append More...
|
| |
| int | shallow_append (const p_teca_array_collection &other) |
| | shallow append More...
|
| |
| void | swap (const p_teca_dataset &other) override |
| | swap More...
|
| |
| int | to_stream (teca_binary_stream &s) const override |
| | serialize the data to the given stream for I/O or communication More...
|
| |
| int | from_stream (teca_binary_stream &s) override |
| | serialize the data from the given stream for I/O or communication More...
|
| |
| int | to_stream (std::ostream &) const override |
| | stream to a human readable representation More...
|
| |
| virtual int | from_stream (teca_binary_stream &) |
| | deserialize the dataset from the given stream for I/O or communication More...
|
| |
| virtual int | from_stream (std::istream &) |
| | read from stream in a human readable representation More...
|
| |
| virtual int | set_request_indices (const std::string &request_key, const unsigned long ids[2]) |
| |
| virtual int | get_request_indices (unsigned long ids[2]) const |
| |
| virtual int | get_request_index (unsigned long &index) const |
| |
| virtual int | set_request_index (const std::string &request_key, unsigned long index) |
| |
| | operator bool () const noexcept |
| |
| virtual bool | empty () const noexcept |
| |
| virtual void | copy_metadata (const const_p_teca_dataset &other) |
| | copy metadata. always a deep copy. More...
|
| |
| virtual teca_metadata & | get_metadata () noexcept |
| | get the dataset metadata More...
|
| |
| virtual const teca_metadata & | get_metadata () const noexcept |
| | get the dataset metadata More...
|
| |
| virtual void | set_metadata (const teca_metadata &md) |
| | set the dataset metadata More...
|
| |
| virtual int | from_stream (std::istream &) |
| | read from stream in a human readable representation More...
|
| |
|
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 |
| |
A collection of named arrays.
The array collection is used internally in other mesh based datasets. It can also be used to process more general data where the arrays have differing lengths or a non-geometric association.