MimIR 0.1
MimIR is my Intermediate Representation
Loading...
Searching...
No Matches
mim::World::Freezer Struct Reference

Use to World::freeze and automatically unfreeze at the end of scope. More...

#include <mim/world.h>

Public Member Functions

 Freezer (const World &world)
 
 ~Freezer ()
 

Public Attributes

const Worldworld
 
bool old
 

Detailed Description

Use to World::freeze and automatically unfreeze at the end of scope.

Definition at line 140 of file world.h.

Constructor & Destructor Documentation

◆ Freezer()

mim::World::Freezer::Freezer ( const World & world)
inline

Definition at line 141 of file world.h.

◆ ~Freezer()

mim::World::Freezer::~Freezer ( )
inline

Definition at line 144 of file world.h.

References mim::World::freeze(), old, and world.

Member Data Documentation

◆ old

bool mim::World::Freezer::old

Definition at line 147 of file world.h.

Referenced by ~Freezer().

◆ world

const World& mim::World::Freezer::world

Definition at line 146 of file world.h.

Referenced by ~Freezer().


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