CommonLibSSE (powerof3)
REX::TSettingStore< T > Class Template Reference

#include <Setting.h>

Inheritance diagram for REX::TSettingStore< T >:
REX::ISettingStore REX::Singleton< T >

Public Member Functions

virtual void Init (const char *a_fileBase, const char *a_fileUser) override
 
virtual void Register (ISetting *a_setting) override
 
- Public Member Functions inherited from REX::ISettingStore
virtual void Load ()=0
 
virtual void Save ()=0
 

Protected Attributes

std::string_view m_fileBase
 
std::string_view m_fileUser
 
std::vector< ISetting * > m_settings
 

Additional Inherited Members

- Static Public Member Functions inherited from REX::Singleton< T >
static T * GetSingleton ()
 
- Protected Member Functions inherited from REX::Singleton< T >
 Singleton ()=default
 
 ~Singleton ()=default
 
 Singleton (const Singleton &)=delete
 
 Singleton (Singleton &&)=delete
 
Singletonoperator= (const Singleton &)=delete
 
Singletonoperator= (Singleton &&)=delete
 

Member Function Documentation

◆ Init()

template<class T >
virtual void REX::TSettingStore< T >::Init ( const char *  a_fileBase,
const char *  a_fileUser 
)
inlineoverridevirtual

Implements REX::ISettingStore.

◆ Register()

template<class T >
virtual void REX::TSettingStore< T >::Register ( ISetting a_setting)
inlineoverridevirtual

Implements REX::ISettingStore.

Member Data Documentation

◆ m_fileBase

template<class T >
std::string_view REX::TSettingStore< T >::m_fileBase
protected

◆ m_fileUser

template<class T >
std::string_view REX::TSettingStore< T >::m_fileUser
protected

◆ m_settings

template<class T >
std::vector<ISetting*> REX::TSettingStore< T >::m_settings
protected

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