|
opynsim
Unofficial C++ Documentation
|
#include <object.h>
Public Member Functions | |
| virtual | ~Object () noexcept=default |
| std::string | to_string () const |
| std::unique_ptr< Object > | clone () const |
| const Class & | klass () const |
| size_t | num_properties () const |
| const StringName & | property_name (size_t property_index) const |
| std::optional< size_t > | property_index (const StringName &property_name) const |
| const Variant * | property_default_value (const StringName &property_name) const |
| const Variant & | property_default_value_or_throw (const StringName &property_name) const |
| const Variant * | property_value (const StringName &property_name) const |
| const Variant & | property_value_or_throw (const StringName &property_name) const |
| bool | set_property_value (const StringName &property_name, const Variant &value) |
| void | set_property_value_or_throw (const StringName &property_name, const Variant &value) |
Static Public Member Functions | |
| static const Class & | klass_static () |
Protected Member Functions | |
| Object (const Class &) | |
| Object (const Object &)=default | |
| Object (Object &&) noexcept=default | |
| Object & | operator= (const Object &)=default |
| Object & | operator= (Object &&) noexcept=default |
| void | set_property_value_raw (const StringName &property_name, const Variant &value) |
Private Member Functions | |
| virtual std::string | impl_to_string () const |
| virtual std::unique_ptr< Object > | impl_clone () const =0 |
| virtual bool | impl_custom_property_setter (const StringName &property_name, const Variant &value) |
|
protecteddefaultnoexcept |
|
virtualdefaultnoexcept |
|
inline |
|
privatevirtual |
|
privatevirtual |
| size_t osc::Object::num_properties | ( | ) | const |
| const Variant * osc::Object::property_default_value | ( | const StringName & | property_name | ) | const |
| const Variant & osc::Object::property_default_value_or_throw | ( | const StringName & | property_name | ) | const |
| std::optional< size_t > osc::Object::property_index | ( | const StringName & | property_name | ) | const |
| const StringName & osc::Object::property_name | ( | size_t | property_index | ) | const |
| const Variant * osc::Object::property_value | ( | const StringName & | property_name | ) | const |
| const Variant & osc::Object::property_value_or_throw | ( | const StringName & | property_name | ) | const |
| bool osc::Object::set_property_value | ( | const StringName & | property_name, |
| const Variant & | value | ||
| ) |
| void osc::Object::set_property_value_or_throw | ( | const StringName & | property_name, |
| const Variant & | value | ||
| ) |
|
protected |
|
inline |