Flecs v4.0
A fast entity component system (ECS) for C & C++
Loading...
Searching...
No Matches
flecs::term_ref_builder_i< Base > Struct Template Referenceabstract

Term identifier builder. More...

#include <builder_i.hpp>

Inheritance diagram for flecs::term_ref_builder_i< Base >:
[legend]

Public Member Functions

Base & self ()
 
Base & id (flecs::entity_t id)
 
Base & entity (flecs::entity_t entity)
 
Base & name (const char *name)
 
Base & var (const char *var_name)
 
Base & flags (flecs::flags32_t flags)
 

Public Attributes

ecs_term_ref_tterm_ref_
 

Protected Member Functions

virtual flecs::world_t * world_v ()=0
 
void assert_term_ref ()
 

Detailed Description

template<typename Base>
struct flecs::term_ref_builder_i< Base >

Term identifier builder.

A term identifier describes a single identifier in a term. Identifier descriptions can reference entities by id, name or by variable, which means the entity will be resolved when the term is evaluated.

Definition at line 21 of file builder_i.hpp.

Constructor & Destructor Documentation

◆ term_ref_builder_i()

template<typename Base >
flecs::term_ref_builder_i< Base >::term_ref_builder_i ( )
inline

Definition at line 22 of file builder_i.hpp.

◆ ~term_ref_builder_i()

template<typename Base >
virtual flecs::term_ref_builder_i< Base >::~term_ref_builder_i ( )
inlinevirtual

Definition at line 24 of file builder_i.hpp.

Member Function Documentation

◆ assert_term_ref()

template<typename Base >
void flecs::term_ref_builder_i< Base >::assert_term_ref ( )
inlineprotected

Definition at line 82 of file builder_i.hpp.

◆ entity()

template<typename Base >
Base & flecs::term_ref_builder_i< Base >::entity ( flecs::entity_t entity)
inline

Definition at line 48 of file builder_i.hpp.

◆ flags()

template<typename Base >
Base & flecs::term_ref_builder_i< Base >::flags ( flecs::flags32_t flags)
inline

Definition at line 71 of file builder_i.hpp.

◆ id()

template<typename Base >
Base & flecs::term_ref_builder_i< Base >::id ( flecs::entity_t id)
inline

Definition at line 34 of file builder_i.hpp.

◆ name()

template<typename Base >
Base & flecs::term_ref_builder_i< Base >::name ( const char * name)
inline

Definition at line 55 of file builder_i.hpp.

◆ self()

template<typename Base >
Base & flecs::term_ref_builder_i< Base >::self ( )
inline

Definition at line 27 of file builder_i.hpp.

◆ var()

template<typename Base >
Base & flecs::term_ref_builder_i< Base >::var ( const char * var_name)
inline

Definition at line 63 of file builder_i.hpp.

Member Data Documentation

◆ term_ref_

template<typename Base >
ecs_term_ref_t* flecs::term_ref_builder_i< Base >::term_ref_

Definition at line 77 of file builder_i.hpp.


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