Algorithms Library Toolkit
A toolkit for algorithms, especially for algorithms on formal languages
Public Member Functions | Static Public Member Functions
core::Component< Derived, ComponentType, component::Set, ComponentName > Class Template Reference

#include <setComponents.hpp>

Inheritance diagram for core::Component< Derived, ComponentType, component::Set, ComponentName >:
[legend]
Collaboration diagram for core::Component< Derived, ComponentType, component::Set, ComponentName >:
[legend]

Public Member Functions

 Component (ComponentType data)
 
 Component ()=default
 
- Public Member Functions inherited from core::SetComponent< Derived, ComponentType, ComponentType::value_type, ComponentName >
 SetComponent (ComponentType data)
 
 SetComponent ()=default
 
bool add (ComponentType element)
 
Derived & add (ComponentType data)
 
Derived & set (ComponentType data)
 
ComponentType & get ()
 
const ComponentType & get () const
 
bool remove (const ComponentType &element)
 
Derived & remove (const ComponentType &data)
 
bool empty () const
 
const Component< Derived, ComponentType, component::Set, ComponentName > & accessComponent () const
 
accessComponent ()
 

Static Public Member Functions

static void registerComponent ()
 
static void unregisterComponent ()
 

Additional Inherited Members

- Protected Member Functions inherited from core::SetComponent< Derived, ComponentType, ComponentType::value_type, ComponentName >
void checkState ()
 

Constructor & Destructor Documentation

◆ Component() [1/2]

template<class Derived , class ComponentType , class ComponentName >
core::Component< Derived, ComponentType, component::Set, ComponentName >::Component ( ComponentType  data)
inline

Allow value construction of this component.

◆ Component() [2/2]

template<class Derived , class ComponentType , class ComponentName >
core::Component< Derived, ComponentType, component::Set, ComponentName >::Component ( )
default

Allow default construction of this component.

Member Function Documentation

◆ registerComponent()

template<class Derived , class ComponentType , class ComponentName >
static void core::Component< Derived, ComponentType, component::Set, ComponentName >::registerComponent ( )
inlinestatic

Register this component's accessors to abstraction

◆ unregisterComponent()

template<class Derived , class ComponentType , class ComponentName >
static void core::Component< Derived, ComponentType, component::Set, ComponentName >::unregisterComponent ( )
inlinestatic

Register this component's accessors to abstraction


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