EnTT 4.0.0
Loading...
Searching...
No Matches
entt::meta_base Struct Reference

Opaque wrapper for base types. More...

#include <meta.hpp>

Inheritance diagram for entt::meta_base:
Collaboration diagram for entt::meta_base:

Public Member Functions

meta_type type () const noexcept
 Returns the meta type associated with the contained instance.
 meta_object () noexcept=default
 Default constructor.
 meta_object (const meta_ctx &area, const node_type &curr) noexcept
 Context aware constructor for meta objects.
Public Member Functions inherited from entt::meta_object< internal::meta_base_node >
 meta_object () noexcept=default
 Default constructor.
 operator bool () const noexcept
 Returns true if an object is valid, false otherwise.
bool operator== (const meta_object &other) const noexcept
 Checks if two objects refer to the same type.

Additional Inherited Members

Public Types inherited from entt::meta_object< internal::meta_base_node >
using node_type
 Underlying meta node type.
using size_type
 Unsigned integer type.

Detailed Description

Opaque wrapper for base types.

Definition at line 1018 of file meta.hpp.

Member Function Documentation

◆ meta_object()

entt::meta_object< Type >::meta_object ( const meta_ctx & area,
const node_type & curr )
inlinenoexcept

Context aware constructor for meta objects.

Parameters
areaThe context from which to search for meta types.
currThe underlying node with which to construct the instance.

Definition at line 808 of file meta.hpp.

◆ type()

meta_type entt::meta_base::type ( ) const
inlinenodiscardnoexcept

Returns the meta type associated with the contained instance.

Returns
The meta type associated with the contained instance.

Definition at line 1568 of file meta.hpp.


The documentation for this struct was generated from the following file: