ocssw
V2022
|
#include <Product.hpp>
Public Member Functions | |
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 |
Static Public Member Functions | |
static Attribute | parse_attribute (const netCDF::NcAtt &att) |
static Attribute | parse_attribute (const rapidjson::Value::ConstMemberIterator &data) |
static Attribute | parse (const std::string &input) |
Protected Attributes | |
std::string | name_ |
ANY | a_value_ |
size_t | attr_len_ |
Friends | |
std::ostream & | operator<< (std::ostream &out, const Attribute &attribute) |
bool | operator< (const Attribute &left, const Attribute &right) |
bool | operator== (const Attribute &left, const std::string &name) |
bool | operator== (const Attribute &left, const Attribute &right) |
Detailed Description
Definition at line 193 of file Product.hpp.
Constructor & Destructor Documentation
◆ Attribute() [1/2]
|
default |
◆ ~Attribute()
|
virtualdefault |
◆ Attribute() [2/2]
|
inline |
Definition at line 197 of file Product.hpp.
Member Function Documentation
◆ a_value()
Definition at line 199 of file Product.hpp.
◆ as_double()
|
inline |
Definition at line 203 of file Product.hpp.
◆ as_string()
|
inline |
Definition at line 207 of file Product.hpp.
◆ as_vector()
|
inline |
Definition at line 212 of file Product.hpp.
◆ attr_len()
|
inline |
Definition at line 200 of file Product.hpp.
◆ name()
|
inline |
Definition at line 198 of file Product.hpp.
◆ parse()
|
inlinestatic |
Definition at line 241 of file Product.hpp.
◆ parse_attribute() [1/2]
◆ parse_attribute() [2/2]
Friends And Related Function Documentation
◆ operator<
Definition at line 222 of file Product.hpp.
◆ operator<<
Definition at line 216 of file Product.hpp.
◆ operator== [1/2]
Definition at line 234 of file Product.hpp.
◆ operator== [2/2]
|
friend |
Definition at line 230 of file Product.hpp.
Member Data Documentation
◆ a_value_
|
protected |
Definition at line 281 of file Product.hpp.
◆ attr_len_
|
protected |
Definition at line 283 of file Product.hpp.
◆ name_
|
protected |
Definition at line 279 of file Product.hpp.
The documentation for this class was generated from the following file:
- /gfs-oceanweb/web/ocssw/ocssw_src/include/focs/Product.hpp