Algorithms Library Toolkit
A toolkit for algorithms, especially for algorithms on formal languages
Public Member Functions | Static Public Member Functions
core::Components< Derived, ComponentType, ComponentCategory, ComponentName, Next ... > Class Template Reference

#include <components.hpp>

Inheritance diagram for core::Components< Derived, ComponentType, ComponentCategory, ComponentName, Next ... >:
[legend]
Collaboration diagram for core::Components< Derived, ComponentType, ComponentCategory, ComponentName, Next ... >:
[legend]

Public Member Functions

 Components ()=default
 
template<class ComponentValue , class ... NextValues>
 Components (ComponentValue param, NextValues ... nextParams)
 
- Public Member Functions inherited from core::Components< Derived, Next ... >
void accessComponent ()
 

Static Public Member Functions

static void registerComponent ()
 
static void unregisterComponent ()
 
- Static Public Member Functions inherited from core::Components< Derived, Next ... >
static void registerComponent ()
 
static void unregisterComponent ()
 

Detailed Description

template<class Derived, class ComponentType, class ComponentCategory, class ComponentName, class ... Next>
class core::Components< Derived, ComponentType, ComponentCategory, ComponentName, Next ... >

Auxiliary class allowing simple access to the alphabets.

Constructor & Destructor Documentation

◆ Components() [1/2]

template<class Derived , class ComponentType , class ComponentCategory , class ComponentName , class ... Next>
core::Components< Derived, ComponentType, ComponentCategory, ComponentName, Next ... >::Components ( )
default

Allow less initialization values then number of components. They need to allow to be defaulty constructed then.

◆ Components() [2/2]

template<class Derived , class ComponentType , class ComponentCategory , class ComponentName , class ... Next>
template<class ComponentValue , class ... NextValues>
core::Components< Derived, ComponentType, ComponentCategory, ComponentName, Next ... >::Components ( ComponentValue  param,
NextValues ...  nextParams 
)
inline

Construct an alphabet pack from two alphabets.

Member Function Documentation

◆ registerComponent()

template<class Derived , class ComponentType , class ComponentCategory , class ComponentName , class ... Next>
static void core::Components< Derived, ComponentType, ComponentCategory, ComponentName, Next ... >::registerComponent ( )
inlinestatic

Dispatcher for registration functions in subclasses.

Here is the call graph for this function:

◆ unregisterComponent()

template<class Derived , class ComponentType , class ComponentCategory , class ComponentName , class ... Next>
static void core::Components< Derived, ComponentType, ComponentCategory, ComponentName, Next ... >::unregisterComponent ( )
inlinestatic

Dispatcher for registration functions in subclasses.

Here is the call graph for this function:

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