class ngraph::VariantWrapper¶
class ngraph::VariantWrapper<int64_t>¶
#include <variant.hpp>
template <>
class VariantWrapper<int64_t>: public ngraph::VariantImpl
{
public:
// construction
VariantWrapper(const value_type& value);
// methods
OPENVINO_RTTI("VariantWrapper<int64_t>");
std::string to_string() const;
};
Inherited Members¶
public:
// typedefs
typedef VT value_type;
// methods
OPENVINO_RTTI(typeid(VT).name());
const value_type& get() const;
value_type& get();
void set(const value_type& value);
class ngraph::VariantWrapper<std::string>¶
#include <variant.hpp>
template <>
class VariantWrapper<std::string>: public ngraph::VariantImpl
{
public:
// construction
VariantWrapper(const value_type& value);
// methods
OPENVINO_RTTI("VariantWrapper<std::string>");
std::string to_string() const;
};
Inherited Members¶
public:
// typedefs
typedef VT value_type;
// methods
OPENVINO_RTTI(typeid(VT).name());
const value_type& get() const;
value_type& get();
void set(const value_type& value);