Flecs v3.2
A fast entity component system (ECS) for C & C++
Loading...
Searching...
No Matches
flecs::snapshot Struct Referencefinal

Public Member Functions

 snapshot (const world &world)
 
 snapshot (const snapshot &obj)
 
 snapshot (snapshot &&obj) noexcept
 
snapshotoperator= (const snapshot &obj)
 
snapshotoperator= (snapshot &&obj) noexcept
 
void take ()
 
template<typename F >
void take (const F &f)
 
void restore ()
 
snapshot_t * c_ptr () const
 

Detailed Description

Definition at line 10 of file impl.hpp.

Constructor & Destructor Documentation

◆ snapshot() [1/3]

flecs::snapshot::snapshot ( const world & world)
inlineexplicit

Definition at line 11 of file impl.hpp.

◆ snapshot() [2/3]

flecs::snapshot::snapshot ( const snapshot & obj)
inline

Definition at line 15 of file impl.hpp.

◆ snapshot() [3/3]

flecs::snapshot::snapshot ( snapshot && obj)
inlinenoexcept

Definition at line 22 of file impl.hpp.

◆ ~snapshot()

flecs::snapshot::~snapshot ( )
inline

Definition at line 69 of file impl.hpp.

Member Function Documentation

◆ c_ptr()

snapshot_t * flecs::snapshot::c_ptr ( ) const
inline

Definition at line 75 of file impl.hpp.

◆ operator=() [1/2]

snapshot & flecs::snapshot::operator= ( const snapshot & obj)
inline

Definition at line 29 of file impl.hpp.

◆ operator=() [2/2]

snapshot & flecs::snapshot::operator= ( snapshot && obj)
inlinenoexcept

Definition at line 36 of file impl.hpp.

◆ restore()

void flecs::snapshot::restore ( )
inline

Definition at line 62 of file impl.hpp.

◆ take() [1/2]

void flecs::snapshot::take ( )
inline

Definition at line 43 of file impl.hpp.

◆ take() [2/2]

template<typename F >
void flecs::snapshot::take ( const F & f)
inline

Definition at line 52 of file impl.hpp.


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