Function expr

Synopsis

#include <include/flecs/addons/cpp/mixins/filter/builder_i.hpp>

Base & expr(const char *expr)

Description

No description yet.

Mentioned in

Source

Lines 21-29 in include/flecs/addons/cpp/mixins/filter/builder_i.hpp.

Base& expr(const char *expr) {
    ecs_check(m_expr_count == 0, ECS_INVALID_OPERATION,
        "filter_builder::expr() called more than once");
    m_desc->expr = expr;
    m_expr_count ++;
error:
    return *this;
}