Minetest 5.9.0-dev
 
Loading...
Searching...
No Matches
SettingsHierarchy Class Reference

#include <settings.h>

+ Collaboration diagram for SettingsHierarchy:

Public Member Functions

 SettingsHierarchy (Settings *fallback=nullptr)
 
SettingsgetLayer (int layer) const
 

Private Member Functions

SettingsgetParent (int layer) const
 
void onLayerCreated (int layer, Settings *obj)
 
void onLayerRemoved (int layer)
 

Private Attributes

std::vector< Settings * > layers
 

Friends

class Settings
 

Constructor & Destructor Documentation

◆ SettingsHierarchy()

SettingsHierarchy::SettingsHierarchy ( Settings fallback = nullptr)

References layers.

Member Function Documentation

◆ getLayer()

Settings * SettingsHierarchy::getLayer ( int  layer) const

References layers.

Referenced by Settings::getLayer().

+ Here is the caller graph for this function:

◆ getParent()

Settings * SettingsHierarchy::getParent ( int  layer) const
private

References layers.

Referenced by Settings::getParent().

+ Here is the caller graph for this function:

◆ onLayerCreated()

void SettingsHierarchy::onLayerCreated ( int  layer,
Settings obj 
)
private

References g_hierarchy, g_settings, itos(), layers, and SL_GLOBAL.

Referenced by Settings::Settings().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ onLayerRemoved()

void SettingsHierarchy::onLayerRemoved ( int  layer)
private

References g_hierarchy, g_settings, layers, and SL_GLOBAL.

Referenced by Settings::~Settings().

+ Here is the caller graph for this function:

Friends And Related Function Documentation

◆ Settings

friend class Settings
friend

Member Data Documentation

◆ layers

std::vector<Settings*> SettingsHierarchy::layers
private

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