Skip to content
Flecs v4.1
entity_view.inl
Go to the documentation of this file.
1/**
2 * @file addons/cpp/mixins/doc/entity_view.inl
3 * @brief Doc entity view mixin.
4 */
5
6/** Get human-readable name.
7 *
8 * @see ecs_doc_get_name()
9 * @see flecs::doc::get_name()
10 * @see flecs::entity_builder::set_doc_name()
11 *
12 * @memberof flecs::entity_view
13 * @ingroup cpp_addons_doc
14 */
15const char* doc_name() const {
17}
18
19/** Get brief description.
20 *
21 * @see ecs_doc_get_brief()
22 * @see flecs::doc::get_brief()
23 * @see flecs::entity_builder::set_doc_brief()
24 *
25 * @memberof flecs::entity_view
26 * @ingroup cpp_addons_doc
27 */
28const char* doc_brief() const {
30}
31
32/** Get detailed description.
33 *
34 * @see ecs_doc_get_detail()
35 * @see flecs::doc::get_detail()
36 * @see flecs::entity_builder::set_doc_detail()
37 *
38 * @memberof flecs::entity_view
39 * @ingroup cpp_addons_doc
40 */
41const char* doc_detail() const {
43}
44
45/** Get link to external documentation.
46 *
47 * @see ecs_doc_get_link()
48 * @see flecs::doc::get_link()
49 * @see flecs::entity_builder::set_doc_link()
50 *
51 * @memberof flecs::entity_view
52 * @ingroup cpp_addons_doc
53 */
54const char* doc_link() const {
56}
57
58/** Get color.
59 *
60 * @see ecs_doc_get_color()
61 * @see flecs::doc::get_color()
62 * @see flecs::entity_builder::set_doc_color()
63 *
64 * @memberof flecs::entity_view
65 * @ingroup cpp_addons_doc
66 */
67const char* doc_color() const {
69}
70
71/** Get UUID.
72 *
73 * @see ecs_doc_get_uuid()
74 * @see flecs::doc::get_uuid()
75 * @see flecs::entity_builder::set_doc_uuid()
76 *
77 * @memberof flecs::entity_view
78 * @ingroup cpp_addons_doc
79 */
80const char* doc_uuid() const {
82}
FLECS_API const char * ecs_doc_get_name(const ecs_world_t *world, ecs_entity_t entity)
Get human-readable name from entity.
FLECS_API const char * ecs_doc_get_color(const ecs_world_t *world, ecs_entity_t entity)
Get color from entity.
FLECS_API const char * ecs_doc_get_uuid(const ecs_world_t *world, ecs_entity_t entity)
Get UUID from entity.
FLECS_API const char * ecs_doc_get_link(const ecs_world_t *world, ecs_entity_t entity)
Get link to external documentation from entity.
FLECS_API const char * ecs_doc_get_detail(const ecs_world_t *world, ecs_entity_t entity)
Get detailed description from entity.
FLECS_API const char * ecs_doc_get_brief(const ecs_world_t *world, ecs_entity_t entity)
Get brief description from entity.
const char * doc_name() const
Get human-readable name.
const char * doc_link() const
Get link to external documentation.
const char * doc_uuid() const
Get UUID.
const char * doc_detail() const
Get detailed description.
const char * doc_brief() const
Get brief description.
const char * doc_color() const
Get color.
flecs::id_t id_
The raw ID value.
Definition decl.hpp:154
flecs::world_t * world_
World is optional, but guarantees that entity identifiers extracted from the ID are valid.
Definition decl.hpp:152