Citlali
Loading...
Searching...
No Matches
Classes | Public Types | Public Member Functions | Private Types | Private Attributes | List of all members
ConfigMixin< Derived > Struct Template Reference

The mixin class for config handling. More...

Inheritance diagram for ConfigMixin< Derived >:
Inheritance graph
Collaboration diagram for ConfigMixin< Derived >:
Collaboration graph

Classes

struct  derived_has_validate_config
 

Public Types

using config_t = YamlConfig
 

Public Member Functions

 ConfigMixin ()=default
 
template<typename... Args>
 ConfigMixin (Args &&... args)
 
const config_tconfig ()
 
void set_config (config_t config, bool validate=true)
 

Private Types

using Self = ConfigMixin< Derived >
 

Private Attributes

config_t m_config
 

Detailed Description

template<typename Derived>
struct ConfigMixin< Derived >

The mixin class for config handling.

Member Typedef Documentation

◆ config_t

template<typename Derived >
using ConfigMixin< Derived >::config_t = YamlConfig

◆ Self

template<typename Derived >
using ConfigMixin< Derived >::Self = ConfigMixin<Derived>
private

Constructor & Destructor Documentation

◆ ConfigMixin() [1/2]

template<typename Derived >
ConfigMixin< Derived >::ConfigMixin ( )
default

◆ ConfigMixin() [2/2]

template<typename Derived >
template<typename... Args>
ConfigMixin< Derived >::ConfigMixin ( Args &&...  args)
inline
Here is the call graph for this function:

Member Function Documentation

◆ config()

template<typename Derived >
const config_t & ConfigMixin< Derived >::config ( )
inline
Here is the caller graph for this function:

◆ set_config()

template<typename Derived >
void ConfigMixin< Derived >::set_config ( config_t  config,
bool  validate = true 
)
inline
Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ m_config

template<typename Derived >
config_t ConfigMixin< Derived >::m_config
private

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