Skip to main content

get_attr

Method of DynamicObject.

Overloads

NameDescription
get_attr(const string attr_name) -> ObjectGets the value of the specified attribute.
get_attr(const string attr_name) -> const ObjectGets the value of the specified attribute.

get_attr(const string attr_name) -> Object

Gets the value of the specified attribute.

Parameters

  • attr_name: The name of the attribute to get.

get_attr(const string attr_name) -> const Object

Gets the value of the specified attribute.

Parameters

  • attr_name: The name of the attribute to get.