class ov::Property¶
Overview¶
This class is used to bind property name with value type. More…
#include <properties.hpp>
template <typename T, PropertyMutability mutability_ = PropertyMutability::RW>
class Property: public util::BaseProperty< T, PropertyMutability::RW >
{
public:
// structs
template <typename V>
struct Forward;
// methods
template <typename... Args>
std::pair<std::string, Any> operator () (Args&&... args) const;
};
// direct descendants
struct Priorities;
Detailed Documentation¶
This class is used to bind property name with value type.
Parameters:
T |
type of value used to set or get property |
Methods¶
template <typename... Args>
std::pair<std::string, Any> operator () (Args&&... args) const
Constructs property.
Parameters:
Args |
property constructor arguments types |
args |
property constructor arguments |
Returns:
Pair of name and type erased value.