diff --git a/core/teca_metadata.h b/core/teca_metadata.h index ff8187866..4272af62a 100644 --- a/core/teca_metadata.h +++ b/core/teca_metadata.h @@ -131,6 +131,10 @@ class teca_metadata int get(const std::string &name, T *val, unsigned int n) const; + template + int get(const std::string &name, T (&val)[N]) const + { return this->get(name, val, N); } + // copy prop values from the named prop into the passed in vector. // return 0 if successful template