Easy Navigation
Loading...
Searching...
No Matches
ParameterFreezer Class Reference

Rejects any change to the parameters of a set of nodes. More...

#include <ParameterFreezer.hpp>

Public Member Functions

void accept_new_parameters (bool accept)
 Whether parameters not frozen yet may be declared (on by default).
void freeze (const Nodes &nodes)
 Freezes the current values of nodes. Called again, refreezes them.
bool is_frozen () const
 Whether anything was frozen.

Detailed Description

Rejects any change to the parameters of a set of nodes.

Setting the value a parameter already has is accepted. A parameter not frozen yet can only be declared while accept_new_parameters() is on (e.g. while EasyNav configures).

Member Function Documentation

◆ accept_new_parameters()

void accept_new_parameters ( bool accept)

Whether parameters not frozen yet may be declared (on by default).

◆ freeze()

void freeze ( const Nodes & nodes)

Freezes the current values of nodes. Called again, refreezes them.

◆ is_frozen()

bool is_frozen ( ) const
nodiscard

Whether anything was frozen.


The documentation for this class was generated from the following files: