Skip to content
Flecs v4.1
flecs::parsed_script Struct Reference

Public Member Functions

 parsed_script (ecs_script_t *script=nullptr)
 parsed_script (const parsed_script &)=delete
parsed_script & operator= (const parsed_script &)=delete
 parsed_script (parsed_script &&other) noexcept
parsed_script & operator= (parsed_script &&other) noexcept
 operator bool () const
int eval (const ecs_script_eval_desc_t *desc=nullptr, ecs_script_eval_result_t *result=nullptr) const

Detailed Description

Definition at line 23 of file decl.hpp.

Constructor & Destructor Documentation

◆ parsed_script() [1/2]

flecs::parsed_script::parsed_script ( ecs_script_t * script = nullptr)
inlineexplicit

Definition at line 24 of file decl.hpp.

◆ parsed_script() [2/2]

flecs::parsed_script::parsed_script ( parsed_script && other)
inlinenoexcept

Definition at line 30 of file decl.hpp.

◆ ~parsed_script()

flecs::parsed_script::~parsed_script ( )
inline

Definition at line 47 of file decl.hpp.

Member Function Documentation

◆ eval()

int flecs::parsed_script::eval ( const ecs_script_eval_desc_t * desc = nullptr,
ecs_script_eval_result_t * result = nullptr ) const
inline

Definition at line 57 of file decl.hpp.

◆ operator bool()

flecs::parsed_script::operator bool ( ) const
inlineexplicit

Definition at line 53 of file decl.hpp.

◆ operator=()

parsed_script & flecs::parsed_script::operator= ( parsed_script && other)
inlinenoexcept

Definition at line 36 of file decl.hpp.


The documentation for this struct was generated from the following file:
  • include/flecs/addons/cpp/mixins/script/decl.hpp