struct ov::PropertyName

Overview

This class is used to return property name and its mutability attribute. More…

#include <properties.hpp>

struct PropertyName: public std::string
{
    // construction

    PropertyName(
        const std::string& str,
        PropertyMutability mutability = PropertyMutability::RW
        );

    // methods

    bool is_mutable() const;
};

Detailed Documentation

This class is used to return property name and its mutability attribute.

Construction

PropertyName(
    const std::string& str,
    PropertyMutability mutability = PropertyMutability::RW
    )

Constructs property name object.

Parameters:

str

property name

mutability

property mutability

Methods

bool is_mutable() const

check property mutability

Returns:

true if property is mutable