ocssw
V2022
|
#include <RuntimeAttributes.hpp>
Public Member Functions | |
bool | is_valid_attribute () const |
RuntimeAttribute ()=default | |
RuntimeAttribute (const std::string &name, DataProviderConfiguration &configuration) | |
const std::string & | get_name () const |
const std::string & | get_grp_name () const |
std::unique_ptr< RuntimeAttribute > | init_attribute (const std::string &name, DataProviderConfiguration &configuration) |
virtual | ~RuntimeAttribute ()=default |
![]() | |
Attribute ()=default | |
virtual | ~Attribute ()=default |
Attribute (const std::string &name, const ANY &value, size_t attr_len) | |
const std::string & | name () const |
const ANY & | a_value () const |
size_t | attr_len () const |
double | as_double () const |
std::string | as_string () const |
template<typename T > | |
std::vector< T > | as_vector () const |
Protected Member Functions | |
void | check_needs () |
Protected Attributes | |
std::unordered_map< std::string, focs::BaseVariable * > | available_products |
std::string | _run_time_name {} |
std::string | _group_name {} |
std::string | _product_name {} |
std::vector< std::string > | needed_products {} |
bool | are_needed_products_found {false} |
![]() | |
std::string | name_ |
ANY | a_value_ |
size_t | attr_len_ |
Additional Inherited Members | |
![]() | |
static Attribute | parse_attribute (const netCDF::NcAtt &att) |
static Attribute | parse_attribute (const rapidjson::Value::ConstMemberIterator &data) |
static Attribute | parse (const std::string &input) |
Detailed Description
Definition at line 10 of file RuntimeAttributes.hpp.
Constructor & Destructor Documentation
◆ RuntimeAttribute() [1/2]
|
default |
◆ RuntimeAttribute() [2/2]
RuntimeAttribute | ( | const std::string & | name, |
DataProviderConfiguration & | configuration | ||
) |
◆ ~RuntimeAttribute()
|
virtualdefault |
Member Function Documentation
◆ check_needs()
|
protected |
◆ get_grp_name()
|
inline |
Definition at line 26 of file RuntimeAttributes.hpp.
◆ get_name()
|
inline |
Definition at line 25 of file RuntimeAttributes.hpp.
◆ init_attribute()
std::unique_ptr<RuntimeAttribute> init_attribute | ( | const std::string & | name, |
DataProviderConfiguration & | configuration | ||
) |
◆ is_valid_attribute()
|
inline |
Definition at line 21 of file RuntimeAttributes.hpp.
Member Data Documentation
◆ _group_name
|
protected |
Definition at line 14 of file RuntimeAttributes.hpp.
◆ _product_name
|
protected |
Definition at line 15 of file RuntimeAttributes.hpp.
◆ _run_time_name
|
protected |
Definition at line 13 of file RuntimeAttributes.hpp.
◆ are_needed_products_found
|
protected |
Definition at line 17 of file RuntimeAttributes.hpp.
◆ available_products
|
protected |
Definition at line 12 of file RuntimeAttributes.hpp.
◆ needed_products
|
protected |
Definition at line 16 of file RuntimeAttributes.hpp.
The documentation for this class was generated from the following file:
- /gfs-oceanweb/web/ocssw/ocssw_src/include/focs/RuntimeAttributes.hpp