15 [[nodiscard]]
auto create_runtime_object(
const rttr::type& type) -> std::shared_ptr<object>;
21 [[nodiscard]]
auto create_database_object(
const rttr::type& type,
22 bool addToDatabase =
true) -> std::shared_ptr<database_object>;
25 [[nodiscard]]
auto create_runtime_object() -> std::shared_ptr<T>;
28 [[nodiscard]]
auto create_database_object(
bool addToDatabase =
true) -> std::shared_ptr<T>;
30 auto add_reference_to_object(std::shared_ptr<database_object>&
object) -> void;
32 auto remove_object(
const std::shared_ptr<object>&
object) -> std::vector<std::shared_ptr<sbk::core::object>>::iterator;
34 auto destroy_all() -> void;
36 [[nodiscard]]
auto get_objects() -> std::vector<std::shared_ptr<object>>&;
37 [[nodiscard]]
auto get_objects()
const ->
const std::vector<std::shared_ptr<object>>&;
38 [[nodiscard]]
auto get_objects_size()
const -> std::size_t;
41 std::vector<std::shared_ptr<object>> m_objects;