Flecs v3.2
A fast entity component system (ECS) for C & C++
Loading...
Searching...
No Matches
flecs::_::node_builder< T, TDesc, Base, IBuilder, Components > Struct Template Reference
Inheritance diagram for flecs::_::node_builder< T, TDesc, Base, IBuilder, Components >:
[legend]

Public Types

using IBase = IBuilder<Base, Components ...>
 

Public Member Functions

 node_builder (flecs::world_t *world, const char *name=nullptr)
 
template<typename Func >
iter (Func &&func)
 
template<typename Func >
each (Func &&func)
 

Protected Member Functions

flecs::world_t * world_v () override
 

Protected Attributes

TDesc m_desc
 
flecs::world_t * m_world
 
bool m_instanced
 

Detailed Description

template<typename T, typename TDesc, typename Base, template< typename IBase, typename ... Components > class IBuilder, typename ... Components>
struct flecs::_::node_builder< T, TDesc, Base, IBuilder, Components >

Definition at line 15 of file node_builder.hpp.

Member Typedef Documentation

◆ IBase

template<typename T , typename TDesc , typename Base , template< typename IBase, typename ... Components > class IBuilder, typename ... Components>
using flecs::_::node_builder< T, TDesc, Base, IBuilder, Components >::IBase = IBuilder<Base, Components ...>

Definition at line 17 of file node_builder.hpp.

Constructor & Destructor Documentation

◆ node_builder()

template<typename T , typename TDesc , typename Base , template< typename IBase, typename ... Components > class IBuilder, typename ... Components>
flecs::_::node_builder< T, TDesc, Base, IBuilder, Components >::node_builder ( flecs::world_t * world,
const char * name = nullptr )
inlineexplicit

Definition at line 20 of file node_builder.hpp.

Member Function Documentation

◆ each()

template<typename T , typename TDesc , typename Base , template< typename IBase, typename ... Components > class IBuilder, typename ... Components>
template<typename Func >
T flecs::_::node_builder< T, TDesc, Base, IBuilder, Components >::each ( Func && func)
inline

Definition at line 46 of file node_builder.hpp.

◆ iter()

template<typename T , typename TDesc , typename Base , template< typename IBase, typename ... Components > class IBuilder, typename ... Components>
template<typename Func >
T flecs::_::node_builder< T, TDesc, Base, IBuilder, Components >::iter ( Func && func)
inline

Definition at line 37 of file node_builder.hpp.

◆ world_v()

template<typename T , typename TDesc , typename Base , template< typename IBase, typename ... Components > class IBuilder, typename ... Components>
flecs::world_t * flecs::_::node_builder< T, TDesc, Base, IBuilder, Components >::world_v ( )
inlineoverrideprotected

Definition at line 54 of file node_builder.hpp.

Member Data Documentation

◆ m_desc

template<typename T , typename TDesc , typename Base , template< typename IBase, typename ... Components > class IBuilder, typename ... Components>
TDesc flecs::_::node_builder< T, TDesc, Base, IBuilder, Components >::m_desc
protected

Definition at line 55 of file node_builder.hpp.

◆ m_instanced

template<typename T , typename TDesc , typename Base , template< typename IBase, typename ... Components > class IBuilder, typename ... Components>
bool flecs::_::node_builder< T, TDesc, Base, IBuilder, Components >::m_instanced
protected

Definition at line 57 of file node_builder.hpp.

◆ m_world

template<typename T , typename TDesc , typename Base , template< typename IBase, typename ... Components > class IBuilder, typename ... Components>
flecs::world_t* flecs::_::node_builder< T, TDesc, Base, IBuilder, Components >::m_world
protected

Definition at line 56 of file node_builder.hpp.


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