ocssw
V2022
|
#include <Product.hpp>
Public Member Functions | |
Attribute (const std::string &name, AttributeType value) | |
const std::string & | name () const |
const AttributeType & | value () const |
const AttributeType & | operator* () 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 (const std::string &input) |
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 39 of file Product.hpp.
Constructor & Destructor Documentation
◆ Attribute()
|
inline |
Definition at line 41 of file Product.hpp.
Member Function Documentation
◆ as_double()
|
inline |
Definition at line 47 of file Product.hpp.
◆ as_string()
|
inline |
Definition at line 51 of file Product.hpp.
◆ as_vector()
|
inline |
Definition at line 56 of file Product.hpp.
◆ name()
|
inline |
Definition at line 43 of file Product.hpp.
◆ operator*()
|
inline |
Definition at line 45 of file Product.hpp.
◆ parse()
|
inlinestatic |
Definition at line 85 of file Product.hpp.
◆ value()
|
inline |
Definition at line 44 of file Product.hpp.
Friends And Related Function Documentation
◆ operator<
Definition at line 66 of file Product.hpp.
◆ operator<<
Definition at line 60 of file Product.hpp.
◆ operator== [1/2]
Definition at line 78 of file Product.hpp.
◆ operator== [2/2]
|
friend |
Definition at line 74 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