Function parent

Synopsis

#include <src/entt/meta/meta.hpp>

meta_type parent() const noexcept

Description

Returns the meta type to which a meta object belongs.

Return
The meta type to which the meta object belongs.

Source

Lines 1584-1586 in src/entt/meta/meta.hpp. Line 632 in src/entt/meta/meta.hpp.

[[nodiscard]] inline meta_type meta_base::parent() const ENTT_NOEXCEPT {
    return node->parent;
}





Add Discussion

Log in to comment