Scanframe Modular Application 0.1.0
Loading...
Searching...
No Matches
sf::ConfigStore::Scope Struct Reference

Begins and ends a scope of settings for a section. When create it calls beginGroup(...) and when out of scop it calls endGroup(). More...

#include <ConfigStore.h>

Collaboration diagram for sf::ConfigStore::Scope:

Public Member Functions

 Scope (ConfigStore &cs, QAnyStringView section)
 Constructor passing a section of the scope.
 
 ~Scope ()
 Destructor.
 
QSettings & settings ()
 Gets the settings instance with the section/group set.
 

Public Attributes

ConfigStore_configStore
 Holds the reference to the associated ConfigStore instance.
 

Detailed Description

Begins and ends a scope of settings for a section. When create it calls beginGroup(...) and when out of scop it calls endGroup().

Constructor & Destructor Documentation

◆ Scope()

sf::ConfigStore::Scope::Scope ( ConfigStore cs,
QAnyStringView  section 
)
explicit

Constructor passing a section of the scope.

Parameters
csConfig store it operates on.
sectionWhen empty '{}' the default section is used.
Begins and ends a scope of settings for a section. When create it calls beginGroup(....
Definition ConfigStore.h:267
QSettings & settings()
Gets the settings instance with the section/group set.

◆ ~Scope()

sf::ConfigStore::Scope::~Scope ( )

Destructor.

Member Function Documentation

◆ settings()

QSettings & sf::ConfigStore::Scope::settings ( )

Gets the settings instance with the section/group set.

Member Data Documentation

◆ _configStore

ConfigStore& sf::ConfigStore::Scope::_configStore

Holds the reference to the associated ConfigStore instance.


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