YggdrasilWM  0.1.1
A tiny window manager coded in C++
ConfigDataBase Class Referenceabstract

ConfigDataBase class This class is an interface for the ConfigData classes This is a pure virtual class and should be inherited by the ConfigData classes. More...

#include <ConfigDataBase.hpp>

Inheritance diagram for ConfigDataBase:
Inheritance graph
Collaboration diagram for ConfigDataBase:
Collaboration graph

Public Member Functions

 ConfigDataBase ()=default
 
virtual ~ConfigDataBase ()=default
 
virtual void configInit (const Json::Value &root_)=0
 Initialize the configuration. More...
 
virtual Json::Value configSave ()=0
 Build a Json::Value object with the configuration. More...
 

Detailed Description

ConfigDataBase class This class is an interface for the ConfigData classes This is a pure virtual class and should be inherited by the ConfigData classes.

Constructor & Destructor Documentation

◆ ConfigDataBase()

ConfigDataBase::ConfigDataBase ( )
default

◆ ~ConfigDataBase()

virtual ConfigDataBase::~ConfigDataBase ( )
virtualdefault

Member Function Documentation

◆ configInit()

void ConfigDataBase::configInit ( const Json::Value &  root_)
pure virtual

Initialize the configuration.

Parameters
root_

Implemented in ConfigDataBindings, ConfigDataBars, ConfigDataWidget, ConfigDataGroups, ConfigDataGroup, and ConfigDataBar.

◆ configSave()

Json::Value ConfigDataBase::configSave ( )
pure virtual

Build a Json::Value object with the configuration.

Returns
Json::Value Object with the current runtime configuration

Implemented in ConfigDataWidget, ConfigDataGroups, ConfigDataGroup, ConfigDataBindings, ConfigDataBars, and ConfigDataBar.


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