class ov::IndirectScalarValueAccessor

Overview

#include <attribute_adapter.hpp>

template <typename AT, typename VAT>
class IndirectScalarValueAccessor: public ov::ValueAccessor
{
public:
    // construction

    IndirectScalarValueAccessor(AT& ref);

    // methods

    virtual const VAT& get();
    virtual void set(const VAT& value);
    void set_as_any(const ov::Any& x);
};

// direct descendants

template <>
class AttributeAdapter<float>;

template <>
class AttributeAdapter<int16_t>;

template <>
class AttributeAdapter<int32_t>;

template <>
class AttributeAdapter<int8_t>;

template <>
class AttributeAdapter<uint16_t>;

template <>
class AttributeAdapter<uint32_t>;

template <>
class AttributeAdapter<uint64_t>;

template <>
class AttributeAdapter<uint8_t>;

Inherited Members

public:
    // methods

    virtual const VAT& get() = 0;
    virtual void set(const VAT& value) = 0;
    void set_as_any(const ov::Any& x);

Detailed Documentation

Methods

virtual const VAT& get()

Returns the value.

virtual void set(const VAT& value)

Sets the value.