Otclient  14/8/2020
ConfigManager Class Reference

#include <configmanager.h>

Collaboration diagram for ConfigManager:

Public Member Functions

void init ()
 
void terminate ()
 
ConfigPtr getSettings ()
 
ConfigPtr get (const std::string &file)
 
ConfigPtr create (const std::string &file)
 
ConfigPtr loadSettings (const std::string file)
 
ConfigPtr load (const std::string &file)
 
bool unload (const std::string &file)
 
void remove (const ConfigPtr config)
 

Protected Attributes

ConfigPtr m_settings
 

Detailed Description

Definition at line 29 of file configmanager.h.

Member Function Documentation

◆ create()

ConfigPtr ConfigManager::create ( const std::string &  file)

Definition at line 78 of file configmanager.cpp.

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

◆ get()

ConfigPtr ConfigManager::get ( const std::string &  file)

Definition at line 55 of file configmanager.cpp.

Here is the caller graph for this function:

◆ getSettings()

ConfigPtr ConfigManager::getSettings ( )

Definition at line 50 of file configmanager.cpp.

Here is the caller graph for this function:

◆ init()

void ConfigManager::init ( )

Definition at line 27 of file configmanager.cpp.

Here is the caller graph for this function:

◆ load()

ConfigPtr ConfigManager::load ( const std::string &  file)

Definition at line 92 of file configmanager.cpp.

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

◆ loadSettings()

ConfigPtr ConfigManager::loadSettings ( const std::string  file)

Definition at line 65 of file configmanager.cpp.

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

◆ remove()

void ConfigManager::remove ( const ConfigPtr  config)

Definition at line 127 of file configmanager.cpp.

Here is the caller graph for this function:

◆ terminate()

void ConfigManager::terminate ( )

Definition at line 32 of file configmanager.cpp.

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

◆ unload()

bool ConfigManager::unload ( const std::string &  file)

Definition at line 115 of file configmanager.cpp.

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

Member Data Documentation

◆ m_settings

ConfigPtr ConfigManager::m_settings
protected

Definition at line 46 of file configmanager.h.


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